@@ -466,12 +466,12 @@ def test_singlediode_series_ivcurve(cec_module_params):
466
466
out = pvsystem .singlediode (IL , I0 , Rs , Rsh , nNsVth , ivcurve_pnts = 3 )
467
467
468
468
expected = OrderedDict ([('i_sc' , array ([ nan , 6.00675648 ])),
469
- ('i_mp' , array ([ nan , 5.6129056 ])),
469
+ ('i_mp' , array ([ nan , 5.285947 ])),
470
470
('v_oc' , array ([ nan , 10.29530483 ])),
471
- ('v_mp' , array ([ nan , 7.25364707 ])),
472
- ('p_mp' , array ([ nan , 40.71403625 ])),
471
+ ('v_mp' , array ([ nan , 8.415971 ])),
472
+ ('p_mp' , array ([ nan , 44.486373 ])),
473
473
('i_x' , array ([ nan , 5.74622046 ])),
474
- ('i_xx' , array ([ nan , 4.97138154 ])),
474
+ ('i_xx' , array ([ nan , 3.90008 ])),
475
475
('i' ,
476
476
array ([[ nan , nan , nan ],
477
477
[ 6.00726296 , 5.74622046 , 0. ]])),
@@ -480,7 +480,7 @@ def test_singlediode_series_ivcurve(cec_module_params):
480
480
[ 0. , 5.14765242 , 10.29530483 ]]))])
481
481
482
482
for k , v in out .items ():
483
- assert_allclose (expected [k ], v , atol = 3 )
483
+ assert_allclose (expected [k ], v , atol = 1e-2 )
484
484
485
485
486
486
def test_scale_voltage_current_power (sam_data ):
0 commit comments