Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/sphinx/source/whatsnew/v0.9.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ Bug fixes
* Update GFS product names for GFS v16. (:issue:`1202`, :pull:`1203`)
* Corrected methodology error in :py:func:`~pvlib.scaling.wvm`. Tracks with
fix in PVLib for MATLAB. (:issue:`1206`, :pull:`1213`)
* Removed the **kwargs parameters from :py:meth:`~pvlib.pvsystem.sapm` and
:py:meth:`~pvlib.pvsystem.calcparams_desoto` and
:py:meth:`~pvlib.pvsystem.calcparams_cec` (:issue:`1118`, :pull:`1222`)

Testing
~~~~~~~
Expand Down
15 changes: 3 additions & 12 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down