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
A user reports running a model chain with no spectral model specified and with CEC module parameters. The logic for ModelChain.infer_spectral_model returns first_solar_spectral_loss, which expects 'precipitable_water' to be in the weather input, at which point the user's simulation fails.
To Reproduce Code posted by user to reproduce the error.
Expected behavior
While the CEC database has enough information (cell technology) to select parameters for the First Solar spectral model, doing so creates an expectation that the user has the inputs for that model. We can't check weather data at the time that ModelChain.spectral_model is set. I am inclined to think that the elifhere should go away.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
pvlib.__version__: 0.10.5
The text was updated successfully, but these errors were encountered:
A user reports running a model chain with no spectral model specified and with CEC module parameters. The logic for
ModelChain.infer_spectral_model
returnsfirst_solar_spectral_loss
, which expects'precipitable_water'
to be in the weather input, at which point the user's simulation fails.To Reproduce
Code posted by user to reproduce the error.
Expected behavior
While the CEC database has enough information (cell technology) to select parameters for the First Solar spectral model, doing so creates an expectation that the user has the inputs for that model. We can't check weather data at the time that
ModelChain.spectral_model
is set. I am inclined to think that theelif
here should go away.Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
pvlib.__version__
: 0.10.5The text was updated successfully, but these errors were encountered: