Skip to content

Commit

Permalink
Fix tests due to changes costs calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Feb 2, 2024
1 parent 120da33 commit d5d4000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_edisgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def test_reinforce_catch_convergence(self):
)
results = self.edisgo.reinforce(catch_convergence_problems=True)
assert results.unresolved_issues.empty
assert len(results.grid_expansion_costs) == 132
assert len(results.grid_expansion_costs) == 134
assert len(results.equipment_changes) == 218
assert results.v_res.shape == (4, 142)

Expand All @@ -542,7 +542,7 @@ def test_enhanced_reinforce_grid(self):

results = edisgo_obj.results

assert len(results.grid_expansion_costs) == 445
assert len(results.grid_expansion_costs) == 454
assert len(results.equipment_changes) == 892
assert results.v_res.shape == (4, 148)

Expand Down

0 comments on commit d5d4000

Please sign in to comment.