Skip to content

Commit 5c939b8

Browse files
committed
TST: fix precision test to use new calcparams* API
1 parent 62010c2 commit 5c939b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pvlib/test/test_numerical_precision.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
# get module from cecmod and apply temp/irrad desoto corrections
2323
SPR_E20_327 = CECMOD.SunPower_SPR_E20_327
2424
ARGS = pvsystem.calcparams_desoto(
25-
poa_global=POA, temp_cell=TCELL,
26-
alpha_isc=SPR_E20_327.alpha_sc, module_parameters=SPR_E20_327,
25+
effective_irradiance=POA, temp_cell=TCELL,
26+
alpha_sc=SPR_E20_327.alpha_sc, a_ref=SPR_E20_327.a_ref,
27+
I_L_ref=SPR_E20_327.I_L_ref, I_o_ref=SPR_E20_327.I_o_ref,
28+
R_sh_ref=SPR_E20_327.R_sh_ref, R_s=SPR_E20_327.R_s,
2729
EgRef=1.121, dEgdT=-0.0002677
2830
)
2931
IL, I0, RS, RSH, NNSVTH = ARGS

0 commit comments

Comments
 (0)