31
31
# 'cell_temperature' overrides ModelChain.temperature_model and sets
32
32
# ModelChain.cell_temperature to the data. If 'module_temperature' is provided,
33
33
# overrides ModelChain.temperature_model with
34
- # pvlib.temperature.sapm_celL_from_module
34
+ # pvlib.temperature.sapm_cell_from_module
35
35
TEMPERATURE_KEYS = ('module_temperature' , 'cell_temperature' )
36
36
37
37
DATA_KEYS = WEATHER_KEYS + POA_KEYS + TEMPERATURE_KEYS
46
46
# for Flat-Plate Photovoltaic Arrays. SAND85-0330. Albuquerque, NM:
47
47
# Sandia National Laboratories. Accessed September 3, 2013:
48
48
# http://prod.sandia.gov/techlib/access-control.cgi/1985/850330.pdf
49
- # pvlib python does not implement that model, so use the SAPM instead.
49
+ # pvlib- python does not implement that model, so it uses the SAPM instead.
50
50
PVWATTS_CONFIG = dict (
51
51
dc_model = 'pvwatts' , ac_model = 'pvwatts' , losses_model = 'pvwatts' ,
52
52
transposition_model = 'perez' , aoi_model = 'physical' ,
@@ -84,7 +84,7 @@ def get_orientation(strategy, **kwargs):
84
84
surface_tilt = 0
85
85
else :
86
86
raise ValueError ('invalid orientation strategy. strategy must '
87
- 'be one of south_at_latitude , flat,' )
87
+ 'be one of south_at_latitude_tilt , flat,' )
88
88
89
89
return surface_tilt , surface_azimuth
90
90
@@ -162,8 +162,8 @@ class ModelChainResult:
162
162
# per DC array information
163
163
total_irrad : Optional [PerArray [pd .DataFrame ]] = field (default = None )
164
164
""" DataFrame (or tuple of DataFrame, one for each array) containing
165
- columns ``'poa_global'``, ``'poa_direct'`` ``'poa_diffuse'``,
166
- ``poa_sky_diffuse'``, ``'poa_ground_diffuse'`` (W/m2 ); see
165
+ columns ``'poa_global'``, ``'poa_direct'``, ``'poa_diffuse'``,
166
+ ``poa_sky_diffuse'``, and ``'poa_ground_diffuse'`` (Wm⁻² ); see
167
167
:py:func:`~pvlib.irradiance.get_total_irradiance` for details.
168
168
"""
169
169
@@ -190,12 +190,12 @@ class ModelChainResult:
190
190
191
191
cell_temperature : Optional [PerArray [pd .Series ]] = field (default = None )
192
192
"""Series (or tuple of Series, one for each array) containing cell
193
- temperature (C).
193
+ temperature (° C).
194
194
"""
195
195
196
196
effective_irradiance : Optional [PerArray [pd .Series ]] = field (default = None )
197
197
"""Series (or tuple of Series, one for each array) containing effective
198
- irradiance (W/m2 ) which is total plane-of-array irradiance adjusted for
198
+ irradiance (Wm⁻² ) which is total plane-of-array irradiance adjusted for
199
199
reflections and spectral content.
200
200
"""
201
201
@@ -215,12 +215,12 @@ class ModelChainResult:
215
215
216
216
dc_ohmic_losses : Optional [PerArray [pd .Series ]] = field (default = None )
217
217
"""Series (or tuple of Series, one for each array) containing DC ohmic
218
- loss (W) calculated by ``ModelChain.dc_ohmic_model``.
218
+ losses (W) calculated by ``ModelChain.dc_ohmic_model``.
219
219
"""
220
220
221
221
# copies of input data, for user convenience
222
222
weather : Optional [PerArray [pd .DataFrame ]] = None
223
- """DataFrame (or tuple of DataFrame, one for each array) contains a
223
+ """DataFrame (or tuple of DataFrame, one for each array) containing a
224
224
copy of the input weather data.
225
225
"""
226
226
@@ -806,7 +806,7 @@ def infer_aoi_model(self):
806
806
'system.arrays[i].module_parameters. Check that '
807
807
'the module_parameters for all Arrays in '
808
808
'system.arrays contain parameters for the '
809
- 'physical, aoi , ashrae, martin_ruiz or interp '
809
+ 'physical, sapm , ashrae, martin_ruiz or interp '
810
810
'model; explicitly set the model with the '
811
811
'aoi_model kwarg; or set aoi_model="no_loss".' )
812
812
0 commit comments