From 3f3a32ffebcdf9b8ebd1c3a39a0b508c1298a0f1 Mon Sep 17 00:00:00 2001 From: finozzifa <167071962+finozzifa@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:02:11 +0200 Subject: [PATCH] Augmented line connections bug fix (#1011) * augmented_line_connections types to ac_types * modify doc/release_notes.rst * modify release_notes * add PR link to release_notes * PR comment on release_notes --- doc/release_notes.rst | 2 +- scripts/augmented_line_connections.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 922ea5245..ddfb67bee 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -24,7 +24,7 @@ E.g. if a new rule becomes available describe how to use it `snakemake -j1 run_t **Minor Changes and bug-fixing** -* Minor bug-fixing to get the generalised line types work for DC lines. `PR #1008 `__ +* Minor bug-fixing to get the generalised line types work for DC lines and AC lines. `PR #1008 `__ and `PR #1011 `__ * Minor bug-fixing for GADM_ID format naming. `PR #980 `__, `PR #986 `__ and `PR #989 `__ diff --git a/scripts/augmented_line_connections.py b/scripts/augmented_line_connections.py index 58355f046..360c9acc8 100644 --- a/scripts/augmented_line_connections.py +++ b/scripts/augmented_line_connections.py @@ -158,7 +158,7 @@ def haversine(p): suffix=" AC", bus0=new_kedge_lines.bus0, bus1=new_kedge_lines.bus1, - type=snakemake.params.lines["types"].get(380), + type=snakemake.params.lines["ac_types"].get(380), s_nom_extendable=True, # TODO: Check if minimum value needs to be set. s_nom_min=min_expansion_option,