Skip to content

Commit 535e3dc

Browse files
echedey-lscwhansekandersolar
committed
Add - in front of dEgdT
Co-Authored-By: Cliff Hansen <[email protected]> Co-Authored-By: Kevin Anderson <[email protected]>
1 parent cbd72f5 commit 535e3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/ivtools/sdm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def fun_rsh(x, rshexp, ee, e0, rsh):
871871
params['R_sh_exp'] = R_sh_exp
872872

873873
elif model == 'desoto':
874-
dEgdT = 0.0002677
874+
dEgdT = -0.0002677
875875
x_for_io = const['q'] / const['k'] * (
876876
1. / tok - 1. / tck[u] + dEgdT * (tc[u] - const['T0']) / tck[u])
877877

0 commit comments

Comments
 (0)