Skip to content

Commit 662a147

Browse files
committed
fix typos in sapm_celltemp
Also double checked the coefficients with the king paper.
1 parent cc6a962 commit 662a147

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

pvlib/pvsystem.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -667,49 +667,49 @@ def sapm(Module, Eb, Ediff, Tcell, AM, AOI):
667667
def sapm_celltemp(irrad, wind, temp, model='open_rack_cell_glassback'):
668668
'''
669669
Estimate cell and module temperatures per the Sandia PV Array
670-
Performance model (SAPM, SAND2004-3535), when given the incident
670+
Performance Model (SAPM, SAND2004-3535), from the incident
671671
irradiance, wind speed, ambient temperature, and SAPM module
672672
parameters.
673673
674674
Parameters
675675
----------
676-
irrad : float or DataFrame
676+
irrad : float or Series
677677
Total incident irradiance in W/m^2.
678678
679-
wind : float or DataFrame
679+
wind : float or Series
680680
Wind speed in m/s at a height of 10 meters.
681681
682-
temp : float or DataFrame
682+
temp : float or Series
683683
Ambient dry bulb temperature in degrees C.
684684
685685
model : string or list
686686
Model to be used.
687687
688688
If string, can be:
689689
690-
* 'Open_rack_cell_glassback' (DEFAULT)
691-
* 'Roof_mount_cell_glassback'
692-
* 'Open_rack_cell_polymerback'
693-
* 'Insulated_back_polumerback'
694-
* 'Open_rack_Polymer_thinfilm_steel'
695-
* '22X_Concentrator_tracker'
690+
* 'open_rack_cell_glassback' (default)
691+
* 'roof_mount_cell_glassback'
692+
* 'open_rack_cell_polymerback'
693+
* 'insulated_back_polymerback'
694+
* 'open_rack_polymer_thinfilm_steel'
695+
* '22x_concentrator_tracker'
696696
697697
If list, supply the following parameters in the following order:
698698
699699
* a : float
700-
SAPM module parameter for establishing the upper limit for module
701-
temperature at low wind speeds and high solar irradiance (see SAPM
702-
eqn. 11).
700+
SAPM module parameter for establishing the upper
701+
limit for module temperature at low wind speeds and
702+
high solar irradiance.
703703
704704
* b : float
705-
SAPM module parameter for establishing the rate at which the module
706-
temperature drops as wind speed increases (see SAPM eqn. 11). Must be
707-
a scalar.
705+
SAPM module parameter for establishing the rate at
706+
which the module temperature drops as wind speed increases
707+
(see SAPM eqn. 11).
708708
709709
* deltaT : float
710710
SAPM module parameter giving the temperature difference
711-
between the cell and module back surface at the reference irradiance,
712-
E0.
711+
between the cell and module back surface at the
712+
reference irradiance, E0.
713713
714714
Returns
715715
--------
@@ -725,12 +725,12 @@ def sapm_celltemp(irrad, wind, temp, model='open_rack_cell_glassback'):
725725
sapm
726726
'''
727727

728-
temp_models = {'open_rack_cell_glassback':[-3.47, -.0594, 3],
729-
'roof_mount_cell_glassback':[-2.98, -.0471, 1],
728+
temp_models = {'open_rack_cell_glassback': [-3.47, -.0594, 3],
729+
'roof_mount_cell_glassback': [-2.98, -.0471, 1],
730730
'open_rack_cell_polymerback': [-3.56, -.0750, 3],
731-
'insulated_back_polumerback': [-2.81, -.0455, 0 ],
732-
'open_rack_polymer_thinfilm_steel':[-3.58, -.113, 3],
733-
'22x_concentrator_tracker':[-3.23, -.130, 13]
731+
'insulated_back_polymerback': [-2.81, -.0455, 0],
732+
'open_rack_polymer_thinfilm_steel': [-3.58, -.113, 3],
733+
'22x_concentrator_tracker': [-3.23, -.130, 13]
734734
}
735735

736736
if isinstance(model, str):

0 commit comments

Comments
 (0)