Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Oct 30, 2023
1 parent 1a2aed1 commit aba6897
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edisgo/flex_opt/costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def _get_line_costs(lines_added):
if not equipment_changes.empty:
transformers = equipment_changes[
equipment_changes.equipment.str.contains("Transformer")
| equipment_changes.equipment.str.contains("transformer")
]
added_transformers = transformers[transformers["change"] == "added"]
removed_transformers = transformers[transformers["change"] == "removed"]
Expand Down

0 comments on commit aba6897

Please sign in to comment.