8000 removed kwargs in calcparams_desoto, calcparams_cec, and sapm by MichaelHopwood · Pull Request #1222 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

removed kwargs in calcparams_desoto, calcparams_cec, and sapm #1222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 12, 2021
Merged
Changes from 1 commit
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
Next Next commit
removed kwargs in calcparams_desoto, calcparams_cec, and sapm
  • Loading branch information
Hopwood committed May 7, 2021
commit 125e06ab5c98e38564674f3f7857cdf7a6316b87
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
0