2019-04-17 15:04:33 +00:00
|
|
|
logging_level: INFO
|
2019-04-16 14:03:51 +00:00
|
|
|
|
|
|
|
results_dir: 'results/'
|
|
|
|
summary_dir: results
|
2019-07-16 14:00:21 +00:00
|
|
|
run: '190712-test_district'
|
2019-04-16 14:03:51 +00:00
|
|
|
|
|
|
|
scenario:
|
|
|
|
sectors: [E] # ,E+EV,E+BEV,E+BEV+V2G] # [ E+EV, E+BEV, E+BEV+V2G ]
|
|
|
|
simpl: ['']
|
2019-07-16 14:00:21 +00:00
|
|
|
lv: [1.0,1.25,2.0]#, 1.125, 1.25, 1.5, 2.0]# or opt
|
2019-05-08 10:18:18 +00:00
|
|
|
clusters: [128] #[90, 128, 181] #[45, 64, 90, 128, 181, 256] #, 362] # (2**np.r_[5.5:9:.5]).astype(int) minimum is 37
|
2019-04-17 15:04:33 +00:00
|
|
|
opts: [''] #for pypsa-eur
|
2019-07-16 14:00:21 +00:00
|
|
|
sector_opts: [Co2L0-3H-T-H-B-I,Co2L0-3H-T-H-B-I-nodistrict]#,Co2L0p1-3H-T-H-B-I,Co2L0p25-3H-T-H-B-I,Co2L0p5-3H-T-H-B-I]#[Co2L0-3H-T-H-B-I-onwind0-solar3,Co2L0-3H-T-H-B-I-onwind0p125-solar3,Co2L0-3H-T-H-B-I-onwind0p25-solar3,Co2L0-3H-T-H-B-I-onwind0p50-solar3,Co2L0-3H-T-H-B-I-solar3]#,Co2L0-3H-T-H-B-I-onwind0p25-solar3]#,Co2L0p05-3H-T-H-B-I,Co2L0p10-3H-T-H-B-I,Co2L0p20-3H-T-H-B-I,Co2L0p30-3H-T-H-B-I,Co2L0p50-3H-T-H-B-I]#[Co2L-3H-T-H,Co2L0p10-3H-T-H,Co2L0-3H-T-H,Co2L0p20-3H-T-H] #Co2L-3H-T-H,Co2L0p10-3H-T-H,Co2L0p20-3H-T-HCo2L-3H-T-H,Co2L0p10-3H-T-H,Co2L0p30-3H-T-H,Co2L0p50-3H-T-H] #Co2L-3H,Co2L-3H-T,, LC-FL, LC-T, Ep-T, Co2L-T]
|
2019-04-16 14:03:51 +00:00
|
|
|
# Co2L will give default (5%); Co2L0p25 will give 25% CO2 emissions; Co2Lm0p05 will give 5% negative emissions
|
2019-04-17 09:44:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
snapshots:
|
|
|
|
# arguments to pd.date_range
|
|
|
|
start: "2013-01-01"
|
|
|
|
end: "2014-01-01"
|
|
|
|
closed: 'left' # end is not inclusive
|
|
|
|
|
2019-04-18 10:12:38 +00:00
|
|
|
|
|
|
|
electricity:
|
|
|
|
voltages: [220., 300., 380.]
|
|
|
|
|
|
|
|
extendable_carriers:
|
|
|
|
Generator: [] # [OCGT]
|
|
|
|
StorageUnit: [] # [battery, H2, CAES]
|
|
|
|
|
|
|
|
max_hours:
|
|
|
|
battery: 6
|
|
|
|
H2: 168
|
|
|
|
|
|
|
|
conventional_carriers: [] # nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
|
|
|
|
|
2019-04-17 09:44:16 +00:00
|
|
|
atlite:
|
|
|
|
cutout_dir: '../pypsa-eur/cutouts'
|
|
|
|
|
|
|
|
renewable:
|
|
|
|
onwind:
|
|
|
|
cutout: europe-2013-era5
|
|
|
|
|
|
|
|
biomass:
|
|
|
|
year: 2030
|
|
|
|
scenario: "Med"
|
2019-04-17 15:04:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
sector:
|
|
|
|
'central' : True
|
|
|
|
'central_fraction' : 0.6
|
|
|
|
'dsm_restriction_value' : 0.75 #Set to 0 for no restriction on BEV DSM
|
|
|
|
'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
|
2019-07-16 14:00:21 +00:00
|
|
|
'district_heating_loss' : 0.15
|
2019-04-17 15:04:33 +00:00
|
|
|
'bev' : True #turns on EV battery
|
|
|
|
'bev_availability' : 0.5 #How many cars do smart charging
|
|
|
|
'v2g' : True #allows feed-in to grid from EV battery
|
|
|
|
'transport_fuel_cell_share' : 0. #0 means all EVs, 1 means all FCs
|
|
|
|
'time_dep_hp_cop' : True
|
|
|
|
'retrofitting' : False
|
|
|
|
'retroI-fraction' : 0.25
|
|
|
|
'retroI-fraction' : 0.55
|
|
|
|
'retrofitting-cost_factor' : 1.0
|
|
|
|
'tes' : True
|
|
|
|
'tes_tau' : 3.
|
|
|
|
'boilers' : True
|
|
|
|
'chp' : True
|
|
|
|
'chp_parameters':
|
|
|
|
'eta_elec' : 0.468 #electrical efficiency with no heat output
|
|
|
|
'c_v' : 0.15 #loss of fuel for each addition of heat
|
|
|
|
'c_m' : 0.75 #backpressure ratio
|
|
|
|
'p_nom_ratio' : 1. #ratio of max heat output to max electrical output
|
|
|
|
'solar_thermal' : True
|
|
|
|
'solar_cf_correction': 0.788457 # = >>> 1/1.2683
|
|
|
|
'marginal_cost_storage' : 0. #1e-4
|
|
|
|
'methanation' : True
|
|
|
|
'helmeth' : True
|
|
|
|
'dac' : True
|
2019-05-11 13:55:06 +00:00
|
|
|
'co2_vent' : True
|
|
|
|
'SMR' : True
|
2019-04-17 15:04:33 +00:00
|
|
|
'ccs_fraction' : 0.9
|
2019-05-13 14:47:54 +00:00
|
|
|
'hydrogen_underground_storage' : True
|
2019-05-14 09:49:32 +00:00
|
|
|
'use_fischer_tropsch_waste_heat' : True
|
|
|
|
'use_fuel_cell_waste_heat' : True
|
2019-04-17 15:04:33 +00:00
|
|
|
|
|
|
|
costs:
|
|
|
|
year: 2030
|
|
|
|
|
|
|
|
# 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.
|
2019-04-18 10:12:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
solving:
|
|
|
|
options:
|
|
|
|
formulation: kirchhoff
|
|
|
|
clip_p_max_pu: 1.e-2
|
|
|
|
load_shedding: false
|
|
|
|
noisy_costs: true
|
|
|
|
|
|
|
|
min_iterations: 1
|
|
|
|
max_iterations: 1
|
|
|
|
# max_iterations: 1
|
|
|
|
# nhours: 1
|
|
|
|
|
|
|
|
solver:
|
|
|
|
name: gurobi
|
|
|
|
threads: 4
|
|
|
|
method: 2 # barrier
|
|
|
|
crossover: 0
|
|
|
|
BarConvTol: 1.e-5
|
|
|
|
FeasibilityTol: 1.e-6
|
|
|
|
# solver:
|
|
|
|
# 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
|
|
|
|
|
|
|
|
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: 1200
|
|
|
|
costs_threshold: 1
|
|
|
|
|
|
|
|
|
|
|
|
energy_max: 15000.
|
|
|
|
energy_min: -15000.
|
|
|
|
energy_threshold: 50.
|
|
|
|
|
|
|
|
|
2019-04-18 13:23:37 +00:00
|
|
|
vre_techs: ["onwind", "offwind-ac", "offwind-dc", "solar", "ror"]
|
|
|
|
renewable_storage_techs: ["PHS","hydro"]
|
2019-04-18 10:12:38 +00:00
|
|
|
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" : "b"
|
|
|
|
"onshore wind" : "b"
|
|
|
|
'offwind' : "c"
|
|
|
|
'offshore wind' : "c"
|
2019-04-23 14:22:09 +00:00
|
|
|
'offwind-ac' : "c"
|
|
|
|
'offshore wind (AC)' : "c"
|
|
|
|
'offwind-dc' : "#009999"
|
|
|
|
'offshore wind (DC)' : "#009999"
|
2019-04-18 10:12:38 +00:00
|
|
|
"hydro" : "#3B5323"
|
|
|
|
"hydro reservoir" : "#3B5323"
|
|
|
|
"ror" : "#78AB46"
|
|
|
|
"run of river" : "#78AB46"
|
|
|
|
'hydroelectricity' : '#006400'
|
|
|
|
'solar' : "y"
|
|
|
|
'solar PV' : "y"
|
|
|
|
'solar thermal' : 'coral'
|
|
|
|
"OCGT" : "wheat"
|
|
|
|
"OCGT marginal" : "sandybrown"
|
|
|
|
"OCGT-heat" : "orange"
|
|
|
|
"gas boiler" : "orange"
|
|
|
|
"gas boilers" : "orange"
|
|
|
|
"gas boiler marginal" : "orange"
|
|
|
|
"gas-to-power/heat" : "orange"
|
|
|
|
"gas" : "brown"
|
|
|
|
"natural gas" : "brown"
|
2019-05-11 13:55:06 +00:00
|
|
|
"SMR" : "#4F4F2F"
|
|
|
|
"oil" : "#B5A642"
|
2019-04-18 10:12:38 +00:00
|
|
|
"lines" : "k"
|
|
|
|
"transmission lines" : "k"
|
|
|
|
"H2" : "m"
|
|
|
|
"hydrogen storage" : "m"
|
|
|
|
"battery" : "slategray"
|
|
|
|
"battery storage" : "slategray"
|
|
|
|
"Nuclear" : "r"
|
|
|
|
"Nuclear marginal" : "r"
|
|
|
|
"Coal" : "k"
|
|
|
|
"Coal marginal" : "k"
|
|
|
|
"Lignite" : "grey"
|
|
|
|
"Lignite marginal" : "grey"
|
|
|
|
"CCGT" : "orange"
|
|
|
|
"CCGT marginal" : "orange"
|
|
|
|
"heat pumps" : "#76EE00"
|
|
|
|
"heat pump" : "#76EE00"
|
|
|
|
"air heat pump" : "#76EE00"
|
|
|
|
"ground heat pump" : "#40AA00"
|
|
|
|
"power-to-heat" : "#40AA00"
|
|
|
|
"resistive heater" : "pink"
|
|
|
|
"Sabatier" : "#FF1493"
|
|
|
|
"methanation" : "#FF1493"
|
|
|
|
"power-to-gas" : "#FF1493"
|
|
|
|
"power-to-liquid" : "#FFAAE9"
|
|
|
|
"helmeth" : "#7D0552"
|
|
|
|
"helmeth" : "#7D0552"
|
|
|
|
"DAC" : "#E74C3C"
|
|
|
|
"co2 stored" : "#123456"
|
|
|
|
"CO2 sequestration" : "#123456"
|
|
|
|
"co2" : "#123456"
|
|
|
|
"Fischer-Tropsch" : "#44DD33"
|
|
|
|
"nuclear" : "#303030"
|
|
|
|
"water tanks" : "#BBBBBB"
|
|
|
|
"hot water storage" : "#BBBBBB"
|
|
|
|
"hot water charging" : "#BBBBBB"
|
|
|
|
"hot water discharging" : "#999999"
|
|
|
|
"CHP" : "r"
|
|
|
|
"CHP heat" : "r"
|
|
|
|
"CHP electric" : "r"
|
|
|
|
"PHS" : "g"
|
|
|
|
"Ambient" : "k"
|
|
|
|
"Electric load" : "b"
|
|
|
|
"Heat load" : "r"
|
|
|
|
"Transport load" : "grey"
|
|
|
|
"heat" : "darkred"
|
2019-07-16 14:00:21 +00:00
|
|
|
"rural heat" : "#880000"
|
|
|
|
"central heat" : "#b22222"
|
|
|
|
"decentral heat" : "#800000"
|
|
|
|
"process heat" : "#FF3333"
|
2019-04-18 10:12:38 +00:00
|
|
|
"heat demand" : "darkred"
|
|
|
|
"electric demand" : "k"
|
|
|
|
"Li ion" : "grey"
|
|
|
|
"district heating" : "#CC4E5C"
|
|
|
|
"retrofitting" : "purple"
|
|
|
|
"building retrofitting" : "purple"
|
|
|
|
"BEV charger" : "grey"
|
|
|
|
"V2G" : "grey"
|
|
|
|
"transport" : "grey"
|
|
|
|
"electricity" : "k"
|
2019-07-16 14:00:21 +00:00
|
|
|
"industry new electricity" : "#222222"
|
|
|
|
"process emissions to stored" : "#444444"
|
|
|
|
"process emissions to atmosphere" : "#888888"
|
2019-04-18 10:12:38 +00:00
|
|
|
"transport fuel cell" : "#AAAAAA"
|
|
|
|
"biogas" : "#800000"
|
|
|
|
"solid biomass" : "#DAA520"
|
2019-05-09 13:22:14 +00:00
|
|
|
"today" : "#D2691E"
|
2019-07-16 14:00:21 +00:00
|
|
|
"shipping" : "#6495ED"
|
2019-04-18 10:12:38 +00:00
|
|
|
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"
|