Skip to content

Clarify which SAPM parameters are required by module in pvsystem.sapm #2435

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 11 commits into from
Apr 23, 2025
2 changes: 2 additions & 0 deletions docs/sphinx/source/whatsnew/v0.12.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Documentation
* Add a supporting reference to :py:func:`pvlib.atmosphere.get_relative_airmass` (:issue:`2390`, :pull:`2424`)
* Documented how `np.nan` values are handled by :py:func:`~pvlib.spectrum.average_photon_energy`
(:issue:`2423`, :pull:`2426`)
* Clarify which SAPM coefficients are required by the `module` parameter in
`:py:func:`~pvlib.pvsystem.sapm` (:issue:`2392`, :pull:`2435`)

Testing
~~~~~~~
Expand Down
8 changes: 4 additions & 4 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -2230,12 +2230,12 @@ def sapm(effective_irradiance, temp_cell, module):

Notes
-----
The SAPM parameters which are required in ``module`` are
listed in the following table.

The Sandia module database contains parameter values for a limited set
of modules. The CEC module database does not contain these parameters.
Both databases can be accessed using :py:func:`retrieve_sam`.
Both databases can be accessed using :py:func:`retrieve_sam`. The full list
of SAPM parameters is presented in the table below. Those that are required
in ``module`` are: `Bvmpo`, `Mbvmp`, `Bvoco`, `Mbvoc`, `N`, and
`Cells_in_Series`.

================ ========================================================
Key Description
Expand Down