Fix DC junctions in simplify_network#2147
Conversation
|
I had to add a new key, named it
Open question, what to set as default. I believe the closest to replicate old behaviour is to allow mixing of AC and DC, but the technically more correct way would be to set |
|
I would suggest Not sure the name is expressive enough though. Just looking at the name, one could assume separate synchronous zones (like Balearic Islands, DK etc.) can be clustered / simplified. |
| # TODO Quick Fix for osm-prebuilt-version 0.6 | ||
| for way_i in ["way/140248154", "way/975637991"]: | ||
| if way_i in n.buses.index: | ||
| n.buses.loc[way_i, "carrier"] = "AC" | ||
|
|
There was a problem hiding this comment.
@FabianHofmann Can you double-check that this indeed can be removed? I don't see the need to keep this anymore after the changes in this PR
|
Thanks both @brynpickering and @fneum, I think I addressed all your comments. Regarding the config term, how about |

Closes open-energy-transition#275
@brynpickering @euronion
Same bug present in PyPSA-Eur upstream
Changes proposed in this Pull Request
simplify_network(literal edge case example for new UK/Shetland HVDC and multi-terminal setup)Original base network topology

Before fix

remove_stubs: trueremove_stubs: falseAfter fix

remove_stubs: trueremove_stubs: falseChecklist
Required:
doc/release_notes.rst.