Skip to content

Commit 5ade588

Browse files
committed
change voc to v_oc
1 parent 595e254 commit 5ade588

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/way_faster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,20 @@ def slower_way(photocurrent, saturation_current, resistance_series,
122122
# collect args
123123
args = (photocurrent, saturation_current, resistance_series,
124124
resistance_shunt, nNsVth)
125-
voc = slow_v_from_i(0.0, *args)
125+
v_oc = slow_v_from_i(0.0, *args)
126126
i_sc = slow_i_from_v(0.0, *args)
127127
i_mp, v_mp, p_mp = slow_mppt(*args)
128128
out = OrderedDict()
129129
out['i_sc'] = i_sc
130-
out['v_oc'] = voc
130+
out['v_oc'] = v_oc
131131
out['i_mp'] = i_mp
132132
out['v_mp'] = v_mp
133133
out['p_mp'] = p_mp
134134
out['i_x'] = None
135135
out['i_xx'] = None
136136
# calculate the IV curve if requested using bishop88
137137
if ivcurve_pnts:
138-
vd = voc * (
138+
vd = v_oc * (
139139
(11.0 - np.logspace(np.log10(11.0), 0.0, ivcurve_pnts)) / 10.0
140140
)
141141
i, v, _, _, p, _, _ = bishop88(vd, *args)

0 commit comments

Comments
 (0)