-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make sure times are assigned with ModelChain.run_from_poa #1162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.rst
for API changes.docs/sphinx/source/whatsnew
for 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.times
is not assigned so that the solar position results are incorrect and have aNaT
index.The issue was introduced in #1076 here
pvlib-python/pvlib/modelchain.py
Lines 1196 to 1203 in b0d29f5