Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Sep 19, 2024
1 parent 0b147e8 commit 480c01b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pvlib/ivtools/sdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

IEC61853 = pd.DataFrame(
columns=['effective_irradiance', 'temp_cell'],
data = np.array(
data=np.array(
[[100, 100, 100, 100, 200, 200, 200, 200, 400, 400, 400, 400,
600, 600, 600, 600, 800, 800, 800, 800, 1000, 1000, 1000, 1000,
1100, 1100, 1100, 1100],
Expand Down Expand Up @@ -1556,7 +1556,7 @@ def convert_pvsyst_cec(pvsyst_model):
Parameters
----------
cec_model : dict or DataFrame
pvsyst_model : dict or DataFrame
Must include keys: 'alpha_sc', 'I_L_ref', 'I_o_ref', 'EgRef', 'R_s',
'R_sh_ref', 'R_sh_0', 'R_sh_exp', 'gamma_ref', 'mu_gamma',
'cells_in_series'
Expand Down
3 changes: 2 additions & 1 deletion pvlib/tests/ivtools/test_sdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ def test_convert_cec_pvsyst():


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

0 comments on commit 480c01b

Please sign in to comment.