Skip to content

Commit

Permalink
Fix storage dump test
Browse files Browse the repository at this point in the history
As there is one more tim step, there is one more variable.
  • Loading branch information
p-snft committed Aug 14, 2024
1 parent 1e62bd1 commit d9f7012
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_optimise_storage_size(
es.dump()


def test_results_with_actual_dump():
def test_results_with_recent_dump():
test_optimise_storage_size()
energysystem = solph.EnergySystem()
energysystem.restore()
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_results_with_actual_dump():
# Problem results
assert meta["problem"]["Lower bound"] == 4.231675777e17
assert meta["problem"]["Upper bound"], 4.231675777e17
assert meta["problem"]["Number of variables"] == 2807
assert meta["problem"]["Number of variables"] == 2808
assert meta["problem"]["Number of constraints"] == 2808
assert meta["problem"]["Number of nonzeros"] == 1197
assert meta["problem"]["Number of objectives"] == 1
Expand Down

0 comments on commit d9f7012

Please sign in to comment.