Skip to content

Commit 166d55f

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pvlib/pvsystem.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def get_iam(self, aoi, iam_model='physical'):
414414

415415
@_unwrap_single_value
416416
def get_cell_temperature(self, poa_global, temp_air, wind_speed, model,
417-
effective_irradiance=None, ir_down=None):
417+
effective_irradiance=None, longwave_down=None):
418418
"""
419419
Determine cell temperature using the method specified by ``model``.
420420
@@ -438,7 +438,7 @@ def get_cell_temperature(self, poa_global, temp_air, wind_speed, model,
438438
The irradiance that is converted to photocurrent in W/m^2.
439439
Only used for some models.
440440
441-
ir_down: numeric or tuple of numeric, optional
441+
longwave_down: numeric or tuple of numeric, optional
442442
Downwelling infrared radiation from the sky, measured on a
443443
horizontal surface in W/m^2. Only used in ``'faiman_rad'`` model.
444444
@@ -464,7 +464,7 @@ def get_cell_temperature(self, poa_global, temp_air, wind_speed, model,
464464
# Not used for all models, but Array.get_cell_temperature handles it
465465
effective_irradiance = self._validate_per_array(effective_irradiance,
466466
system_wide=True)
467-
ir_down = self._validate_per_array(ir_down, system_wide=True)
467+
longwave_down= self._validate_per_array(longwave_down, system_wide=True)
468468

469469
return tuple(
470470
array.get_cell_temperature(poa_global, temp_air, wind_speed,

0 commit comments

Comments
 (0)