File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Filter options
docs/sphinx/source/user_guide Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ def setup(self, base_params, nsamples):
28
28
self .io = 10 ** (- 9 + 3. * rng (nsamples )) # 1e-9 to 1e-6 A
29
29
self .rs = 5 * rng (nsamples ) + 0.05 # 0.05 to 5.05 Ohm
30
30
self .rsh = 10 ** (2 + 2 * rng (nsamples )) # 100 to 10000 Ohm
31
- self .n = 1 + 0.7 * rng (nsamples ) # 1.0 to 1.7
32
- self .nNsVth = 72 * self .n * 0.025 # 72 cells in series, roughly 25C Tcell
31
+ self .n = 1 + 0.7 * rng (nsamples ) # 1.0 to 1.7
32
+ # 72 cells in series, roughly 25C Tcell
33
+ self .nNsVth = 72 * self .n * 0.025
33
34
self .params = (self .il , self .io , self .rs , self .rsh , self .nNsVth )
34
35
35
36
def bishop88 (self ):
Original file line number Diff line number Diff line change 25
25
* :math: `n` is the diode (ideality) factor (unitless)
26
26
* :math: `Ns` is the number of cells in series. Cells are assumed to be identical.
27
27
* :math: `V_{th}` is the thermal voltage at each cell's junction, given by :math: `V_{th} = \frac {k}{q} T_K`,
28
- where :math: `k` is the Boltzmann constant (J/K), :math: `q` is the elementary charge (Couloumb) and :math: `T_k`
29
- is the cell temperature in K.
28
+ where :math: `k` is the Boltzmann constant (J/K), :math: `q` is the elementary charge (Couloumb) and :math: `T_k`
29
+ is the cell temperature in K.
30
30
31
31
32
32
pvlib-python supports two ways to solve the single diode equation:
@@ -98,20 +98,17 @@ Differentiating :math:`V = V(I)` with respect to current, and applying the ident
98
98
99
99
.. math ::
100
100
101
- \frac {dV}{dI}\Bigr |_{I=I_{mp}} = -\left (R_s + \frac {R_{sh}}{1 + W\left ( psi \right )} \right )\Bigr |_{I=I_{mp}}
101
+ \frac {dV}{dI}\Bigr |_{I=I_{mp}} = -\left (R_s + \frac {R_{sh}}{1 + W\left ( \ psi \right )} \right )\Bigr |_{I=I_{mp}}
102
102
103
103
Combining the two expressions for :math: `\frac {dV}{dI}\Bigr |_{I=I_{mp}}` and rearranging yields
104
104
105
105
.. math ::
106
106
107
- \frac {\left (I_L + I_0 - I\right ) R_sh - I R_s - n Ns V_th W\left ( \psi \right )}{R_s + \frac {R_{sh}}{1 + W\left ( psi \right )}}\Bigr |_{I=I_{mp}} - I_{mp} = 0 .
107
+ \frac {\left (I_L + I_0 - I\right ) R_{sh} - I R_s - n Ns V_th W\left ( \psi \right )}{R_s + \frac {R_{sh}}{1 + W\left ( \ psi \right )}}\Bigr |_{I=I_{mp}} - I_{mp} = 0 .
108
108
109
109
The above equation is solved for :math: `I_{mp}` using Newton's method, and then :math: `V_{mp} = V \left ( I_{mp} \right )` is computed.
110
110
111
111
112
- `Wikipedia: Theory of Solar Cells
113
- <https://en.wikipedia.org/wiki/Theory_of_solar_cells> `_,
114
-
115
112
Bishop's Algorithm
116
113
------------------
117
114
The function :func: `pvlib.singlediode.bishop88 ` uses an explicit solution [4]
You can’t perform that action at this time.
0 commit comments