Skip to content

Commit 9b60d2e

Browse files
committed
Merge branch 'use_lambertw' of https://github.com/cwhanse/pvlib-python into use_lambertw
2 parents 7511558 + d896e47 commit 9b60d2e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pvlib/singlediode.py

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

873-
# lambertw typically returns complex value with zero imaginary part
874-
# may overflow to np.inf
875873
lambertwterm = _lambertw_pvlib(argW)
876874

877875
# Eqn. 2 in Jain and Kapoor, 2004

0 commit comments

Comments
 (0)