tidy up config.yaml format

This commit is contained in:
Fabian Neumann 2019-10-02 15:49:01 +02:00
parent ec913363c7
commit 19aa8b6034

View File

@ -4,18 +4,15 @@ logging_level: INFO
summary_dir: results summary_dir: results
scenario: scenario:
sectors: [E] # ,E+EV,E+BEV,E+BEV+V2G] # [ E+EV, E+BEV, E+BEV+V2G ] sectors: [E]
simpl: [''] simpl: ['']
#ll: ['v1.0', 'v1.09', 'v1.125', 'v1.18', 'v1.25', 'v1.35', 'v1.5', 'v1.7', 'v2.0', 'vopt'] # line limit a 'v' prefix means volume ll: ['copt']
ll: ['vopt', 'copt'] #['v1.0', 'v1.125', 'v1.25', 'v1.5', 'v2.0', 'vopt'] # line limit a 'v' prefix means volume clusters: [37, 100]
#ll: ['c1.0', 'v1.125', 'v1.25', 'v1.5', 'v2.0', 'vopt'] # line limit a 'v' prefix means volume opts: [Co2L-3H]
clusters: [37, 45, 64, 90, 128, 181, 256, 362, 512] # (2**np.r_[5.5:9:.5]).astype(int)
opts: [Co2L-3H] #, LC-FL, LC-T, Ep-T, Co2L-T]
countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK'] countries: ['AL', 'AT', 'BA', 'BE', 'BG', 'CH', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HR', 'HU', 'IE', 'IT', 'LT', 'LU', 'LV', 'ME', 'MK', 'NL', 'NO', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK']
snapshots: snapshots:
# arguments to pd.date_range
start: "2013-01-01" start: "2013-01-01"
end: "2014-01-01" end: "2014-01-01"
closed: 'left' # end is not inclusive closed: 'left' # end is not inclusive
@ -30,18 +27,13 @@ electricity:
extendable_carriers: extendable_carriers:
Generator: [OCGT] Generator: [OCGT]
StorageUnit: [battery, H2] # [CAES] StorageUnit: [battery, H2]
max_hours: max_hours:
battery: 6 battery: 6
H2: 168 H2: 168
# estimate_renewable_capacities_from_capacity_stats: conventional_carriers: [] # [nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
# # Wind is the Fueltype in ppm.data.Capacity_stats, onwind, offwind-{ac,dc} the carrier in PyPSA-Eur
# Wind: [onwind, offwind-ac, offwind-dc]
# Solar: [solar]
conventional_carriers: [] # nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
atlite: atlite:
nprocesses: 4 nprocesses: 4
@ -64,15 +56,11 @@ renewable:
resource: resource:
method: wind method: wind
turbine: Vestas_V112_3MW turbine: Vestas_V112_3MW
# ScholzPhd Tab 4.3.1: 10MW/km^2 capacity_per_sqkm: 3 # ScholzPhd Tab 4.3.1: 10MW/km^2
capacity_per_sqkm: 3
# correction_factor: 0.93 # correction_factor: 0.93
corine: corine:
#The selection of CORINE Land Cover [1] types that are allowed for wind and solar are based on [2] p.42 / p.28 # Scholz, Y. (2012). Renewable energy based electricity supply at low costs:
# # development of the REMix model and application for Europe. ( p.42 / p.28)
#[1] https://www.eea.europa.eu/ds_resolveuid/C9RK15EA06
#
#[2] Scholz, Y. (2012). Renewable energy based electricity supply at low costs: development of the REMix model and application for Europe.
grid_codes: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, grid_codes: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, 28, 29, 31, 32] 24, 25, 26, 27, 28, 29, 31, 32]
distance: 1000 distance: 1000
@ -115,16 +103,13 @@ renewable:
orientation: orientation:
slope: 35. slope: 35.
azimuth: 180. azimuth: 180.
# ScholzPhd Tab 4.3.1: 170 MW/km^2 capacity_per_sqkm: 1.7 # ScholzPhd Tab 4.3.1: 170 MW/km^2
capacity_per_sqkm: 1.7
correction_factor: 0.854337
# Determined by comparing uncorrected area-weighted full-load hours to those # Determined by comparing uncorrected area-weighted full-load hours to those
# published in Supplementary Data to # published in Supplementary Data to
# Pietzcker, Robert Carl, et al. "Using the sun to decarbonize the power # Pietzcker, Robert Carl, et al. "Using the sun to decarbonize the power
# sector: The economic potential of photovoltaics and concentrating solar # sector: The economic potential of photovoltaics and concentrating solar
# power." Applied Energy 135 (2014): 704-720. # power." Applied Energy 135 (2014): 704-720.
# Comparison is shown in resources/country_flh_aggregated_solar.csv correction_factor: 0.854337
corine: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, corine: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 26, 31, 32] 14, 15, 16, 17, 18, 19, 20, 26, 31, 32]
natura: true natura: true
@ -137,12 +122,12 @@ renewable:
hydro_max_hours: "energy_capacity_totals_by_country" # one of energy_capacity_totals_by_country, hydro_max_hours: "energy_capacity_totals_by_country" # one of energy_capacity_totals_by_country,
# estimate_by_large_installations or a float # estimate_by_large_installations or a float
clip_min_inflow: 1.0 clip_min_inflow: 1.0
lines: lines:
types: types:
220.: "Al/St 240/40 2-bundle 220.0" 220.: "Al/St 240/40 2-bundle 220.0"
300.: "Al/St 240/40 3-bundle 300.0" 300.: "Al/St 240/40 3-bundle 300.0"
380.: "Al/St 240/40 4-bundle 380.0" 380.: "Al/St 240/40 4-bundle 380.0"
s_max_pu: 0.7 s_max_pu: 0.7
length_factor: 1.25 length_factor: 1.25
under_construction: 'zero' # 'zero': set capacity to zero, 'remove': remove, 'keep': with full capacity under_construction: 'zero' # 'zero': set capacity to zero, 'remove': remove, 'keep': with full capacity
@ -162,35 +147,27 @@ load:
costs: costs:
year: 2030 year: 2030
discountrate: 0.07 # From a Lion Hirth paper, also reflects average of Noothout et al 2016
# From a Lion Hirth paper, also reflects average of Noothout et al 2016 USD2013_to_EUR2013: 0.7532 # [EUR/USD] ECB: https://www.ecb.europa.eu/stats/exchange/eurofxref/html/eurofxref-graph-usd.en.html
discountrate: 0.07 marginal_cost:
# [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 solar: 0.01
onwind: 0.015 onwind: 0.015
offwind: 0.015 offwind: 0.015
hydro: 0. hydro: 0.
H2: 0. H2: 0.
battery: 0. battery: 0.
emission_prices: # only used with the option Ep
emission_prices: # only used with the option Ep (emission prices)
co2: 0. co2: 0.
solving: solving:
options: options:
formulation: kirchhoff formulation: kirchhoff
#load_shedding: true load_shedding: false
noisy_costs: true noisy_costs: true
min_iterations: 3 min_iterations: 3
max_iterations: 5 max_iterations: 5
#nhours: 10
clip_p_max_pu: 0.01 clip_p_max_pu: 0.01
#nhours: 10
solver: solver:
name: gurobi name: gurobi
threads: 4 threads: 4
@ -215,28 +192,21 @@ plotting:
boundaries: [-10.2, 29, 35, 72] boundaries: [-10.2, 29, 35, 72]
p_nom: p_nom:
bus_size_factor: 5.e+4 bus_size_factor: 5.e+4
linewidth_factor: 3.e+3 # 1.e+3 #3.e+3 linewidth_factor: 3.e+3
costs_max: 800 costs_max: 800
costs_threshold: 1 costs_threshold: 1
energy_max: 15000. energy_max: 15000.
energy_min: -10000. energy_min: -10000.
energy_threshold: 50. energy_threshold: 50.
vre_techs: ["onwind", "offwind-ac", "offwind-dc", "solar", "ror"] vre_techs: ["onwind", "offwind-ac", "offwind-dc", "solar", "ror"]
conv_techs: ["OCGT", "CCGT", "Nuclear", "Coal"] conv_techs: ["OCGT", "CCGT", "Nuclear", "Coal"]
storage_techs: ["hydro+PHS", "battery", "H2"] storage_techs: ["hydro+PHS", "battery", "H2"]
# store_techs: ["Li ion", "water tanks"] load_carriers: ["AC load"]
load_carriers: ["AC load"] #, "heat load", "Li ion load"]
AC_carriers: ["AC line", "AC transformer"] AC_carriers: ["AC line", "AC transformer"]
link_carriers: ["DC line", "Converter AC-DC"] 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: tech_colors:
"onwind" : "#235ebc" "onwind" : "#235ebc"
"onshore wind" : "#235ebc" "onshore wind" : "#235ebc"
@ -331,23 +301,24 @@ plotting:
"HVDC links" : "#8a1caf" "HVDC links" : "#8a1caf"
"DC-DC" : "#8a1caf" "DC-DC" : "#8a1caf"
"DC link" : "#8a1caf" "DC link" : "#8a1caf"
# _helpers.load_network requirements
nice_names: nice_names:
# OCGT: "Gas" OCGT: "Open-Cycle Gas"
# OCGT marginal: "Gas (marginal)" CCGT: "Combined-Cycle Gas"
offwind: "offshore wind" offwind-ac: "Offshore Wind (AC)"
onwind: "onshore wind" offwind-dc: "Offshore Wind (DC)"
battery: "Battery storage" onwind: "Onshore Wind"
battery: "Battery Storage"
H2: "Hydrogen Storage"
lines: "Transmission lines" lines: "Transmission lines"
AC line: "AC lines"
AC-AC: "DC lines"
ror: "Run of river" ror: "Run of river"
nice_names_n: nice_names_n:
offwind: "offshore\nwind" OCGT: "Open-Cycle\nGas"
onwind: "onshore\nwind" CCGT: "Combined-Cycle\nGas"
# OCGT: "Gas" offwind-ac: "Offshore\nWind (AC)"
H2: "Hydrogen\nstorage" offwind-dc: "Offshore\nWind (DC)"
# OCGT marginal: "Gas (marginal)" onwind: "Onshore\nWind"
lines: "transmission\nlines" battery: "Battery\nStorage"
ror: "run of river" H2: "Hydrogen\nStorage"
lines: "Transmission\nlines"
ror: "Run of\nriver"