Skip to content

Commit 9dc23d3

Browse files
committed
add terms to docs
1 parent a564b32 commit 9dc23d3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pvlib/pvsystem.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ def sapm(effective_irradiance, temp_cell, module, reference_temperature = 25,
22062206
----------
22072207
effective_irradiance : numeric
22082208
Irradiance reaching the module's cells, after reflections and
2209-
adjustment for spectrum. [W/m2]
2209+
adjustment for spectrum. [Wm⁻²]
22102210
22112211
temp_cell : numeric
22122212
Cell temperature [C].
@@ -2215,6 +2215,12 @@ def sapm(effective_irradiance, temp_cell, module, reference_temperature = 25,
22152215
A dict or Series defining the SAPM parameters. See the notes section
22162216
for more details.
22172217
2218+
reference_temperature : numeric, optional
2219+
Reference temperature [C]
2220+
2221+
reference_irradiance : numeric, optional
2222+
Reference irradiance [Wm⁻²]
2223+
22182224
Returns
22192225
-------
22202226
A DataFrame with the columns:
@@ -2312,7 +2318,8 @@ def sapm(effective_irradiance, temp_cell, module, reference_temperature = 25,
23122318
out = OrderedDict()
23132319

23142320
out['i_sc'] = (
2315-
module['Isco'] * Ee * (1 + module['Aisc']*(temp_cell - reference_temperature)))
2321+
module['Isco'] * Ee * (1 + module['Aisc']*(temp_cell -
2322+
reference_temperature)))
23162323

23172324
out['i_mp'] = (
23182325
module['Impo'] * (module['C0']*Ee + module['C1']*(Ee**2)) *

0 commit comments

Comments
 (0)