Included locations¶
[1]:
import pprint
[2]:
from optiwindnet.importer import load_repository
from optiwindnet.svg import svgplot
[3]:
from optiwindnet.svg import svgplot
[4]:
%config InlineBackend.figure_formats = ['svg']
load_repository() reads the .osm.pbf and .yaml locations distributed with optiwindnet into a namedtuple of networkx graphs containing location data.
[5]:
locations = load_repository()
[6]:
pprint.pp(sorted(locations._fields), compact=True)
print(f'Location count: {len(locations)}')
['albatros', 'amalia', 'amrumbank', 'anglia', 'anholt', 'arkona', 'baltic2',
'bard', 'beatrice', 'belwind', 'binhainorthH2', 'bodhi', 'borkum', 'borkum2',
'borkum3', 'borssele', 'brieuc', 'bucht', 'butendiek', 'cazzaro_2022',
'cazzaro_2022G140', 'cazzaro_2022G210', 'changhua1', 'coastalva', 'dantysk',
'doggerA', 'doggerB', 'doggerC', 'dudgeon', 'eagle', 'fecamp', 'gabbin',
'galloper', 'gangkou1', 'gangkou2', 'gemini1', 'gemini2', 'glotech1', 'gode',
'gwynt', 'hedreiht', 'hohesee', 'horns', 'horns2', 'horns3', 'hornsea',
'hornsea2w', 'humber', 'inchcape', 'jiaxing1', 'kaskasi', 'kfA', 'kfB',
'kustzuid', 'lillgrund', 'lincs', 'london', 'luchterduinen', 'meerwind',
'merkur', 'mermaid', 'morayeast', 'moraywest', 'nanpeng', 'nazaire', 'neart',
'noirmoutier', 'nordsee', 'nordseeost', 'norther', 'northwind', 'nysted',
'ormonde', 'race', 'rampion', 'rental', 'riffgat', 'robin', 'rough',
'rudongH10', 'rudongH6', 'rudongH8', 'rudongdemo', 'rødsand2', 'sandbank',
'sands', 'seagreen', 'shengsi2', 'sheringham', 'sofia', 'taylor_2023',
'thanet', 'thor', 'treport', 'triborkum', 'triton', 'vejamate', 'vineyard',
'walney1', 'walney2', 'walneyext', 'wikinger', 'yi_2019', 'yunlin']
Location count: 104
[7]:
type(locations.sands)
[7]:
networkx.classes.graph.Graph
[8]:
svgplot(locations.sands)
[8]:
[9]:
svgplot(locations.sands, node_tag='label')
[9]:
[10]:
for L in sorted(locations, key=lambda loc: loc.graph['name']):
print(f'{L.graph['name']} ({L.graph['handle']}) : '
f'R = {L.graph['R']}, T = {L.graph['T']}')
Albatros (albatros) : R = 1, T = 16
Amrumbank West (amrumbank) : R = 1, T = 80
Anholt (anholt) : R = 1, T = 111
Arkona (arkona) : R = 1, T = 60
BARD Offshore 1 (bard) : R = 1, T = 80
Baltic 2 (baltic2) : R = 1, T = 80
Baltic Eagle (eagle) : R = 1, T = 50
Beatrice (beatrice) : R = 2, T = 84
Belwind (belwind) : R = 1, T = 55
Borkum Riffgrund 1 (borkum) : R = 1, T = 78
Borkum Riffgrund 2 (borkum2) : R = 1, T = 52
Borkum Riffgrund 3 (borkum3) : R = 1, T = 83
Borssele (borssele) : R = 2, T = 173
Butendiek (butendiek) : R = 1, T = 80
CECEP Yangjiang Nanpeng Island (nanpeng) : R = 1, T = 55
CGN Rudong Demonstration (rudongdemo) : R = 1, T = 38
Cazzaro-2022 (cazzaro_2022) : R = 1, T = 50
Cazzaro-2022G-140 (cazzaro_2022G140) : R = 3, T = 140
Cazzaro-2022G-210 (cazzaro_2022G210) : R = 3, T = 210
Coastal Virginia (coastalva) : R = 3, T = 176
DanTysk (dantysk) : R = 1, T = 80
Deutsche Bucht (bucht) : R = 1, T = 31
Dogger Bank A (doggerA) : R = 1, T = 95
Dogger Bank B (doggerB) : R = 1, T = 95
Dogger Bank C (doggerC) : R = 1, T = 87
Dudgeon (dudgeon) : R = 1, T = 67
East Anglia ONE (anglia) : R = 1, T = 102
Fecamp (fecamp) : R = 1, T = 71
Galloper Inner (galloper) : R = 1, T = 38
Gemini 1 (gemini1) : R = 1, T = 75
Gemini 2 (gemini2) : R = 1, T = 75
Global Tech 1 (glotech1) : R = 1, T = 80
Gode Wind 1 (gode) : R = 1, T = 55
Greater Changhua 1 (changhua1) : R = 1, T = 75
Greater Gabbard Inner (gabbin) : R = 1, T = 102
Gwynt y Mor (gwynt) : R = 2, T = 160
He Dreiht (hedreiht) : R = 1, T = 64
Hohe See (hohesee) : R = 1, T = 71
Hollandse Kust Zuid (kustzuid) : R = 2, T = 139
Horns Rev 1 (horns) : R = 1, T = 80
Horns Rev 2 (horns2) : R = 1, T = 91
Horns Rev 3 (horns3) : R = 1, T = 49
Hornsea One (hornsea) : R = 3, T = 174
Hornsea Two West (hornsea2w) : R = 1, T = 110
Huizhou Gangkou 1 (gangkou1) : R = 1, T = 40
Huizhou Gangkou 2 (gangkou2) : R = 1, T = 64
Humber Gateway (humber) : R = 1, T = 73
Inch Cape (inchcape) : R = 1, T = 72
Kaskasi (kaskasi) : R = 1, T = 38
Kriegers Flak A (kfA) : R = 1, T = 24
Kriegers Flak B (kfB) : R = 1, T = 48
Laoting Bodhi Island (bodhi) : R = 1, T = 75
Lillgrund (lillgrund) : R = 1, T = 48
Lincs (lincs) : R = 1, T = 75
London Array (london) : R = 2, T = 175
Luchterduinen (luchterduinen) : R = 1, T = 43
Meerwind (meerwind) : R = 1, T = 80
Merkur (merkur) : R = 1, T = 66
Mermaid (mermaid) : R = 1, T = 27
Moray East (morayeast) : R = 3, T = 100
Moray West (moraywest) : R = 2, T = 60
Neart na Gaoithe (neart) : R = 2, T = 54
Noirmoutier (noirmoutier) : R = 1, T = 61
Nordsee One (nordsee) : R = 1, T = 54
Nordsee Ost (nordseeost) : R = 1, T = 48
Norther (norther) : R = 1, T = 44
Northwind (northwind) : R = 1, T = 72
Nysted (nysted) : R = 1, T = 72
Ormonde (ormonde) : R = 1, T = 30
Princess Amalia (amalia) : R = 1, T = 60
Race Bank (race) : R = 2, T = 91
Rampion (rampion) : R = 1, T = 116
Rentel (rental) : R = 1, T = 42
Riffgat (riffgat) : R = 1, T = 30
Robin Rigg (robin) : R = 1, T = 60
Rudong H10 (rudongH10) : R = 1, T = 100
Rudong H6 (rudongH6) : R = 1, T = 100
Rudong H8 (rudongH8) : R = 1, T = 65
Rødsand 2 (rødsand2) : R = 1, T = 90
SPIC Binhai North H2 (binhainorthH2) : R = 1, T = 100
Saint-Brieuc (brieuc) : R = 1, T = 62
Saint-Nazaire (nazaire) : R = 1, T = 80
Sandbank (sandbank) : R = 1, T = 72
Seagreen (seagreen) : R = 1, T = 114
Shengsi 2 (shengsi2) : R = 1, T = 63
Sheringham Shoal (sheringham) : R = 2, T = 88
Sofia (sofia) : R = 1, T = 100
Taylor-2023 (taylor_2023) : R = 2, T = 122
Thanet (thanet) : R = 1, T = 100
Thor (thor) : R = 1, T = 72
Trianel Windpark Borkum (triborkum) : R = 1, T = 72
Triton Knoll (triton) : R = 2, T = 90
Tréport (treport) : R = 1, T = 62
Veja Mate (vejamate) : R = 1, T = 67
Vineyard Wind 1 (vineyard) : R = 1, T = 62
Walney 1 (walney1) : R = 1, T = 51
Walney 2 (walney2) : R = 1, T = 51
Walney Extension (walneyext) : R = 2, T = 87
West of Duddon Sands (sands) : R = 1, T = 108
Westermost Rough (rough) : R = 1, T = 35
Wikinger (wikinger) : R = 1, T = 70
Yi-2019 (yi_2019) : R = 2, T = 119
Yunlin (yunlin) : R = 2, T = 80
Zhejiang Jiaxing 1 (jiaxing1) : R = 1, T = 74