We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac500d5 commit 4827334Copy full SHA for 4827334
1 file changed
pvlib/singlediode.py
@@ -914,6 +914,7 @@ def _lambertw(photocurrent, saturation_current, resistance_series,
914
915
# Find the voltage, v_mp, where the power is maximized.
916
# use scipy.elementwise if available
917
+ # remove try/except when scipy>=1.15, and golden mean is retired
918
try:
919
from scipy.optimize.elementwise import find_minimum
920
init = (0., 0.8*v_oc, 1.01*v_oc)
0 commit comments