Skip to content

Commit a181438

Browse files
committed
fixes
1 parent 5188ee9 commit a181438

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pvlib/ivtools/convert.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
dtype=np.float64)
3131

3232

33-
3433
def _pvsyst_objfun(pvs_mod, cec_ivs, ee, tc, cs):
3534

3635
# translate the guess into named args that are used in the functions

tests/ivtools/test_convert.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_convert_cec_pvsyst():
99
'R_s': 0.159916, 'R_sh_ref': 113.991, 'a_ref': 1.59068,
1010
'Adjust': 6.42247, 'alpha_sc': 0.00629}
1111
trina660_pvsyst_est = convert.convert_cec_pvsyst(trina660_cec,
12-
cells_in_series)
12+
cells_in_series)
1313
pvsyst_expected = {'alpha_sc': 0.007478218748188788,
1414
'I_L_ref': 18.227679597516214,
1515
'I_o_ref': 2.7418999402908e-11,
@@ -28,7 +28,8 @@ def test_convert_cec_pvsyst():
2828

2929

3030
def test_convert_pvsyst_cec():
31-
trina660_pvsyst = {'alpha_sc': 0.0074, 'I_o_ref': 3.3e-11, 'EgRef': 1.121,
31+
trina660_pvsyst = {'alpha_sc': 0.0074, 'I_L_ref': 18.464391,
32+
'I_o_ref': 3.3e-11, 'EgRef': 1.121,
3233
'R_s': 0.156, 'R_sh_ref': 200, 'R_sh_0': 800,
3334
'R_sh_exp': 5.5, 'gamma_ref': 1.002, 'mu_gamma': 1e-3,
3435
'cells_in_series': 66}

0 commit comments

Comments
 (0)