lossy_bidirectional_links: set length of reversed lines to 0 to avoid double counting in line volume limit
This commit is contained in:
parent
666e79e2fd
commit
bde04eeac9
@ -3311,6 +3311,7 @@ def lossy_bidirectional_links(n, carrier, efficiencies={}):
|
||||
n.links.loc[carrier_i].copy().rename({"bus0": "bus1", "bus1": "bus0"}, axis=1)
|
||||
)
|
||||
rev_links.capital_cost = 0
|
||||
rev_links.length = 0
|
||||
rev_links["reversed"] = True
|
||||
rev_links.index = rev_links.index.map(lambda x: x + "-reversed")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user