calcparams_desoto gets lost in the darkness #2354
Replies: 2 comments 1 reply
-
In a similar fashion, |
Beta Was this translation helpful? Give feedback.
-
I think it returns inf as it should unless all the inputs are floats, because in which case numpy is not used. Shouldn't be too hacky to fix this. |
Beta Was this translation helpful? Give feedback.
-
#340 added support for solving the single-diode equation for an "ideal" PV device that has infinite shunt resistance (equivalent to zero shunt conductance). I see several
pvlib
issues and discussions concerning very low and zero irradiance causing problems forpvlib.pvsystem.calcparams_desoto
, and I just hit this issue myself. Concerning this edge case, which appears to lead to a lot of hacky workarounds, has the community discussed/tried makingcalcparams_desoto
returnfloat("inf")
forR_sh
when the irradiance is zero?Beta Was this translation helpful? Give feedback.
All reactions