Skip to content

Commit

Permalink
Fix setting s_nom for underground cables
Browse files Browse the repository at this point in the history
ClaraBuettner committed Aug 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 426718a commit 3d50c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/egon/data/datasets/postprocessing_lines_from_nep.py
Original file line number Diff line number Diff line change
@@ -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"]
)

0 comments on commit 3d50c61

Please sign in to comment.