Skip to content

Commit 8d0d117

Browse files
committed
forgot a_0
1 parent 41864fc commit 8d0d117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/tests/ivtools/test_sdm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def test_fit_desoto():
8282

8383
def test_fit_desoto_init_guess(mocker):
8484
init_guess_array = np.array([9.4, 3.0e-9, 0.3, 125., 1.5])
85-
init_guess = {k: v for k, v in zip(['IL_0', 'Io_0', 'Rs_0', 'Rsh_0'],
86-
init_guess_array)}
85+
init_guess = {k: v for k, v in zip(
86+
['IL_0', 'Io_0', 'Rs_0', 'Rsh_0', 'a_0'], init_guess_array)}
8787
mocker.spy(optimize, 'root')
8888
result, _ = sdm.fit_desoto(v_mp=31.0, i_mp=8.71, v_oc=38.3, i_sc=9.43,
8989
alpha_sc=0.005658, beta_voc=-0.13788,

0 commit comments

Comments
 (0)