From aba6897949e120b7651bd2e0eab1ce209f01b2a4 Mon Sep 17 00:00:00 2001 From: birgits Date: Mon, 30 Oct 2023 15:39:59 +0100 Subject: [PATCH] Bug fix --- edisgo/flex_opt/costs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/edisgo/flex_opt/costs.py b/edisgo/flex_opt/costs.py index d1aa910d..2079eb77 100644 --- a/edisgo/flex_opt/costs.py +++ b/edisgo/flex_opt/costs.py @@ -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"]