Skip to content

Commit d896e47

Browse files
authored
Update pvlib/singlediode.py
1 parent 16bd076 commit d896e47

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pvlib/singlediode.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,8 +868,6 @@ def _lambertw_i_from_v(voltage, photocurrent, saturation_current,
868868
np.exp((Rs[idx_p] * (IL[idx_p] + I0[idx_p]) + V[idx_p]) /
869869
(a[idx_p] * (Rs[idx_p] * Gsh[idx_p] + 1.)))
870870

871-
# lambertw typically returns complex value with zero imaginary part
872-
# may overflow to np.inf
873871
lambertwterm = _lambertw_pvlib(argW)
874872

875873
# Eqn. 2 in Jain and Kapoor, 2004

0 commit comments

Comments
 (0)