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
No public code is available to fit the SAPM model to data. The primary reference is here.
The full SAPM model has three parts:
Electrical model. The model predicts Isc, Voc, Imp, Vmp, Ix (current at Vmp/2) and Ixx (current at the average of Vmp and Voc). This model needs 9 empirical coefficients for Isc, Voc, Imp, Vmp, and four temperature coefficients (Isc, Voc, Imp, Vmp). Six additional coefficients are needed for Ix and Ixx.
Spectrum adjustment. This is a fourth-order polynomial f(AM) in air mass such that f(1.5) = 1.
IAM model. This is a fifth-order polynomial in angle of incidence.
I propose to add code to provide the temperature coefficients, the 9 electrical coefficients for Isc, Voc, Imp, Vmp, and the polynomial for the spectrum adjustment. Good alternatives to a polynomial are already available for the IAM model, which isn't intricately linked with the rest of the SAPM.
The fit would require a dataset of the following:
broadband POA (range of values, covering 400 W/m2 to 1100 W/m2)
air temperature (range of values, covering perhaps 30C)
wind speed (at height TBD)
back-of-module temperature
Isc, Voc, Imp, Vmp (optionally, Ix and Ixx).
With the above data obtained indoors (e.g., IEC 61853 procedure), the temperature coefficients and electrical model sans Ix and Ixx can be determined. Reference here.
If the data are obtained outdoors with the module normal to the sun, then the spectrum adjustment function can also be estimated. The procedure requires data for both clear-sky and not clear-sky conditions; each point should be labeled as clear or not.
If we agree to add this capability, should it go into pvlib/pvarray.py? That's where we put the other "fit" code, and perhaps this is also an opportunity to move sapm from pvlib/pvsystem.py to pvarray.py.
The text was updated successfully, but these errors were encountered:
Good initiative. I guess there was some similar discussion about where to put things in #1544. pvarray seems like a good place for the electrical model and fitter.
No public code is available to fit the SAPM model to data. The primary reference is here.
The full SAPM model has three parts:
I propose to add code to provide the temperature coefficients, the 9 electrical coefficients for Isc, Voc, Imp, Vmp, and the polynomial for the spectrum adjustment. Good alternatives to a polynomial are already available for the IAM model, which isn't intricately linked with the rest of the SAPM.
The fit would require a dataset of the following:
With the above data obtained indoors (e.g., IEC 61853 procedure), the temperature coefficients and electrical model sans Ix and Ixx can be determined. Reference here.
If the data are obtained outdoors with the module normal to the sun, then the spectrum adjustment function can also be estimated. The procedure requires data for both clear-sky and not clear-sky conditions; each point should be labeled as clear or not.
If we agree to add this capability, should it go into pvlib/pvarray.py? That's where we put the other "fit" code, and perhaps this is also an opportunity to move sapm from pvlib/pvsystem.py to pvarray.py.
The text was updated successfully, but these errors were encountered: