Skip to content

Commit 9a22fb4

Browse files
committed
consolidate line
1 parent dc68720 commit 9a22fb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pvlib/pvsystem.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,8 +1435,7 @@ def singlediode(photocurrent, saturation_current, resistance_series,
14351435
'i_0': saturation_current,
14361436
'i_l': photocurrent}
14371437

1438-
p_mp, v_mp = _golden_sect_DataFrame(params, 0, v_oc*1.14,
1439-
_pwr_optfcn)
1438+
p_mp, v_mp = _golden_sect_DataFrame(params, 0, v_oc*1.14, _pwr_optfcn)
14401439

14411440
# Invert the Power-Current curve. Find the current where the inverted power
14421441
# is minimized. This is i_mp. Start the optimization at v_oc/2

0 commit comments

Comments
 (0)