@@ -839,23 +839,23 @@ def scale_voltage_current_power(self, data):
839839 )
840840
841841 @_unwrap_single_value
842- def pvwatts_dc (self , g_poa_effective , temp_cell ):
842+ def pvwatts_dc (self , effective_irradiance , temp_cell ):
843843 """
844844 Calculates DC power according to the PVWatts model using
845845 :py:func:`pvlib.pvsystem.pvwatts_dc`, `self.module_parameters['pdc0']`,
846846 and `self.module_parameters['gamma_pdc']`.
847847
848848 See :py:func:`pvlib.pvsystem.pvwatts_dc` for details.
849849 """
850- g_poa_effective = self ._validate_per_array (g_poa_effective )
850+ effective_irradiance = self ._validate_per_array (effective_irradiance )
851851 temp_cell = self ._validate_per_array (temp_cell )
852852 return tuple (
853- pvwatts_dc (g_poa_effective , temp_cell ,
853+ pvwatts_dc (effective_irradiance , temp_cell ,
854854 array .module_parameters ['pdc0' ],
855855 array .module_parameters ['gamma_pdc' ],
856856 ** _build_kwargs (['temp_ref' ], array .module_parameters ))
857- for array , g_poa_effective , temp_cell
858- in zip (self .arrays , g_poa_effective , temp_cell )
857+ for array , effective_irradiance , temp_cell
858+ in zip (self .arrays , effective_irradiance , temp_cell )
859859 )
860860
861861 def pvwatts_losses (self ):
@@ -2764,7 +2764,7 @@ def scale_voltage_current_power(data, voltage=1, current=1):
27642764 return df_sorted
27652765
27662766
2767- def pvwatts_dc (g_poa_effective , temp_cell , pdc0 , gamma_pdc , temp_ref = 25. ):
2767+ def pvwatts_dc (effective_irradiance , temp_cell , pdc0 , gamma_pdc , temp_ref = 25. ):
27682768 r"""
27692769 Implements NREL's PVWatts DC power model. The PVWatts DC model [1]_ is:
27702770
@@ -2780,7 +2780,7 @@ def pvwatts_dc(g_poa_effective, temp_cell, pdc0, gamma_pdc, temp_ref=25.):
27802780
27812781 Parameters
27822782 ----------
2783- g_poa_effective : numeric
2783+ effective_irradiance : numeric
27842784 Irradiance transmitted to the PV cells. To be
27852785 fully consistent with PVWatts, the user must have already
27862786 applied angle of incidence losses, but not soiling, spectral,
@@ -2808,7 +2808,7 @@ def pvwatts_dc(g_poa_effective, temp_cell, pdc0, gamma_pdc, temp_ref=25.):
28082808 (2014).
28092809 """ # noqa: E501
28102810
2811- pdc = (g_poa_effective * 0.001 * pdc0 *
2811+ pdc = (effective_irradiance * 0.001 * pdc0 *
28122812 (1 + gamma_pdc * (temp_cell - temp_ref )))
28132813
28142814 return pdc
0 commit comments