-
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
Migrate efficiency models from pvpltools-python #1544
Comments
What do you think, could the module go in pretty much as-is, or should it be organized differently? |
I'm not in favor of adding the functions to |
I dislike that name too. :) |
I would welcome more opinions on code organization before I continue. Another option would be to just submit the ADR model and ADR fitting function. In that case, what would be the preferred place(s) to put them? |
#1572 seems OK to me so far. |
Looking forward to some reviews... |
I am having some second thoughts about where to put this code. In particular, I think that Could we create a new module called If this is too complex an issue we could discuss it under #1581, but I would really like to get this ADR code into the next release. |
Are we talking about a module to contain functions that take in |
There could be more than those two inputs perhaps. I would see |
This is a poster I presented at PVSC this year where I compared some modelling methods http://www.steveransome.com/pubs/2206_PVSC49_philadelphia_4_presented.pdf SAPM calculates measured values (A and V) of Isc, Imp, Vmp, Voc and Ix and Ixx using a different equation and coefficients for each one. I just looked at the first four as that's all I had from the CFV data. MPM calculates any of the normalised LFM values (usually nIsc, nImp, nVmp and nVoc from a measurement without complete IV traces as in this poster or nIsc, nRsc, nFFi, nFFv, nRoc and nVoc for good indoor or outdoor IV traces where Rsc and Roc can be calculated) with the same equation. Although the PVGIS model had only been used for prdc I generalised it to look at other normalised parameters isc, imp, vmp and voc. It would be good to add these and other models to pvlib and compare their fits alongside factors such as robustness, ability to fit noisy data, meaningful coefficients, performance limits (e.g. low rsc) and degradation analysis (e.g. rising roc) etc. I haven't seen the PVSC-49 papers being released yet but could post mine here or answer any other questions. I think we need to allow a PV model that either fits the prdc (= measured_efficiency/reference_efficiency) or one of the other chosen parameters such as isc, rsc, imp, vmp, roc and voc. As long as the reference values of isc, imp, vmp and voc are available it is straightforward to calculate measured raw values from normalised values or vice versa with meas_to_norm or norm_to_meas functions., |
|
Ok, I went ahead and created the pvarray module. Let's see what reactions that provokes. :) |
Regarding some terminology: I notice that Steve likes the term Anyway, I just wanted to make this observation and see if anyone sees potential for confusion. |
My reaction is that the name As an aside, I found SAND2020-3877 to be an informative and engaging read. My compliments to the chefs. |
Thanks, that's really nice to hear! |
Are we planning to eventually move some of the |
I would vote yes. What about moving PVArray? If I was looking for PVArray, I'd first guess pvarray.py.... |
No objection to either move, but maybe we should make a list of moving candidates? |
Describe the solution you'd like
A number of different models exist to estimate efficiency (or power) as a function of irradiance and temperature. I coded and published many of them in my own repository pvpltools-python as it was quicker to do than a pvlib PR, but I think they would fit nicely into pvlib-python.
https://github.com/adriesse/pvpltools-python/blob/master/pvpltools/module_efficiency.py
Additional context
Oh yes, I almost forgot: I developed such a model myself also and it's in there.
The text was updated successfully, but these errors were encountered: