You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SAPM function uses Aisc (temperature coefficient for Isc) in the equation for Ixx, where it should be Aimp (temperature coefficient for Imp). This line.
Equation 10 of the 2004 Sandia report shows Aimp is intended.
Discussion among the Sandia staff concluded that there is a typo in PVLib for Matlab, in this line.
This error was propagated when the Matlab code was ported to python by R. Andrews (see pvl_sapm.py file in the prearizona tag for pvlib).
The comment originated with W. Holmgren, who may have been looking at the Matlab code as the authoritative source.
The SAPM function uses
Aisc
(temperature coefficient for Isc) in the equation forIxx
, where it should beAimp
(temperature coefficient for Imp). This line.Equation 10 of the 2004 Sandia report shows
Aimp
is intended.Discussion among the Sandia staff concluded that there is a typo in PVLib for Matlab, in this line.
This error was propagated when the Matlab code was ported to python by R. Andrews (see pvl_sapm.py file in the prearizona tag for pvlib).
The comment originated with W. Holmgren, who may have been looking at the Matlab code as the authoritative source.
Expected behavior
Correct this line to use
Aimp
.Versions:
pvlib.__version__
: all versionsAdditional context
The error only affects
Ixx
frompvsystem.sapm
and nothing else.PVLib for Matlab issue sandialabs/MATLAB_PV_LIB#37
The text was updated successfully, but these errors were encountered: