Make sure times are assigned with ModelChain.run_from_poa#1162
Make sure times are assigned with ModelChain.run_from_poa#1162wholmgren merged 2 commits intopvlib:masterfrom
Conversation
|
looks like the same issue exists in |
|
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 |
|
@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 closes SolarPerformanceInsight#119 closes SolarPerformanceInsight#109 also adds real tests of the pvlib modelchain to catch errors there
|
I agree. A year ago or so I wanted to remove Let's move it to |
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 #119 closes #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