Skip to content

Commit 500d1db

Browse files
committed
consolidate line
1 parent 2d82c57 commit 500d1db

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
@@ -1401,8 +1401,7 @@ def singlediode(photocurrent, saturation_current, resistance_series,
14011401
'i_0': saturation_current,
14021402
'i_l': photocurrent}
14031403

1404-
p_mp, v_mp = _golden_sect_DataFrame(params, 0, v_oc*1.14,
1405-
_pwr_optfcn)
1404+
p_mp, v_mp = _golden_sect_DataFrame(params, 0, v_oc*1.14, _pwr_optfcn)
14061405

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

0 commit comments

Comments
 (0)