-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ADR PV efficiency model from pvpltools-python #1572
Conversation
I'm getting the ball rolling on this PR because there is some overlap with #1354 and it may be better to think ahead about how to best sort this out (assuming we want all these efficiency models in pvlib-python of course). Both PR have a similar efficiency model function (
|
I agree we should unify coding into sensible locations as soon as possible.
|
Yes, if mpm has those capabilities, why not? Is that in the current code already, or something you're thinking about adding later?
That's not on my radar, but clearly both 1. and 2. could lead to different code organization ideas.
Yes, I wrote about this problem, but for me the model is primarily of historical interest. |
It's already in the code. You make var_to_fit as 'pr_dc', 'v_mp', 'r_sc' or whatever and it will fit it. The jupyter notebooks only have the 'pr_dc' in there but I've fitted all the other parameters in my publications such as this http://www.steveransome.com/pubs/2206_PVSC_49_Ransome_to_be_presented.pdf def mlfm_fit(data, var_to_fit):
OK, as I knew SAPM and PVGIS are commonly used I analysed them in the paper I just linked. I also looked at the bilinear interpolation but as we've discussed before I really don't think it's a good idea at all. The traces are not linear with irradiance.
OK, I have seen others acknowledge the problem and correct for it. I changed the 1 to be k_0 to solve that. |
Well, maybe my opening suggestion was not the best in light of mpm/mlfm being used with a gradually expanding number of predictors and also applied to a multiple response variables. Perhaps it is better to see how #1354 evolves before trying to solve this. |
# Conflicts: # docs/examples/adr-pv-module-efficiency/plot_simulate_system.py
FYI: I messed up my branch so I started over in #1602 |
docs/sphinx/source/reference
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`
).remote-data
) and Milestone are assigned to the Pull Request and linked Issue.