Hello pvlib community,
PVfit has open-sourced some parameter fitting routines, in Python, for the single-diode equation and single-diode model.
https://github.com/markcampanelli/pvfit The 5-parameter single-diode equation is fit from an I-V curve at one operating condition (such as STC) and has been benchmarked in the unit tests and
here. (Special thanks to Cliff Hansen and his team for providing these benchmark datasets.)
PVfit also offers a "simple" 6-parameter single-diode model (for use across different operating conditions) that can be calibrated using either a performance matrix (such as IEC 61853-1) or a module's specification datasheet. These calibrated models can then be simulated for full I-V curves, maximum power, etc. under various operating conditions. I am still adding the unit tests here, but I have run these fits successfully against the IEC 61853-1 datasets and spec sheet info for nine different PV modules kindly provided by the PVPMC
here. Fits tend to be good for x-Si modules, whereas HIT technologies can be challenging.
I have also used PVfit-provided fits for the single-diode model with pvlib-python-provided models computing the effective-irradiance-ratio and cell-temperature inputs from MET data and then subsequently the AC conversion and derates. I hope to soon add a demo for this type of integration of PVfit with pvlib-python.
I am also still ironing out some of the data structures and variable typing to try to make PVfit usage as streamlined and intuitive as possible as I work towards a v1.0 release. For now, there are several tutorials in the various `demos/getting_started.py` modules, and the README should help get folks up and running. Feel free to reach out to me with feedback/questions at
mark.ca...@gmail.com.
Thanks,
Mark Campanelli