Skip to content

Commit

Permalink
fix: mistake resolving merge conflicts on 4b14d59
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <[email protected]>
  • Loading branch information
Flix6x committed Feb 27, 2025
1 parent a7c09ed commit 34457a0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions flexmeasures/data/models/planning/tests/test_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1679,12 +1679,7 @@ def test_battery_stock_delta_sensor(
stock_delta_sensor_obj = add_stock_delta[stock_delta_sensor]
else:
stock_delta_sensor_obj = add_stock_delta["delta"]
capacity = stock_delta_sensor_obj.get_attribute(
"capacity_in_mw",
ur.Quantity(stock_delta_sensor_obj.get_attribute("site-power-capacity"))
.to("MW")
.magnitude,
)
capacity = stock_delta_sensor_obj.get_attribute("capacity_in_mw")
flex_model = {
"soc-max": 2,
"soc-min": 0,
Expand Down

0 comments on commit 34457a0

Please sign in to comment.