Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed May 9, 2023
1 parent 5d829a9 commit dfc9563
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flexmeasures/data/models/planning/tests/test_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ def test_charging_station_solver_day_2(target_soc, charging_station_name):
"roundtrip_efficiency": charging_station.get_attribute(
"roundtrip_efficiency", 1
),
"storage_efficiency": charging_station.get_attribute(
"storage_efficiency", 1
),
"soc_targets": soc_targets,
},
)
Expand Down Expand Up @@ -307,6 +310,9 @@ def test_fallback_to_unsolvable_problem(target_soc, charging_station_name):
"roundtrip_efficiency": charging_station.get_attribute(
"roundtrip_efficiency", 1
),
"storage_efficiency": charging_station.get_attribute(
"storage_efficiency", 1
),
"soc_targets": soc_targets,
},
)
Expand Down Expand Up @@ -397,6 +403,7 @@ def test_building_solver_day_2(
"soc_min": soc_min,
"soc_max": soc_max,
"roundtrip_efficiency": battery.get_attribute("roundtrip_efficiency", 1),
"storage_efficiency": battery.get_attribute("storage_efficiency", 1),
},
flex_context={
"inflexible_device_sensors": inflexible_devices.values(),
Expand Down

0 comments on commit dfc9563

Please sign in to comment.