Exemplo n.º 1
0
def test_NLDC_calculation_solar():
    assert calculate_NLDC(scenario, {"solar"}, 10) == approx(3720)
Exemplo n.º 2
0
def test_NLDC_calculation_solar_wind():
    assert calculate_NLDC(scenario, ["solar", "wind"], 10) == approx(8478.9)
Exemplo n.º 3
0
def test_NLDC_calculation_wind_5_hour():
    assert calculate_NLDC(scenario, {"wind"}, hours=5) == approx(3343)
Exemplo n.º 4
0
def test_NLDC_calculation_wind_list():
    assert calculate_NLDC(scenario, ["wind"], 10) == approx(3496.1)
Exemplo n.º 5
0
def test_NLDC_calculation_wind_tuple():
    assert calculate_NLDC(scenario, ("wind", ), 10) == approx(3496.1)
Exemplo n.º 6
0
def test_NLDC_calculation_wind_set():
    assert calculate_NLDC(scenario, {"wind"}, 10) == approx(3496.1)
Exemplo n.º 7
0
def test_NLDC_calculation_wind_str():
    assert calculate_NLDC(scenario, "wind", 10) == approx(3496.1)