Skip to content

Commit 5c79696

Browse files
committed
adjust multiplier for initial guess
1 parent edb5535 commit 5c79696

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pvlib/singlediode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ def _lambertw(photocurrent, saturation_current, resistance_series,
917917
# remove try/except when scipy>=1.15, and golden mean is retired
918918
try:
919919
from scipy.optimize.elementwise import find_minimum
920-
init = (0., 0.5*v_oc, v_oc)
920+
init = (0., 0.8*v_oc, v_oc)
921921
res = find_minimum(_vmp_opt, init,
922922
args=(params['photocurrent'],
923923
params['saturation_current'],

0 commit comments

Comments
 (0)