pvsystem._DC_MODEL_PARAMS
lists unnecessary parameters for SAPM
#2369
Labels
pvsystem._DC_MODEL_PARAMS
lists unnecessary parameters for SAPM
#2369
pvlib.pvsystem._DC_MODEL_PARAMS
lists parameter names for each of several DC models, including the SAPM:pvlib-python/pvlib/pvsystem.py
Lines 29 to 36 in 6440ada
Many of these SAPM parameters are not used in the SAPM DC model.
A0-A4
are for the airmass modifier.B0-B5
are for beam IAM.FD
is for diffuse IAM. None of these are required to run the DC portion of the SAPM, implemented inpvlib.pvsystem.sapm
.However, because these non-DC parameters are listed in
_DC_MODEL_PARAMS
,ModelChain
raises an error if you do not supply them when settingdc_model='sapm'
. Here is an example of code that I would like to execute successfully:However, with the current pvlib, it fails, complaining about the missing non-DC parameters:
I propose we remove the
A*
,B*
, andFD
parameters from this dictionary.I could not locate any previous discussion of this, aside from a very brief exchange when the dictionary was first added: #548 (comment)
The text was updated successfully, but these errors were encountered: