diff --git a/docs/sphinx/source/whatsnew/v0.9.0.rst b/docs/sphinx/source/whatsnew/v0.9.0.rst index 65af5620d0..bb5704375e 100644 --- a/docs/sphinx/source/whatsnew/v0.9.0.rst +++ b/docs/sphinx/source/whatsnew/v0.9.0.rst @@ -45,6 +45,10 @@ Breaking changes ``surface_azimuth`` are now required parameters for :py:func:`pvlib.modelchain.basic_chain` (:issue:`1028`, :pull:`1181`) +* Removed the ``**kwargs`` parameters from :py:meth:`~pvlib.pvsystem.PVSystem.sapm` and + :py:meth:`~pvlib.pvsystem.PVSystem.calcparams_desoto` and + :py:meth:`~pvlib.pvsystem.PVSystem.calcparams_cec` (:issue:`1118`, :pull:`1222`) + Deprecations ~~~~~~~~~~~~ diff --git a/pvlib/pvsystem.py b/pvlib/pvsystem.py index f6901617c3..a7dafbc701 100644 --- a/pvlib/pvsystem.py +++ b/pvlib/pvsystem.py @@ -379,7 +379,7 @@ def get_iam(self, aoi, iam_model='physical'): for array, aoi in zip(self.arrays, aoi)) @_unwrap_single_value - def calcparams_desoto(self, effective_irradiance, temp_cell, **kwargs): + def calcparams_desoto(self, effective_irradiance, temp_cell): """ Use the :py:func:`calcparams_desoto` function, the input parameters and ``self.module_parameters`` to calculate the @@ -393,9 +393,6 @@ def calcparams_desoto(self, effective_irradiance, temp_cell, **kwargs): temp_cell : float or Series or tuple of float or Series The average cell temperature of cells within a module in C. - **kwargs - See pvsystem.calcparams_desoto for details - Returns ------- See pvsystem.calcparams_desoto for details @@ -420,7 +417,7 @@ def calcparams_desoto(self, effective_irradiance, temp_cell, **kwargs): ) @_unwrap_single_value - def calcparams_cec(self, effective_irradiance, temp_cell, **kwargs): + def calcparams_cec(self, effective_irradiance, temp_cell): """ Use the :py:func:`calcparams_cec` function, the input parameters and ``self.module_parameters`` to calculate the @@ -434,9 +431,6 @@ def calcparams_cec(self, effective_irradiance, temp_cell, **kwargs): temp_cell : float or Series or tuple of float or Series The average cell temperature of cells within a module in C. - **kwargs - See pvsystem.calcparams_cec for details - Returns ------- See pvsystem.calcparams_cec for details @@ -501,7 +495,7 @@ def calcparams_pvsyst(self, effective_irradiance, temp_cell): ) @_unwrap_single_value - def sapm(self, effective_irradiance, temp_cell, **kwargs): + def sapm(self, effective_irradiance, temp_cell): """ Use the :py:func:`sapm` function, the input parameters, and ``self.module_parameters`` to calculate @@ -515,9 +509,6 @@ def sapm(self, effective_irradiance, temp_cell, **kwargs): temp_cell : float or Series or tuple of float or Series The average cell temperature of cells within a module in C. - kwargs - See pvsystem.sapm for details - Returns ------- See pvsystem.sapm for details