openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
30 stars 13 forks source link

Group_links should aggregate DC lines with bus_0 and bus_1 inverted #619

Closed CarlosEpia closed 1 year ago

CarlosEpia commented 1 year ago

Currently, the group_links function is grouping just links with the same carrier, bus_0, and bus_1 attributes. DC transmission lines are a special case when grouping links with inverted bus_0 and bus_1 makes sense.