-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
423 lines (393 loc) · 14.8 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
version: 0.4.0
logging_level: INFO
results_dir: static/results/
summary_dir: static/results
run: 'replace_by_server'
foresight: 'overnight' #options are overnight, myopic, perfect
scenario:
lv: opt #, 1.125, 1.25, 1.5, 2.0]# or opt
clusters: 45 #[37m,90, 128, 181] #[45, 64, 90, 128, 181, 256] #, 362] # (2**np.r_[5.5:9:.5]).astype(int) minimum is 37
frequency: 193
region: EU
transport: True
biomass: True
heating: True
biomass: True
industry: True
solar_cost: 302.
offwind_cost: 1416.
onwind_cost: 963.
nuclear_cost : 7940.
electrolysis_cost: 500.
h2_pipeline_cost: 267.
land_transmission_cost: 400.
solar_potential: 1.
offwind_potential: 1.
onwind_potential: 1.
linemax_extension: 10. # [456H-T-H-B-I-solar+p3-offwind+p0.67-dist1-linemaxext10]
line_volume: 1.5
co2_limit: 0.
# Co2L will give default (5%); Co2L0p25 will give 25% CO2 emissions; Co2Lm0p05 will give 5% negative emissions
planning_horizon: 2050 #timesteps for myopic and perfect
decentral: False
noH2network: False
tes : True
central : True
v2g : True #allows feed-in to grid from EV battery
bev_dsm : True #turns on EV battery
#what is not EV or FCEV is oil-fuelled
land_transport_electric_share: 0.85
land_transport_fuel_cell_share: 0.15
space_heat_demand : 0.71
water_heat_demand : 1.
electricity_demand : 0.9
land_transport_demand : 1.
shipping_demand : 1.
aviation_demand : 1.2
industry_demand : 0.9
co2_sequestration_potential : 200. #MtCO2/a sequestration potential for Europe
co2_sequestration_cost : 20. #EUR/tCO2 for transport and sequestration of CO2
# CO2 budget as a fraction of 1990 emissions
# this is over-ridden if CO2Lx is set in sector_opts
co2_budget:
2020: 0.7011648746
2025: 0.5241935484
2030: 0.2970430108
2035: 0.1500896057
2040: 0.0712365591
2045: 0.0322580645
2050: 0
# snapshots are originally set in PyPSA-Eur/config.yaml but used again by PyPSA-Eur-Sec
snapshots:
# arguments to pd.date_range
start: "2013-01-01"
end: "2014-01-01"
closed: 'left' # end is not inclusive
atlite:
cutout_dir: '../pypsa-eur/cutouts'
cutout_name: "europe-2013-era5"
# this information is NOT used but needed as an argument for
# pypsa-eur/scripts/add_electricity.py/load_costs in make_summary.py
electricity:
max_hours:
battery: 6
H2: 168
# regulate what components with which carriers are kept from PyPSA-Eur;
# some technologies are removed because they are implemented differently
# or have different year-dependent costs in PyPSA-Eur-Sec
pypsa_eur:
"Bus": ["AC"]
"Link": ["DC"]
"Generator": ["onwind", "offwind-ac", "offwind-dc", "solar", "ror"]
"StorageUnit": ["PHS","hydro"]
"Store": []
biomass:
year: 2030
scenario: "Med"
classes:
solid biomass: ['Primary agricultural residues', 'Forestry energy residue', 'Secondary forestry residues', 'Secondary Forestry residues - sawdust', 'Forestry residues from landscape care biomass', 'Municipal waste']
not included: ['Bioethanol sugar beet biomass', 'Rapeseeds for biodiesel', 'sunflower and soya for Biodiesel', 'Starchy crops biomass', 'Grassy crops biomass', 'Willow biomass', 'Poplar biomass potential', 'Roundwood fuelwood', 'Roundwood Chips & Pellets']
biogas: ['Manure biomass potential', 'Sludge biomass']
# only relevant for foresight = myopic or perfect
existing_capacities:
grouping_years: [1980, 1985, 1990, 1995, 2000, 2005, 2010, 2015, 2019]
threshold_capacity: 10
conventional_carriers: ['lignite', 'coal', 'oil', 'uranium']
sector:
'central_fraction' : 0.6
'bev_dsm_restriction_value' : 0.75 #Set to 0 for no restriction on BEV DSM
'bev_dsm_restriction_time' : 7 #Time at which SOC of BEV has to be dsm_restriction_value
'transport_heating_deadband_upper' : 20.
'transport_heating_deadband_lower' : 15.
'ICE_lower_degree_factor' : 0.375 #in per cent increase in fuel consumption per degree above deadband
'ICE_upper_degree_factor' : 1.6
'EV_lower_degree_factor' : 0.98
'EV_upper_degree_factor' : 0.63
'district_heating_loss' : 0.15
'bev_availability' : 0.5 #How many cars do smart charging
'transport_fuel_cell_efficiency': 0.5
'transport_internal_combustion_efficiency': 0.3
'shipping_average_efficiency' : 0.4 #For conversion of fuel oil to propulsion in 2011
'time_dep_hp_cop' : True #time dependent heat pump coefficient of performance
'heat_pump_sink_T' : 55. # Celsius, based on DTU / large area radiators; used in build_cop_profiles.py
# conservatively high to cover hot water and space heating in poorly-insulated buildings
'reduce_space_heat_exogenously': True # reduces space heat demand by a given factor (applied before losses in DH)
# this can represent e.g. building renovation, building demolition, or if
# the factor is negative: increasing floor area, increased thermal comfort, population growth
'retrofitting' :
'retro_endogen': False # co-optimise space heat savings
'cost_factor' : 1.0
'interest_rate': 0.04 # for investment in building components
'annualise_cost': True # annualise the investment costs
'tax_weighting': False # weight costs depending on taxes in countries
'construction_index': True # weight costs depending on labour/material costs per ct
'tes_tau' : 3.
'boilers' : True
'oil_boilers': False
'chp' : True
'micro_chp' : False
'solar_thermal' : False
'solar_cf_correction': 0.788457 # = >>> 1/1.2683
'marginal_cost_storage' : 0. #1e-4
'methanation' : False
'helmeth' : True
'dac' : True
'co2_vent' : False
'SMR' : True
'cc_fraction' : 0.9 # default fraction of CO2 captured with post-combustion capture
'hydrogen_underground_storage' : True
'use_fischer_tropsch_waste_heat' : True
'use_fuel_cell_waste_heat' : True
'electricity_distribution_grid' : True
'electricity_distribution_grid_cost_factor' : 1.0 #multiplies cost in data/costs.csv
'electricity_grid_connection' : True # only applies to onshore wind and utility PV
'gas_distribution_grid' : True
'gas_distribution_grid_cost_factor' : 1.0 #multiplies cost in data/costs.csv
costs:
lifetime: 25 #default lifetime
# From a Lion Hirth paper, also reflects average of Noothout et al 2016
discountrate: 0.07
# [EUR/USD] ECB: https://www.ecb.europa.eu/stats/exchange/eurofxref/html/eurofxref-graph-usd.en.html # noqa: E501
USD2013_to_EUR2013: 0.7532
# Marginal and capital costs can be overwritten
# capital_cost:
# Wind: Bla
marginal_cost: #
solar: 0.01
onwind: 0.015
offwind: 0.015
hydro: 0.
H2: 0.
battery: 0.
emission_prices: # only used with the option Ep (emission prices)
co2: 0.
lines:
length_factor: 1.25 #to estimate offwind connection costs
solving:
#tmpdir: "path/to/tmp"
options:
formulation: kirchhoff
clip_p_max_pu: 1.e-2
load_shedding: false
noisy_costs: true
min_iterations: 1
max_iterations: 1
# nhours: 1
solver:
name: highs
#parallel: on
#run_crossover: False
#name: gurobi
#threads: 4
#method: 2 # barrier
#crossover: 0
#BarConvTol: 1.e-5
#Seed: 456
#AggFill: 0
#PreDual: 0
#GURO_PAR_BARDENSETHRESH: 200
#FeasibilityTol: 1.e-6
#name: cplex
#threads: 4
#lpmethod: 4 # barrier
#solutiontype: 2 # non basic solution, ie no crossover
#barrier_convergetol: 1.e-5
#feasopt_tolerance: 1.e-6
mem: 15000 #memory in MB; 20 GB enough for 50+B+I+H2; 100-115 GB for 181+B+I+H2
industry:
'St_primary_fraction' : 0.3 # fraction of steel produced via primary route (DRI + EAF) versus secondary route (EAF); today fraction is 0.6
'H2_DRI' : 1.7 #H2 consumption in Direct Reduced Iron (DRI), MWh_H2,LHV/ton_Steel from 51kgH2/tSt in Vogl et al (2018) doi:10.1016/j.jclepro.2018.08.279
'elec_DRI' : 0.322 #electricity consumption in Direct Reduced Iron (DRI) shaft, MWh/tSt HYBRIT brochure https://ssabwebsitecdn.azureedge.net/-/media/hybrit/files/hybrit_brochure.pdf
'Al_primary_fraction' : 0.2 # fraction of aluminium produced via the primary route versus scrap; today fraction is 0.4
'MWh_CH4_per_tNH3_SMR' : 10.8 # 2012's demand from https://ec.europa.eu/docsroom/documents/4165/attachments/1/translations/en/renditions/pdf
'MWh_elec_per_tNH3_SMR' : 0.7 # same source, assuming 94-6% split methane-elec of total energy demand 11.5 MWh/tNH3
'MWh_H2_per_tNH3_electrolysis' : 6.5 # from https://doi.org/10.1016/j.joule.2018.04.017, around 0.197 tH2/tHN3 (>3/17 since some H2 lost and used for energy)
'MWh_elec_per_tNH3_electrolysis' : 1.17 # from https://doi.org/10.1016/j.joule.2018.04.017 Table 13 (air separation and HB)
'NH3_process_emissions' : 24.5 # in MtCO2/a from SMR for H2 production for NH3 from UNFCCC for 2015 for EU28
'petrochemical_process_emissions' : 25.5 # in MtCO2/a for petrochemical and other from UNFCCC for 2015 for EU28
'HVC_primary_fraction' : 0.6 #fraction of current non-ammonia basic chemicals produced via primary route
plotting:
map:
figsize: [7, 7]
boundaries: [-10.2, 29, 35, 72]
p_nom:
bus_size_factor: 5.e+4
linewidth_factor: 3.e+3 # 1.e+3 #3.e+3
costs_max: 1000
costs_threshold: 0.001 #per unit of total costs
energy_max: 20000.
energy_min: -15000.
energy_threshold: 0.001 #per unit of total energy
vre_techs: ["onwind", "offwind-ac", "offwind-dc", "solar", "ror"]
renewable_storage_techs: ["PHS","hydro"]
conv_techs: ["OCGT", "CCGT", "Nuclear", "Coal"]
storage_techs: ["hydro+PHS", "battery", "H2"]
# store_techs: ["Li ion", "water tanks"]
load_carriers: ["AC load"] #, "heat load", "Li ion load"]
AC_carriers: ["AC line", "AC transformer"]
link_carriers: ["DC line", "Converter AC-DC"]
heat_links: ["heat pump", "resistive heater", "CHP heat", "CHP electric",
"gas boiler", "central heat pump", "central resistive heater", "central CHP heat",
"central CHP electric", "central gas boiler"]
heat_generators: ["gas boiler", "central gas boiler", "solar thermal collector", "central solar thermal collector"]
tech_colors:
"onwind" : "#0000FF"
"onshore wind" : "#0000FF"
'offwind' : "#00FFFF"
'offshore wind' : "#00FFFF"
'offwind-ac' : "#00FFFF"
'offshore wind (AC)' : "#00FFFF"
'offwind-dc' : "#009999"
'offshore wind (DC)' : "#009999"
'wave' : "#004444"
"hydro" : "#3B5323"
"hydro reservoir" : "#3B5323"
"ror" : "#78AB46"
"run of river" : "#78AB46"
'hydroelectricity' : '#006400'
'solar' : "#FFFF00"
'solar PV' : "#FFFF00"
'solar PV utility' : "#FFFF00"
'solar thermal' : '#FF7F50'
'solar rooftop' : '#e6b800'
'solar PV rooftop' : '#e6b800'
"OCGT" : "#F5DEB3"
"OCGT marginal" : "#F4A460"
"OCGT-heat" : "#FFA500"
"gas boiler" : "#FFA500"
"gas boilers" : "#FFA500"
"gas boiler marginal" : "#FFA500"
"gas-to-power/heat" : "#FFA500"
"gas" : "#964B00"
"methane" : "#964B00"
"fossil gas" : "#964B00"
"natural gas" : "#964B00"
"SMR" : "#4F4F2F"
"oil" : "#B5A642"
"liquid hydrocarbons" : "#B5A642"
"fossil oil" : "#B5A642"
"oil boiler" : "#B5A677"
"lines" : "#000000"
"transmission lines" : "#000000"
"H2" : "#FF00FF"
"hydrogen" : "#FF00FF"
"hydrogen storage" : "#FF70FF"
"H2 Electrolysis" : "#AF00AF"
"H2 Fuel Cell" : "#FF50FF"
"H2 pipeline" : "#EB00EB"
"H2 for industry" : "#FF70FF"
"H2 for shipping" : "#AF90AF"
"battery" : "#708090"
"battery storage" : "#708090"
"home battery" : "#614700"
"home battery storage" : "#614700"
"Nuclear" : "#FF0000"
"Nuclear marginal" : "#FF0000"
"nuclear" : "#FF0000"
"uranium" : "#FF7F7F"
"nuclear heat" : "#FF7F7F"
"Coal" : "#000000"
"coal" : "#000000"
"Coal marginal" : "#000000"
"Lignite" : "#808080"
"lignite" : "#808080"
"Lignite marginal" : "#808080"
"CCGT" : "#FFA500"
"CCGT marginal" : "#FFA500"
"heat pumps" : "#76EE00"
"heat pump" : "#76EE00"
"air heat pump" : "#76EE00"
"ambient air heat" : "#76EE00"
"ground heat pump" : "#40AA00"
"ambient ground heat" : "#40AA00"
"power-to-heat" : "#40AA00"
"resistive heater" : "#FFC0CB"
"Sabatier" : "#FF1493"
"methanation" : "#FF1493"
"power-to-gas" : "#FF1493"
"power-to-liquid" : "#FFAAE9"
"helmeth" : "#7D0552"
"helmeth" : "#7D0552"
"DAC" : "#E74C3C"
"co2 stored" : "#123456"
"CO2 sequestration" : "#123456"
"CC" : "#000000"
"co2" : "#123456"
"CO2 atmosphere" : "#123456"
"co2 vent" : "#654321"
"solid biomass for industry co2 from atmosphere" : "#654321"
"solid biomass for industry co2 to stored": "#654321"
"gas for industry co2 to atmosphere": "#654321"
"gas for industry co2 to stored": "#654321"
"Fischer-Tropsch" : "#44DD33"
"kerosene for aviation": "#44BB11"
"naphtha for industry" : "#44FF55"
"land transport oil" : "#44DD33"
"water tanks" : "#BBBBBB"
"hot water storage" : "#BBBBBB"
"hot water charging" : "#BBBBBB"
"hot water discharging" : "#999999"
"CHP" : "#FF0000"
"gas CHP" : "#FF0000"
"biomass CHP" : "#FF8888"
"CHP heat" : "#FF0000"
"CHP electric" : "#FF0000"
"PHS" : "#00FF00"
"Ambient" : "#000000"
"Electric load" : "#0000FF"
"Heat load" : "#FF0000"
"heat" : "#8B0000"
"rural heat" : "#880000"
"central heat" : "#b22222"
"district heat" : "#b22222"
"decentral heat" : "#800000"
"low-temperature heat for industry" : "#991111"
"process heat" : "#FF3333"
"heat demand" : "#8B0000"
"electric demand" : "#000000"
"Li ion" : "#808080"
"district heating" : "#CC4E5C"
"retrofitting" : "#800080"
"building retrofitting" : "#800080"
"BEV charger" : "#808080"
"V2G" : "#808080"
"land transport EV" : "#808080"
"electricity" : "#000000"
"non-industrial electricity" : "#000000"
"gas for industry" : "#333333"
"solid biomass for industry" : "#555555"
"industry electricity" : "#444444"
"industry new electricity" : "#333333"
"process emissions to stored" : "#444444"
"process emissions to atmosphere" : "#888888"
"process emissions" : "#222222"
"oil emissions" : "#666666"
"land transport oil emissions" : "#666666"
"aviation oil emissions" : "#666666"
"industry oil emissions" : "#666666"
"land transport fuel cell" : "#AAAAAA"
"biogas" : "#800000"
"solid biomass" : "#DAA520"
"today" : "#D2691E"
"shipping" : "#6495ED"
"electricity distribution grid" : "#777777"
"gas storage" : "#CC2200"
"oil storage" : "#CCCCCC"
nice_names:
# OCGT: "Gas"
# OCGT marginal: "Gas (marginal)"
offwind: "offshore wind"
onwind: "onshore wind"
battery: "Battery storage"
lines: "Transmission lines"
AC line: "AC lines"
AC-AC: "DC lines"
ror: "Run of river"
nice_names_n:
offwind: "offshore\nwind"
onwind: "onshore\nwind"
# OCGT: "Gas"
H2: "Hydrogen\nstorage"
# OCGT marginal: "Gas (marginal)"
lines: "transmission\nlines"
ror: "run of river"