join skagerrak link

This commit is contained in:
martacki 2022-01-31 16:09:42 +01:00
parent 3a6a09995d
commit 296fb021cf
2 changed files with 8 additions and 2 deletions

View File

@ -15,7 +15,10 @@ Link:
"115000": 1200 # Caithness Moray HVDC
index:
"14804": 1400 # North-Sea link (NSN Link)
"11679": 1700 # NO-DK Skagerrak
"14822": 700 # NO-DK Skagerrak 4
"14827": 440 # NO-DK Skagerrak 3
"14810": 500 # NO-DK Skagerrak 1-2
"11679": 940 # NO-DK Skagerrak joint 1-3
"14806": 1440 # SE-SE
"14819": 250 # Hassing-Lindome
"14803": 700 # Cobra DK-NL
@ -36,7 +39,6 @@ Link:
bus1:
index:
"12931": "8152" # BorWin3
"11679": "6398" #fix bus-id of substation in NO
"5582": "2382" # combine link 5583 + 5582 in 5582 (Sardinia)
"13589": "1349" # combine link 13589 + 13588 in 13589 (Sardinia)
length:

View File

@ -163,6 +163,10 @@ def _load_links_from_eg(buses, eg_links):
dtype=dict(link_id='str', bus0='str', bus1='str', under_construction="bool"))
.set_index('link_id'))
# Skagerrak Link is connected to 132kV bus which is removed in _load_buses_from_eg.
# Connect to neighboring 380kV bus
links.at[['14822', '14827', '14810'], 'bus1'] = '6398'
links['length'] /= 1e3
links = _remove_dangling_branches(links, buses)