|
24 | 24 | def test_fast_spr_e20_327():
|
25 | 25 | spr_e20_327 = CECMOD.SunPower_SPR_E20_327
|
26 | 26 | x = pvsystem.calcparams_desoto(
|
27 |
| - poa_global=POA, temp_cell=TCELL, |
28 |
| - alpha_isc=spr_e20_327.alpha_sc, module_parameters=spr_e20_327, |
| 27 | + effective_irradiance=POA, temp_cell=TCELL, |
| 28 | + alpha_sc=spr_e20_327.alpha_sc, a_ref=spr_e20_327.a_ref, |
| 29 | + I_L_ref=spr_e20_327.I_L_ref, I_o_ref=spr_e20_327.I_o_ref, |
| 30 | + R_sh_ref=spr_e20_327.R_sh_ref, R_s=spr_e20_327.R_s, |
29 | 31 | EgRef=1.121, dEgdT=-0.0002677)
|
30 | 32 | il, io, rs, rsh, nnsvt = x
|
31 | 33 | tstart = clock()
|
@@ -59,8 +61,9 @@ def test_fast_spr_e20_327():
|
59 | 61 | def test_fast_fs_495():
|
60 | 62 | fs_495 = CECMOD.First_Solar_FS_495
|
61 | 63 | x = pvsystem.calcparams_desoto(
|
62 |
| - poa_global=POA, temp_cell=TCELL, |
63 |
| - alpha_isc=fs_495.alpha_sc, module_parameters=fs_495, |
| 64 | + effective_irradiance=POA, temp_cell=TCELL, |
| 65 | + alpha_sc=fs_495.alpha_sc, a_ref=fs_495.a_ref, I_L_ref=fs_495.I_L_ref, |
| 66 | + I_o_ref=fs_495.I_o_ref, R_sh_ref=fs_495.R_sh_ref, R_s=fs_495.R_s, |
64 | 67 | EgRef=1.475, dEgdT=-0.0003)
|
65 | 68 | il, io, rs, rsh, nnsvt = x
|
66 | 69 | x += (101, )
|
@@ -95,8 +98,10 @@ def test_fast_fs_495():
|
95 | 98 | def test_slow_spr_e20_327():
|
96 | 99 | spr_e20_327 = CECMOD.SunPower_SPR_E20_327
|
97 | 100 | x = pvsystem.calcparams_desoto(
|
98 |
| - poa_global=POA, temp_cell=TCELL, |
99 |
| - alpha_isc=spr_e20_327.alpha_sc, module_parameters=spr_e20_327, |
| 101 | + effective_irradiance=POA, temp_cell=TCELL, |
| 102 | + alpha_sc=spr_e20_327.alpha_sc, a_ref=spr_e20_327.a_ref, |
| 103 | + I_L_ref=spr_e20_327.I_L_ref, I_o_ref=spr_e20_327.I_o_ref, |
| 104 | + R_sh_ref=spr_e20_327.R_sh_ref, R_s=spr_e20_327.R_s, |
100 | 105 | EgRef=1.121, dEgdT=-0.0002677)
|
101 | 106 | il, io, rs, rsh, nnsvt = x
|
102 | 107 | tstart = clock()
|
@@ -130,8 +135,9 @@ def test_slow_spr_e20_327():
|
130 | 135 | def test_slow_fs_495():
|
131 | 136 | fs_495 = CECMOD.First_Solar_FS_495
|
132 | 137 | x = pvsystem.calcparams_desoto(
|
133 |
| - poa_global=POA, temp_cell=TCELL, |
134 |
| - alpha_isc=fs_495.alpha_sc, module_parameters=fs_495, |
| 138 | + effective_irradiance=POA, temp_cell=TCELL, |
| 139 | + alpha_sc=fs_495.alpha_sc, a_ref=fs_495.a_ref, I_L_ref=fs_495.I_L_ref, |
| 140 | + I_o_ref=fs_495.I_o_ref, R_sh_ref=fs_495.R_sh_ref, R_s=fs_495.R_s, |
135 | 141 | EgRef=1.475, dEgdT=-0.0003)
|
136 | 142 | il, io, rs, rsh, nnsvt = x
|
137 | 143 | x += (101, )
|
|
0 commit comments