Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature jg #6

Merged
merged 40 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c67800b
added wasserstoff kernnetz
JulianGeis Jan 12, 2024
44038be
added divide_pipes option
JulianGeis Jan 15, 2024
0e542ca
bug fix
JulianGeis Jan 16, 2024
7003ed4
final adjustments wasserstoff kernnetz
JulianGeis Jan 16, 2024
5c422f9
wasserstoff kernnetz git hustle
JulianGeis Jan 16, 2024
44fc702
Snakemake update
JulianGeis Jan 17, 2024
4480d44
added locations in data folder
JulianGeis Jan 17, 2024
a9d7859
testing and tidy up
JulianGeis Jan 17, 2024
e5ab770
wildcard constraints
JulianGeis Jan 18, 2024
1077bbb
Merge branch 'master' into feature_jg
JulianGeis Jan 18, 2024
2e862d0
update referencing pypsa europe
JulianGeis Jan 18, 2024
8538df2
testing and tidy up
JulianGeis Jan 17, 2024
63345b6
cleaned Snakefile
JulianGeis Jan 19, 2024
1e19d1f
feature_jg: code review
fneum Jan 22, 2024
2453818
Update build_wasserstoff_kernnetz.py
JulianGeis Jan 22, 2024
438a559
adding ipcei bool and gas cap
JulianGeis Jan 24, 2024
25a441b
updated submodules
JulianGeis Jan 24, 2024
d445e89
add dummy script to modify energy totals
nworbmot Jan 19, 2024
6ec8c1b
move fixed profile for new boilers to new modify_prenetwork script
nworbmot Jan 19, 2024
26526c8
existing_heating is now an input to script to build distribution
nworbmot Jan 19, 2024
daf1dbc
fix boiler and retrofitting bugs
nworbmot Jan 24, 2024
654ee6d
implement option to ban new fossil decentral boilers
nworbmot Jan 24, 2024
988e89c
implement option to ban coal generation from a year onwards
nworbmot Jan 24, 2024
fc5fc8b
merged current master into feature branch
JulianGeis Jan 12, 2024
3ff6cd4
added divide_pipes option
JulianGeis Jan 15, 2024
36aeb9d
Snakemake update
JulianGeis Jan 17, 2024
2b0b97d
testing and tidy up
JulianGeis Jan 17, 2024
725a332
wildcard constraints
JulianGeis Jan 18, 2024
b7494a5
testing and tidy up
JulianGeis Jan 17, 2024
3336753
feature_jg: code review
fneum Jan 22, 2024
65550b4
updated Snakefile and updated submodules
JulianGeis Jan 25, 2024
5177603
Integration of wasserstoff kernnetz into modify_prenetwork
JulianGeis Jan 30, 2024
47c26db
more conservative removal of retrofitting pipes
JulianGeis Jan 31, 2024
a0b134c
last modifications and config
JulianGeis Feb 1, 2024
3bf7617
changed submoduls to latest ariadne 2
JulianGeis Feb 1, 2024
04857cb
Merge branch 'master' into feature_jg
fneum Feb 1, 2024
58e89e4
Merge branch 'master' into feature_jg
fneum Feb 5, 2024
ef5afa0
wasserstoffkernnetz: fneum's revision
fneum Feb 5, 2024
e9965ac
Update config/config.yaml
fneum Feb 5, 2024
59aba91
Merge branch 'master' into feature_jg
fneum Feb 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ iiasa_database:
scenario: 8Gt_EnSec
region: Deutschland


# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#foresight
foresight: myopic

Expand Down Expand Up @@ -129,13 +130,18 @@ h2_import_max:
2040: 100
2050: 200

wasserstoff_kernnetz:
enable: true
reload_locations: false
divide_pipes: false
fneum marked this conversation as resolved.
Show resolved Hide resolved
pipes_segment_length: 10

new_decentral_fossil_boiler_ban:
DE: 2029

coal_generation_ban:
DE: 2038


# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#sector
sector:
district_heating:
Expand Down Expand Up @@ -214,3 +220,4 @@ solving:
plotting:
tech_colors:
load: "#111100"
H2 pipeline (Kernnetz): '#6b3161'
254 changes: 254 additions & 0 deletions data/wasserstoff_kernnetz/locations_wasserstoff_kernnetz.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
,location,state,point
0,Brunsbüttel,Schleswig-Holstein,POINT (9.1395423 53.8972549)
1,Ahlten,Niedersachsen,POINT (9.9119656 52.3650694)
2,Balve-Eisborn,Nordrhein-Westfalen,POINT (7.8838676 51.3870558)
3,Reutles,Bayern,POINT (11.0246344 49.5343175)
4,Hochheim,Hessen,POINT (8.3514488 50.0145517)
5,Legden,Nordrhein-Westfalen,POINT (7.099754098013676 52.03269789265483)
6,Kulkwitz,Sachsen,POINT (12.2324261 51.283959)
7,Marl,Nordrhein-Westfalen,POINT (7.0829054 51.6485843)
8,Mühlberg,Sachsen,POINT (13.1725218 51.5046897)
9,Klein Offenseth,Schleswig-Holstein,POINT (9.683364 53.7847143)
10,Hemmingstedt,Schleswig-Holstein,POINT (9.08263 54.1506435)
11,Huntorf,Niedersachsen,POINT (8.3897014 53.1956997)
12,Sandkrug,Niedersachsen,POINT (8.257391972093515 53.0538793739347)
13,Wiederitzsch,Sachsen,POINT (12.374251 51.3941234)
14,Finsing,Bayern,POINT (11.8253553 48.2167439)
15,Ismaning Nord,Bayern,POINT (11.6608879 48.2110287)
16,Seyweiler,Saarland,POINT (7.2691502 49.161041)
17,Carling,Saarland,POINT (6.713267207127634 49.16738919353264)
18,Fürstenhausen,Saarland,POINT (6.8654184 49.2431689)
19,Leidingen,Saarland,POINT (6.6109318 49.3086764)
20,Perl,Saarland,POINT (6.3874514 49.4735915)
21,March,Baden-Württemberg,POINT (7.7790038 48.0578573)
22,Forchheim,Bayern,POINT (11.0595749 49.7187319)
23,Lengthal,Bayern,POINT (12.805992 48.1818627)
24,Münchsmünster,Bayern,POINT (11.6864502 48.7630342)
25,Schmidhausen,Bayern,POINT (11.8304698 48.4235449)
27,Schnaitsee,Bayern,POINT (12.3686999 48.0702334)
28,Irsching (Menning),Bayern,POINT (11.5730893 48.7574014)
29,Mailing,Bayern,POINT (11.478937018588255 48.774092800000005)
30,Zöllnitz,Sachsen-Anhalt,POINT (11.7003344 52.0089065)
31,Lubmin,Mecklenburg-Vorpommern,POINT (13.612798 54.1318409)
32,Uckermark,Brandenburg,POINT (13.915135050326025 53.24526305)
33,Bobbau,Sachsen-Anhalt,POINT (12.269345975889912 51.69045938775995)
34,Radeland,Brandenburg,POINT (13.5537371 52.0630691)
35,Wolfsbehringen,Thüringen,POINT (10.4890767 51.0066759)
36,Stadtroda,Thüringen,POINT (11.7263639 50.8582666)
37,Rückersdorf,Thüringen,POINT (12.21941992347776 50.822251899358236)
38,Dürrengleina,Thüringen,POINT (11.5378974 50.8571407)
39,Reckrod,Hessen,POINT (9.795001 50.7751551)
42,Zethau,Sachsen,POINT (13.3837749 50.7773525)
44,Wilhelmshaven,Niedersachsen,POINT (8.106301 53.5278793)
45,Sande,Niedersachsen,POINT (8.0144916 53.5027182)
47,Oude Statenzijl,Niedersachsen,POINT (7.205108658430258 53.20183834422634)
48,Folmhusen,Niedersachsen,POINT (7.4794643 53.1730626)
50,Ganderkesee,Niedersachsen,POINT (8.5451469 53.0344984)
52,Dötlingen,Niedersachsen,POINT (8.3820642 52.9356656)
53,Visbeck,Niedersachsen,POINT (8.310468203836264 52.834518912466216)
54,Achim,Niedersachsen,POINT (9.039649 53.0096048)
56,Heidenau,Niedersachsen,POINT (9.6531686 53.3139784)
57,Fockbek,Schleswig-Holstein,POINT (9.6067007 54.3065487)
59,Eckel,Niedersachsen,POINT (9.9233342 53.3512004)
60,Luttum,Niedersachsen,POINT (9.2992445 52.8957679)
61,Kolshorn,Niedersachsen,POINT (9.940178157648713 52.41249285000001)
63,Quarnstedt,Schleswig-Holstein,POINT (9.7866367 53.954381)
65,Schepsdorf,Niedersachsen,POINT (7.2881111 52.5092543)
67,Frenswegen,Niedersachsen,POINT (7.0377193 52.4547637)
68,Rehden,Niedersachsen,POINT (8.476178919627396 52.60675277527164)
69,Voigtei,Niedersachsen,POINT (8.9226462 52.6081821)
70,Kohlshorn,Niedersachsen,POINT (9.940178157648713 52.41249285000001)
72,Reiningen,Niedersachsen,POINT (8.374879149975513 52.50849502371421)
74,Lehringen,Niedersachsen,POINT (9.4010201 52.8825054)
75,Weser,Niedersachsen,POINT (9.2181918 52.6410849)
76,Vinnhorst,Niedersachsen,POINT (9.7032801 52.4222536)
77,Misburg,Niedersachsen,POINT (9.8612306 52.3735637)
78,Gersten,Niedersachsen,POINT (7.4953102 52.5709728)
79,Emsbüren,Niedersachsen,POINT (7.2959699 52.3927616)
80,Vreden,Nordrhein-Westfalen,POINT (6.8236481 52.035862)
81,Gescher,Nordrhein-Westfalen,POINT (7.0038803 51.956874)
83,Wettringen,Nordrhein-Westfalen,POINT (7.3218939 52.2103897)
84,Albachten,Nordrhein-Westfalen,POINT (7.5273089 51.9218529)
85,Ascheberg,Nordrhein-Westfalen,POINT (7.6196825 51.7886689)
86,Werne,Nordrhein-Westfalen,POINT (7.6355052 51.66268)
88,Paffrath,Nordrhein-Westfalen,POINT (7.1000318 50.9994265)
89,Niederkassel,Nordrhein-Westfalen,POINT (7.0351942 50.8137102)
90,Birlinghoven,Nordrhein-Westfalen,POINT (7.2241731 50.7479113)
91,Rüsselsheim,Hessen,POINT (8.4138251 49.991701)
93,Westhofen,Nordrhein-Westfalen,POINT (7.5334109 51.4249817)
94,Medelsheim,Saarland,POINT (7.2672779 49.1444166)
95,Mittelbrunn,Rheinland-Pfalz,POINT (7.549097 49.3708476)
96,Gernsheim,Hessen,POINT (8.4861853 49.7505186)
97,Rimpar,Bayern,POINT (9.95903408726619 49.8530509)
98,Rothenstadt,Bayern,POINT (12.1396079 49.6338326)
99,Bad Bentheim,Niedersachsen,POINT (7.1605921 52.3024786)
100,Ledgen,Nordrhein-Westfalen,POINT (7.099754098013676 52.03269789265483)
101,St. Hubert,Nordrhein-Westfalen,POINT (6.4524179 51.382662)
102,Glehn,Nordrhein-Westfalen,POINT (6.5766765 51.1650012)
103,Voigtslach,Nordrhein-Westfalen,POINT (6.934751 51.0749889)
104,Ketzin,Brandenburg,POINT (12.8443972 52.4769264)
105,Buchholz,Brandenburg,POINT (12.929212986885771 52.15737808332214)
106,Bobbau,Sachsen,POINT (12.269345975889912 51.69045938775995)
108,Schkeuditz,Sachsen,POINT (12.2216292 51.3963509)
109,Lüptitz,Sachsen,POINT (12.7716385 51.3933612)
110,Rüdersdorf,Brandenburg,POINT (13.784527 52.471293)
111,Vogelsdorf,Brandenburg,POINT (13.7601248 52.5076938)
112,Wefensleben,Sachsen-Anhalt,POINT (11.15557835653467 52.176005656180244)
113,Wedringen,Sachsen-Anhalt,POINT (11.4654553 52.2727122)
114,Bernburg Dröbel,Sachsen-Anhalt,POINT (11.7768217 51.7989678)
115,Bernburg,Sachsen-Anhalt,POINT (11.7391606 51.7930788)
116,Bad Lauchstädt,Sachsen-Anhalt,POINT (11.869106908389433 51.38797498313352)
118,Milzau,Sachsen-Anhalt,POINT (11.8989296 51.3757611)
120,Leuna,Sachsen-Anhalt,POINT (12.0195081 51.3233638)
122,Cavertitz,Sachsen,POINT (13.1301296 51.3869974)
123,Kleinziethen,Brandenburg,POINT (13.4452219 52.3802493)
124,Heidelberg,Baden-Württemberg,POINT (8.694724 49.4093582)
125,Heilbronn,Baden-Württemberg,POINT (9.218655 49.142291)
126,Löchgau,Baden-Württemberg,POINT (9.1053914 49.0024253)
127,Bad Krozingen,Baden-Württemberg,POINT (7.7033313 47.9118288)
128,Hittistetten,Baden-Württemberg,POINT (10.09644829589717 48.32667870548472)
129,Elten,Nordrhein-Westfalen,POINT (6.1620438 51.8731461)
130,Uedener Bruch,Nordrhein-Westfalen,POINT (6.2940229 51.6682254)
132,Gescher Süd,Nordrhein-Westfalen,POINT (7.027887397926482 51.94277415)
133,Amelsbüren,Nordrhein-Westfalen,POINT (7.6059771 51.8833893)
134,Möllen,Nordrhein-Westfalen,POINT (6.6942745 51.5809193)
135,Vlieghuis,Nordrhein-Westfalen,POINT (6.8382504272201095 52.66036497820981)
136,Kalle,Nordrhein-Westfalen,POINT (6.921180663621839 52.573992586428425)
137,Wallach,Nordrhein-Westfalen,POINT (6.5711307 51.5956853)
139,Bissingen,Bayern,POINT (10.6158383 48.7177493)
140,Kötz,Bayern,POINT (10.289760282067878 48.40444315)
142,Niederhohndorf,Thüringen,POINT (12.466430165766688 50.7532612203904)
143,Waidhaus,Bayern,POINT (12.4955813 49.6428282)
144,Arzberg,Bayern,POINT (12.1859087 50.0567356)
145,Rostock,Mecklenburg-Vorpommern,POINT (12.1400211 54.0886707)
146,SEN-1,AWZ D Nordsee,POINT (6.5 55)
147,Helgoland,AWZ D Nordsee,POINT (7.882663327316698 54.183393795580166)
148,AWZ,AWZ D Ostsee,POINT (14.220711180456643 54.429208831326804)
149,Edesbüttel,Niedersachsen,POINT (10.6252392 52.4053764)
150,Lampertheim,Hessen,POINT (8.4093474 49.6239449)
151,Ludwigshafen,Baden-Württemberg,POINT (8.444314472678961 49.477207809634784)
152,Emden Ost,Niedersachsen,POINT (7.208170859556342 53.34411255)
153,Bunde,Niedersachsen,POINT (7.2695448 53.184017)
154,Rastede,Niedersachsen,POINT (8.201904 53.2467081)
155,Elsfleth,Niedersachsen,POINT (8.4571037 53.2357029)
156,Heist,Schleswig-Holstein,POINT (9.6664509 53.6528424)
157,Ellund,Schleswig-Holstein,POINT (9.3224522 54.7865236)
158,Peine,Niedersachsen,POINT (10.2349489 52.3217849)
159,Barßel,Niedersachsen,POINT (7.7434171 53.1699986)
160,Wardenburg,Niedersachsen,POINT (8.1945038 53.0654681)
167,Egenstedt,Niedersachsen,POINT (9.9934217 52.1010937)
168,Hanekenfähr,Niedersachsen,POINT (7.3039222 52.4697713)
169,Wilhelmshaven Nord,Niedersachsen,POINT (8.102611826217313 53.57990075)
172,Emden West,Niedersachsen,POINT (7.17328769741499 53.35350955)
173,Bottrop,Nordrhein-Westfalen,POINT (6.929204 51.521581)
174,Eynatten,Nordrhein-Westfalen,POINT (6.083339457526605 50.69260916361823)
176,Wiesbaden,Hessen,POINT (8.2416556 50.0820384)
177,Schillig,Niedersachsen,POINT (8.0235529 53.7033668)
178,Dykhausen,Niedersachsen,POINT (7.9665652 53.5031607)
180,Heek,Nordrhein-Westfalen,POINT (7.1011759 52.1242301)
181,Dorsten,Nordrhein-Westfalen,POINT (6.9647431 51.6604071)
183,Hamborn,Nordrhein-Westfalen,POINT (6.772532547024161 51.5041215)
184,Krefeld,Nordrhein-Westfalen,POINT (6.5623343 51.3331205)
185,Neumühl,Nordrhein-Westfalen,POINT (6.7973866 51.4902985)
189,Dannenreich,Brandenburg,POINT (13.7489708 52.3146936)
191,Havellandkanal,Brandenburg,POINT (13.2461296 52.8455492)
193,Eisenhüttenstadt,Brandenburg,POINT (14.6294413 52.1448863)
194,Gosda,Brandenburg,POINT (14.6360307 51.6364028)
195,Salzgitter,Sachsen-Anhalt,POINT (10.386847343138689 52.13861418123843)
196,Halle,Sachsen-Anhalt,POINT (11.9705452 51.4825041)
197,Nempitz,Sachsen-Anhalt,POINT (12.1478216 51.291215)
198,Kienbaum,Brandenburg,POINT (13.9571532 52.4554736)
199,Glasewitz,Mecklenburg-Vorpommern,POINT (12.2823709 53.8194539)
200,Pritzwalk,Brandenburg,POINT (12.1761903 53.1492896)
203,Biesenbrow,Brandenburg,POINT (14.0155881 53.1191146)
204,Schwedt,Brandenburg,POINT (14.2840858 53.0586366)
205,Brusendorf,Brandenburg,POINT (13.509532 52.3093902)
206,Böhlen,Sachsen,POINT (12.3859676 51.2027284)
207,Bad Dürrenberg,Sachsen-Anhalt,POINT (12.0665175 51.2998551)
208,Coswig,Sachsen,POINT (13.5783983 51.1267305)
209,Uhrsleben,Sachsen-Anhalt,POINT (11.264415698864283 52.1991685)
210,Lampertheim,Baden-Württemberg,POINT (8.5109914 49.5260921)
211,Altbach,Baden-Württemberg,POINT (9.3807848 48.7244372)
212,Fessenheim,Baden-Württemberg,POINT (7.5352027843079 47.91300212650956)
214,Oberaußem,Nordrhein-Westfalen,POINT (6.6794102 50.9735806)
215,Kalscheuren,Nordrhein-Westfalen,POINT (6.9074954 50.8753279)
216,Dormagen,Nordrhein-Westfalen,POINT (6.8407931 51.0941656)
217,Recklinghausen,Nordrhein-Westfalen,POINT (7.1978546 51.6143815)
218,Rinkerode,Nordrhein-Westfalen,POINT (7.6847518 51.8457359)
220,Emsbüren,Nordrhein-Westfalen,POINT (7.5543751 51.4789205)
1,Salzgitter Hallendorf,Niedersachsen,POINT (10.3775522 52.1533277)
2,Arnsberg-Bruchhausen,Nordrhein-Westfalen,POINT (8.0252464 51.4263456)
3,Nürnberg,Bayern,POINT (11.077298 49.453872)
4,Mainz-Kastel,Hessen,POINT (8.2844378 50.0083449)
6,Lössnig,Sachsen,POINT (12.3959513 51.2992474)
7,Gelsenkirchen,Nordrhein-Westfalen,POINT (7.0960124 51.5110321)
8,Röderau,Sachsen,POINT (13.4644419 51.3879818)
10,Ascheberg (Holstein),Schleswig-Holstein,POINT (10.3423409 54.1483357)
11,Oldenburg,Niedersachsen,POINT (8.2146017 53.1389753)
12,Bramsche,Niedersachsen,POINT (7.9749336 52.4109547)
13,Sixdorf,Sachsen-Anhalt,POINT (11.8334655 51.7331641)
16,Dillingen,Saarland,POINT (6.7243197 49.3552721)
18,Saarbrücken,Saarland,POINT (6.996379 49.234362)
20,Besch,Saarland,POINT (6.3740372 49.5042645)
21,Freiburg,Baden-Württemberg,POINT (7.8494005 47.9960901)
23,Burgkirchen,Bayern,POINT (12.7307847 48.1676884)
25,Moosburg,Bayern,POINT (11.9333 48.4667)
28,Kösching,Bayern,POINT (11.4971139 48.8104641)
30,Bad Lauchstädt,Thüringen,POINT (11.869106908389433 51.38797498313352)
42,Deutschneudorf,Sachsen,POINT (13.4614048 50.6049366)
45,Jemgum,Niedersachsen,POINT (7.3834995 53.2667955)
48,Nüttermoor,Niedersachsen,POINT (7.4360347 53.2625382)
50,Bremen,Niedersachsen,POINT (8.795818388451732 53.077669699449594)
53,Lemförde,Niedersachsen,POINT (8.3738085 52.4647071)
56,Elbe-Süd,Niedersachsen,POINT (9.608042769377906 53.57422954537108)
59,Leversen,Niedersachsen,POINT (9.8959115 53.4071494)
65,Lingen,Niedersachsen,POINT (7.316584 52.5224659)
72,Georgsmarienhütte,Niedersachsen,POINT (8.05 52.2)
73,Rheden,Niedersachsen,POINT (8.476178919627396 52.60675277527164)
86,Ummeln,Nordrhein-Westfalen,POINT (8.4599606 51.9694347)
92,Wesseling,Nordrhein-Westfalen,POINT (6.9810852 50.8247166)
93,Herdecke,Nordrhein-Westfalen,POINT (7.4330062 51.4001119)
105,Piesteritz,Sachsen-Anhalt,POINT (12.5969035 51.8678903)
106,Großkugel,Sachsen-Anhalt,POINT (12.151584743366769 51.4166927585755)
111,Blumberg,Brandenburg,POINT (13.6015561 52.607472)
113,Glöthe,Sachsen-Anhalt,POINT (11.6734539 51.9100444)
115,Preußlitz,Sachsen-Anhalt,POINT (11.8119764 51.7331789)
118,Großkugel,Sachsen,POINT (12.151584743366769 51.4166927585755)
123,Osdorfer Straße,Brandenburg,POINT (13.2711292 52.4003307)
128,Lindau,Baden-Württemberg,POINT (9.690886766574819 47.55387858107057)
130,Wardt,Nordrhein-Westfalen,POINT (6.4371478 51.688944)
136,Ochtrup,Nordrhein-Westfalen,POINT (7.188806 52.2102308)
137,Xanten,Nordrhein-Westfalen,POINT (6.4543203 51.661519)
138,Bergheim,Nordrhein-Westfalen,POINT (6.6410004 50.9540457)
139,Wertingen,Bayern,POINT (10.6808075 48.5601209)
140,Hittistetten (Senden),Bayern,POINT (10.0955295 48.3278287)
142,Rückersdorf,Sachsen,POINT (12.21941992347776 50.822251899358236)
145,Wrangelsburg,Mecklenburg-Vorpommern,POINT (13.5944793 54.016375)
150,Ludwighafen,Rheinland-Pfalz,POINT (8.4381568 49.4704113)
151,Karlsruhe,Rheinland-Pfalz,POINT (8.29684904101257 49.056995900000004)
154,Westerstede,Niedersachsen,POINT (7.9273367 53.2575197)
155,Bremerhaven,Niedersachsen,POINT (8.5979065 53.6040332)
157,Niebüll,Schleswig-Holstein,POINT (8.8255846 54.7869088)
158,Hallendorf,Niedersachsen,POINT (10.3775522 52.1533277)
169,Wilhelmshaven Süd,Niedersachsen,POINT (8.1153355 53.5187847)
171,Wettringen,Niedersachsen,POINT (9.075962 52.8398531)
173,Gladbeck,Nordrhein-Westfalen,POINT (6.9877343 51.5718665)
175,Ludwigshafen,Hessen,POINT (8.444314472678961 49.477207809634784)
176,Frankfurt,Hessen,POINT (8.6820917 50.1106444)
180,Epe,Nordrhein-Westfalen,POINT (7.0283370514193555 52.17018885)
186,Hamm,Nordrhein-Westfalen,POINT (7.815197 51.6804093)
191,Falkenhöh,Brandenburg,POINT (13.141735 52.5695382)
194,Spreetal,Brandenburg,POINT (13.9011346 52.3971347)
195,Wefensleben,Niedersachsen,POINT (11.15557835653467 52.176005656180244)
196,Cörmigk,Sachsen-Anhalt,POINT (11.8413647 51.7265394)
202,Brandenburg a.d. Havel,Brandenburg,POINT (12.5497933 52.4108261)
204,Mescherin,Brandenburg,POINT (14.425521097275155 53.25520185)
206,Borna,Sachsen,POINT (12.4999055 51.1241649)
208,Dresden,Sachsen,POINT (13.7381437 51.0493286)
211,Bissingen,Baden-Württemberg,POINT (10.6158383 48.7177493)
213,Averbruch,Nordrhein-Westfalen,POINT (6.74367564842036 51.54893875)
214,Weiden,Nordrhein-Westfalen,POINT (7.2411269 51.0625299)
216,Merkenich,Nordrhein-Westfalen,POINT (6.9579743 51.0258343)
217,Leverkusen,Nordrhein-Westfalen,POINT (6.9881194 51.0324743)
218,Uentrop,Nordrhein-Westfalen,POINT (7.940585 51.6926159)
219,Eisenach,Thüringen,POINT (10.3193565 50.9747134)
48 changes: 46 additions & 2 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: MIT

from snakemake.remote.HTTP import RemoteProvider as HTTPRemoteProvider

HTTP = HTTPRemoteProvider()

configfile: "workflow/submodules/pypsa-eur/config/config.default.yaml"
configfile: "config/config.yaml"
configfile: "config/config.personal.yaml"
Expand All @@ -22,7 +26,6 @@ wildcard_constraints:
opts="[-+a-zA-Z0-9\.]*",
sector_opts="[-+a-zA-Z0-9\.\s]*",


module pypsaeur:
snakefile:
"submodules/pypsa-eur/Snakefile"
Expand Down Expand Up @@ -92,9 +95,14 @@ rule modify_cost_data:


rule modify_prenetwork:
params:
enable_kernnetz=config["wasserstoff_kernnetz"]["enable"],
costs=config["costs"],
input:
network=RESULTS
+ "prenetworks-brownfield/elec_s{simpl}_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc"
+ "prenetworks-brownfield/elec_s{simpl}_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc",
wkn="resources/wasserstoff_kernnetz_elec_s{simpl}_{clusters}.csv",
costs="data/costs_{planning_horizons}.csv",
output:
network=RESULTS
+ "prenetworks-final/elec_s{simpl}_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc"
Expand Down Expand Up @@ -151,3 +159,39 @@ use rule build_population_weighted_energy_totals from pypsaeur with:
input:
**{k: v for k, v in rules.build_population_weighted_energy_totals.input.items() if k != "energy_totals"},
energy_totals=RESOURCES + "energy_totals-modified.csv",

if config["wasserstoff_kernnetz"]["enable"]:

rule build_wasserstoff_kernnetz:
input:
wasserstoff_kernnetz_1=HTTP.remote(
"https://fnb-gas.de/wp-content/uploads/2023/11/2023_11_15_Anlage2_Leitungsmeldungen_weiterer_potenzieller_Wasserstoffnetzbetreiber_Veroeffentlichung_final.xlsx",
keep_local=True,
static=True,
),
wasserstoff_kernnetz_2=HTTP.remote(
"https://fnb-gas.de/wp-content/uploads/2023/11/2023_11_15_Anlage3_FNB_Massnahmenliste_Veroeffentlichung_final.xlsx",
keep_local=True,
static=True,
),
gadm=HTTP.remote(
"https://geodata.ucdavis.edu/gadm/gadm4.1/json/gadm41_DEU_1.json.zip",
keep_local=True,
static=True
),
locations="data/wasserstoff_kernnetz/locations_wasserstoff_kernnetz.csv",
output:
cleaned_wasserstoff_kernnetz="resources/wasserstoff_kernnetz.csv",
script:
"scripts/build_wasserstoff_kernnetz.py"


rule cluster_wasserstoff_kernnetz:
input:
cleaned_h2_network="resources/wasserstoff_kernnetz.csv",
regions_onshore="resources/regions_onshore_elec_s{simpl}_{clusters}.geojson",
regions_offshore="resources/regions_offshore_elec_s{simpl}_{clusters}.geojson",
output:
clustered_h2_network="resources/wasserstoff_kernnetz_elec_s{simpl}_{clusters}.csv",
script:
"scripts/cluster_wasserstoff_kernnetz.py"
Loading