Hi all,
I'm working through trying to recreate some results from PVSyst via PVLib. I've been able to recreate the irradiance fairly well, and am now working on recreating the power. However, I'm currently running into an issue during the singlediode computation.
The _lamberw_v_from_i is returning large negative values of v_oc (on the order of -400, -500) correlating to what appears to be irradiance values below 100 W/m2. As soon as the irradiance values increase above that threshold, v_oc returns to expected levels.
These negative values then cause an error in _golden_sect_DataFrame, as the upper bounds are smaller than the lower bounds (line 344 in
pvlib.tools.py).
This is a little outside of my wheelhouse, so I'm looking for a little help in determining what could be driving the v_oc's to be negative here, and how I can fix it.
Thanks in advance,
Diego