Skip to content

Commit 9238ab1

Browse files
cwhansekandersolar
andauthored
Apply suggestions from code review
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
1 parent 166d55f commit 9238ab1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/pvsystem.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ def get_iam(self, aoi, iam_model='physical'):
12151215
raise ValueError(model + ' is not a valid IAM model')
12161216

12171217
def get_cell_temperature(self, poa_global, temp_air, wind_speed, model,
1218-
effective_irradiance=None, ir_down=None):
1218+
effective_irradiance=None, longwave_down=None):
12191219
"""
12201220
Determine cell temperature using the method specified by ``model``.
12211221
@@ -1240,7 +1240,7 @@ def get_cell_temperature(self, poa_global, temp_air, wind_speed, model,
12401240
The irradiance that is converted to photocurrent in W/m^2.
12411241
Only used for some models.
12421242
1243-
ir_down: numeric, optional
1243+
longwave_down: numeric, optional
12441244
Downwelling infrared radiation from the sky, measured on a
12451245
horizontal surface in W/m^2. Only used in ``'faiman_rad'`` model.
12461246
@@ -1287,7 +1287,7 @@ def get_cell_temperature(self, poa_global, temp_air, wind_speed, model,
12871287
self.temperature_model_parameters)
12881288
elif model == 'faiman_rad':
12891289
func = functools.partial(temperature.faiman_rad,
1290-
ir_down=ir_down)
1290+
ir_down=longwave_down)
12911291
required = ()
12921292
optional = _build_kwargs(['u0', 'u1',
12931293
'sky_view', 'emissivity'],

0 commit comments

Comments
 (0)