From 3d50c613d6d4c92a2ef58438787a2b6ccd158cd6 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Thu, 22 Aug 2024 18:34:13 +0200 Subject: [PATCH] Fix setting s_nom for underground cables --- src/egon/data/datasets/postprocessing_lines_from_nep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egon/data/datasets/postprocessing_lines_from_nep.py b/src/egon/data/datasets/postprocessing_lines_from_nep.py index 534b6ebbd..183e54245 100644 --- a/src/egon/data/datasets/postprocessing_lines_from_nep.py +++ b/src/egon/data/datasets/postprocessing_lines_from_nep.py @@ -503,7 +503,7 @@ def ac_parameters(df): ) # Underground cables - ac_lines.loc[ac_lines["cable/line"] == "line", "s_nom"] = ( + ac_lines.loc[ac_lines["cable/line"] == "cable", "s_nom"] = ( ac_lines.loc[ac_lines["cable/line"] == "cable", "num_parallel"] * electrical_parameters["ac_cable_380kV"]["s_nom"] )