Skip to content

Commit 480c01b

Browse files
committed
fix test
1 parent 0b147e8 commit 480c01b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pvlib/ivtools/sdm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
IEC61853 = pd.DataFrame(
3030
columns=['effective_irradiance', 'temp_cell'],
31-
data = np.array(
31+
data=np.array(
3232
[[100, 100, 100, 100, 200, 200, 200, 200, 400, 400, 400, 400,
3333
600, 600, 600, 600, 800, 800, 800, 800, 1000, 1000, 1000, 1000,
3434
1100, 1100, 1100, 1100],
@@ -1556,7 +1556,7 @@ def convert_pvsyst_cec(pvsyst_model):
15561556
15571557
Parameters
15581558
----------
1559-
cec_model : dict or DataFrame
1559+
pvsyst_model : dict or DataFrame
15601560
Must include keys: 'alpha_sc', 'I_L_ref', 'I_o_ref', 'EgRef', 'R_s',
15611561
'R_sh_ref', 'R_sh_0', 'R_sh_exp', 'gamma_ref', 'mu_gamma',
15621562
'cells_in_series'

pvlib/tests/ivtools/test_sdm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,8 @@ def test_convert_cec_pvsyst():
432432

433433

434434
def test_convert_pvsyst_cec():
435-
trina660_pvsyst = {'alpha_sc': 0.0074, 'I_o_ref': 3.3e-11, 'EgRef': 1.121,
435+
trina660_pvsyst = {'alpha_sc': 0.0074, 'I_L_ref': 18.464391,
436+
'I_o_ref': 3.3e-11, 'EgRef': 1.121,
436437
'R_s': 0.156, 'R_sh_ref': 200, 'R_sh_0': 800,
437438
'R_sh_exp': 5.5, 'gamma_ref': 1.002, 'mu_gamma': 1e-3,
438439
'cells_in_series': 66}

0 commit comments

Comments
 (0)