Uh oh!
There was an error while loading. Please reload this page.
Make sure times are assigned with ModelChain.run_from_poa - #1162
Conversation
wholmgren
commented
Feb 5, 2021
looks like the same issue exists in |
alorenzo175
commented
Feb 5, 2021
Yes it is missing there too, but I guess not a problem since it doesn't compute and assign solar position. So move it to |
cwhanse
commented
Feb 5, 2021
@wholmgren it appears that the only use of I'm OK patching this now so that pvlib behaves consistently. But down the road I think we'll want to remove |
a4 because pvlib/pvlib-python#1162 is required along with a tbd issue for computing from effective irradiance closesSolarPerformanceInsight#119closesSolarPerformanceInsight#109 also adds real tests of the pvlib modelchain to catch errors there
wholmgren
commented
Feb 5, 2021
I agree. A year ago or so I wanted to remove Let's move it to |
cwhanse
commented
Feb 5, 2021
Worth opening an issue so we don't forget about this |
* update for pvlib 0.9.0a4 a4 because pvlib/pvlib-python#1162 is required along with a tbd issue for computing from effective irradiance closes#119closes#109 also adds real tests of the pvlib modelchain to catch errors there * mypy * test more modelchain configurations * fix when missing poa global or solar position for from_effective_irr * make sure poa_global is NaN not None * use pvlib 0.9.0a4 * comment update
docs/sphinx/source/api.rstfor API changes.docs/sphinx/source/whatsnewfor all changes. Includes link to the GitHub Issue with:issue:`num`or this Pull Request with:pull:`num`. Includes contributor name and/or GitHub username (link with:ghuser:`user`).When running
ModelChain.run_from_poa,ModelChain.timesis not assigned so that the solar position results are incorrect and have aNaTindex.The issue was introduced in #1076 here
pvlib-python/pvlib/modelchain.py
Lines 1196 to 1203 in b0d29f5