Skip to content

Commit

Permalink
Augmented line connections bug fix (#1011)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
finozzifa authored Apr 29, 2024
1 parent 3e0fc1a commit 3f3a32f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1008>`__
* Minor bug-fixing to get the generalised line types work for DC lines and AC lines. `PR #1008 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1008>`__ and `PR #1011 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/1011>`__

* Minor bug-fixing for GADM_ID format naming. `PR #980 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/980>`__, `PR #986 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/986>`__ and `PR #989 <https://github.com/pypsa-meets-earth/pypsa-earth/pull/989>`__

Expand Down
2 changes: 1 addition & 1 deletion scripts/augmented_line_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3f3a32f

Please sign in to comment.