2024-02-19 15:21:48 +00:00
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
2020-05-29 07:50:55 +00:00
#
# SPDX-License-Identifier: CC0-1.0
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#top-level-configuration
2024-09-13 13:14:39 +00:00
version : 0.13 .0
2019-11-05 11:53:21 +00:00
tutorial : false
2019-11-28 07:22:52 +00:00
logging :
level : INFO
format : '%(levelname)s:%(name)s:%(message)s'
2017-12-18 19:34:15 +00:00
2023-07-05 09:07:36 +00:00
private :
keys :
entsoe_api :
2023-07-03 15:14:50 +00:00
remote :
ssh : ""
path : ""
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#run
2022-09-08 07:52:00 +00:00
run :
2024-04-10 10:04:45 +00:00
prefix : ""
2023-06-15 23:31:59 +00:00
name : ""
2023-08-23 15:14:57 +00:00
scenarios :
enable : false
file : config/scenarios.yaml
2023-06-15 23:31:59 +00:00
disable_progressbar : false
2024-05-13 12:08:38 +00:00
shared_resources :
policy : false
exclude : [ ]
2023-06-15 23:31:59 +00:00
shared_cutouts : true
2022-09-08 07:52:00 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#foresight
2023-06-15 23:31:59 +00:00
foresight : overnight
2018-08-02 10:10:46 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#scenario
# Wildcard docs in https://pypsa-eur.readthedocs.io/en/latest/wildcards.html
2017-12-18 19:34:15 +00:00
scenario :
2023-06-15 23:31:59 +00:00
ll :
2024-05-13 08:50:24 +00:00
- vopt
2023-06-15 23:31:59 +00:00
clusters :
2024-08-30 13:36:03 +00:00
- 39
2023-03-06 10:54:08 +00:00
- 128
- 256
2023-06-15 23:31:59 +00:00
opts :
2021-07-01 18:09:04 +00:00
- ''
2023-06-15 23:31:59 +00:00
sector_opts :
2024-05-13 08:50:24 +00:00
- ''
2023-06-15 23:31:59 +00:00
planning_horizons :
2022-08-09 19:30:45 +00:00
# - 2020
# - 2030
# - 2040
2023-06-15 23:31:59 +00:00
- 2050
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#countries
2024-08-30 13:36:03 +00:00
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' , 'XK' ]
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#snapshots
2018-01-29 21:28:33 +00:00
snapshots :
start : "2013-01-01"
end : "2014-01-01"
2023-06-15 23:31:59 +00:00
inclusive : 'left'
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#enable
2018-08-13 12:09:20 +00:00
enable :
2023-07-13 06:22:22 +00:00
retrieve : auto
2019-11-19 14:56:44 +00:00
retrieve_databundle : true
2020-08-26 08:06:10 +00:00
retrieve_cost_data : true
2019-11-05 11:53:21 +00:00
build_cutout : false
2020-03-16 14:51:47 +00:00
retrieve_cutout : true
2020-12-03 14:17:16 +00:00
custom_busmap : false
2024-03-01 09:10:26 +00:00
drop_leap_day : true
2018-08-13 12:09:20 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#co2-budget
2020-11-30 12:21:38 +00:00
co2_budget :
2023-03-15 16:00:06 +00:00
2020 : 0.701
2025 : 0.524
2030 : 0.297
2035 : 0.150
2040 : 0.071
2045 : 0.032
2050 : 0.000
2020-04-30 16:38:55 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#electricity
2017-12-18 19:34:15 +00:00
electricity :
Introducing OpenStreetMap high-voltage grid to PyPSA-Eur (#1079)
* Implemented which uses the overpass API to download power features for individual countries.
* Extended rule by input.
* Bug fixes and improvements to clean_osm_data.py. Added in retrieve_osm_data.py.
* Updated clean_osm_data and retrieve_osm_data to create clean substations.
* Finished clean_osm_data function.
* Added check whether line is a circle. If so, drop it.
* Extended build_electricity.smk by build_osm_network.py
* Added build_osm_network
* Working osm-network-fast
* Bug fixes.
* Finalised and cleaned including docstrings.
* Added try catch to retrieve_osm_data. Allows for parallelisation of downloads.
* Updated cleaning process.
* Set maximum number of threads for retrieving to 4, wrt. fair usage policy and potential request errors.
* Intermediate update on clean_osm_data.py. Added docstrings.
* Bug fix.
* Bug fix.
* Bug fixes in data types out of clean_osm_data
* Significant improvements to retrieve_osm_data, clean_osm_data. Cleaned code. Speed improvements
* Cleaned config.
* Fixes.
* Bug fixes.
* Updated default config
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Removed overpass from required packages. Not needed anymore.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added links_relations (route = power, frequency = 0) to retrieval. This will change how HVDC links are extracted in the near future.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Work-in-progress clean_osm_data
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added clean links output to clean_osm_data. Script uses OSM relations to retrieve clean HVDC links.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* New code for integrating HVDC links. Using relations. Base network implementation functioning.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* removed manual line dropping.
* Updated clean script
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* reverted Snakefile to default: sync settings
* added prebuilt functionality.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated build_electricity.smk to work with scenario management.
* removed commented-out code.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* removed commented-out code.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed bug in pdf export by substituting pdf export with svg.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Bug-fix Snakefile
* dropped not needed columns from build_osm_network.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated build_shapes, config.default and clean_osm_data.
* pre-commit changes.
* test
* Added initial prepare_osm_network_release.py script
* Finalised prepare_osm_network_release script to build clean and stable OSM base_network input files.
* Added new rules/development.smk
* Updated clean_osm_data to add substation_centroid to linestrings
* Updated clean_osm_data to add substation_centroid to linestrings
* Updated clean_osm_data to add substation_centroid to linestrings
* Updated clean_osm_data to add substation_centroid to linestrings
* Added osm-prebuilt functionality and zenodo sandbox repository.
* Updated clean_osm_data to geopandas v.1.01
* Made base_network and build_osm_network function more robust for empty links.
* Made base_network and build_osm_network function more robust for empty links.
* Bug fix in base_network. Voltage level null is now kept (relevant e.g. for Corsica)
* Merge with hcanges in upstream PR 1146. Fixing UA and MD.
* Updated Zenodo and fixed prepare_osm_network_release
* Updated osm network release.
* Updated prepare osm network release.
* Updated MD, UA scripts.
* Cleaned determine_availability_matrix_MD_UA.py, removed redundant code
* Bug fixes.
* Bug fixes for UA MD scripts.
* Rename of build script.
* Bug fix: only distribute load to buses with substation.
* Updated zenodo sandbox repository.
* Updated config.default
* Cleaned config.default.yaml: Related settings grouped together and redundant voltage settings aggregated.
* Cleaned config.default.yaml: Related settings grouped together and redundant voltage settings aggregated. Added release notes.
* Updated Zenodo repositories for OSM-prebuilt to offcial publication.
* Updated configtables
* Updated links.csv: Under_construction lines to in commission.
* Updated link 8394 and parameter_corrections: Continuation of North-Sea-Link.
* Major update: fix simplify_network, fix Corsica, updated build_osm_network to include lines overpassing nodes.
* remove config backup
* Bug fix: Carrier type of all supernodes corrected to 'AC'
* Bug fix: Carrier type of all supernodes corrected to 'AC'
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated rules and base_network for compatibility with TYNDP projects.
* Updated Zenodo repository and prebuilt network to include 150 kV HVDC connections.
* Removed outdated config backup.
* Implemented all comments from PR #1079. Cleaned up OSM implementation.
* Bug fix: Added all voltages, 200 kV-750 kV, to default config.
* Cleaning and bugfixes.
* Updated Zenodo repository to https://zenodo.org/records/13358976. Added converter voltages, 'underground' property for DC lines/cables, and included Konti-Skan HVDC (DK-SE). Added compatibility with https://github.com/PyPSA/pypsa-eur/pull/1079 and https://github.com/PyPSA/pypsa-eur/pull/1085
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* simplify_network: handle complicated transformer topologies
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* syntax fix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-08-22 13:01:20 +00:00
voltages : [ 200 ., 220., 300., 380., 500., 750.]
2024-08-29 10:04:27 +00:00
base_network : osm-prebuilt
2024-09-13 12:55:52 +00:00
osm-prebuilt-version : 0.4
2023-09-11 20:51:31 +00:00
gaslimit_enable : false
2023-06-15 23:31:59 +00:00
gaslimit : false
2023-09-11 20:51:31 +00:00
co2limit_enable : false
2023-06-15 23:31:59 +00:00
co2limit : 7.75e+7
2021-06-28 13:52:37 +00:00
co2base : 1.487e+9
2017-12-18 19:34:15 +00:00
2023-06-15 23:31:59 +00:00
operational_reserve :
2022-06-23 14:04:49 +00:00
activate : false
2023-06-15 23:31:59 +00:00
epsilon_load : 0.02
epsilon_vres : 0.02
contingency : 4000
2017-12-18 19:34:15 +00:00
max_hours :
2018-02-19 09:19:00 +00:00
battery : 6
H2 : 168
2017-12-18 19:34:15 +00:00
extendable_carriers :
2024-05-20 13:00:46 +00:00
Generator : [ solar, solar-hsat, onwind, offwind-ac, offwind-dc, offwind-float, OCGT, CCGT]
2020-11-25 12:18:30 +00:00
StorageUnit : [ ] # battery, H2
Store : [ battery, H2]
2022-07-21 13:43:28 +00:00
Link : [ ] # H2 pipeline
2017-12-18 19:34:15 +00:00
2024-02-07 10:20:05 +00:00
powerplants_filter : (DateOut >= 2023 or DateOut != DateOut) and not (Country == 'Germany' and Fueltype == 'Nuclear')
2022-04-05 13:12:01 +00:00
custom_powerplants : false
2024-05-24 08:40:57 +00:00
everywhere_powerplants : [ ]
2017-12-18 19:34:15 +00:00
2020-01-09 13:09:28 +00:00
conventional_carriers : [ nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
2024-05-15 16:02:15 +00:00
renewable_carriers : [ solar, solar-hsat, onwind, offwind-ac, offwind-dc, offwind-float, hydro]
2020-12-03 22:13:41 +00:00
2022-04-04 17:03:09 +00:00
estimate_renewable_capacities :
2022-09-19 10:55:40 +00:00
enable : true
2022-06-09 18:31:50 +00:00
from_opsd : true
2022-04-04 17:03:09 +00:00
year : 2020
expansion_limit : false
technology_mapping :
2023-11-06 13:08:53 +00:00
Offshore : [ offwind-ac, offwind-dc, offwind-float]
2022-04-04 17:03:09 +00:00
Onshore : [ onwind]
PV : [ solar]
2019-02-05 22:00:35 +00:00
2023-09-11 20:51:31 +00:00
autarky :
enable : false
by_country : false
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#atlite
2018-08-03 09:54:28 +00:00
atlite :
2024-07-24 09:01:00 +00:00
default_cutout : europe-2013-sarah3-era5
2018-08-03 10:46:42 +00:00
nprocesses : 4
2023-07-04 23:51:50 +00:00
show_progress : false
2018-08-03 09:54:28 +00:00
cutouts :
Atlite availability (#224)
* adjust buil_cutout.py and Snakefile
* try adjusting build_renewable_profiles, currently crashing due to weird pyproj error
* build_renewable_profiles: -remove printing gid
* build_renewable_profiles: use dask for paralellization, use dense functions
* build_renewable_profiles:
- revise imports
- add logging for long calculation
- revise explaining comment
- revise distance calculation
* build profiles: adjust to cutout.grid
* * fix area to square km
* rename potmatrix -> capacity_potential
* rename available to availibility
* config.default update cutout params
build_renewable_potentials: major refactoring and simplification
hydro_profiles: update code
* build profiles: fix weight output dimensions
* build profiles: fix typo, fix selection of buses
* build profiles: reinsert paths variable
* follow up
* build profiles: move to dask calculation only
* CI: set build cutout to true (add CDSAPI)
* build profiles: use pyproj, test with gleas and geokit upstream
* environment.yaml fix atlite version
* build profiles: use dask 'processes' for more than 25 regions
* build profiles: specify dask scheduler according to number of regions
* backpedal a bit, only allow scheduler='processes'
* follow up, code style and fixup
* build profiles: add logger info for underwater fraction calc
* config adjust cutout parameters
Snakefile fixup
* config.default.yaml: adjust resolution
* config: use one cutout in total
build_cutout: automatic detetection of geographical boundaries
* env: add python>=3.8 requirement
build_cutout: fixup for region bound
* config: allow base cutout
* folllow up, fix up
* follow up II
* clean up
* clean up II
* build profiles: move back to multiprocessing due to performance issues
* small code style corrections
* move in pool context
* swqitch to ratsterio
* switch to rasterio for availibility calculation
* tiny fixup
* * build continental raster for offshore distance calculation
* adjust Snakefile to new script build_raster
* rename continental raster to onshore raster
add projected_mask function (not yet tested)
add docstrings, modularize
* Snakefile: remove build_onhore_raster rule, build mask directly from geometry instead
build_natura_raster: adjust code, add function for exporting
build_profiles:
* add buffer to shore distance to init_globals function
* update docstrings
* improve handling of nodata grid codes
* add geometry mask if natura raster not activated
(the 255 value is an 'eligible' value for the corine data base,
do this for excluding data outside the shape)
* build_profiles: adjust docstrings
* update environment
* build profiles: fixup reproject woth padding
* follow up, small fixups
* fix resampling method
checkpoint: reproduces solar profile in tut data
* reintegrate plot map
code style
* config: rename cutout into "base"
* build profiles: adjust to new atlite code
* natura raster: small fixup
* build natura raster: compress tiff file
* config: adjust cutout names
* build profiles: cover case if no or partial overlap between natura raster and cutout
* config-tutorial: adjust cutout params
* buid-profifiles: fixup in gebco filter
* follow up
* update config files
* build profiles: select layoutmatrix != 0
* build profiles: speed up average_distance and underwaterfraction
* build profiles: fix typo
* update release notes
build_cutout: only build needed features
* update envs
* config: add temperature to sarah features
* temporary fix for atlite v0.2.1 and new xarray version release
* env: remove xarray specification
* * remove rule build_country_flh
* build profiles: remove sneaked in line
* doc: update configuration.rst (section atlite) and corresponding csv table
* release notes: fix quotes
* build profiles: use 3035 for area calculation
* Update envs/environment.docs.yaml
* Update scripts/build_cutout.py
* Update doc/release_notes.rst
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
* Update doc/configuration.rst
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
* Update scripts/build_cutout.py
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
* update release notes
* release notes: add deprecation of 'keep_all_available_areas'
build profiles: remove warning for 'keep_all_available_areas'
* build cutout: rearrage code, set buffer correctly
* Rename tutorial cutout to remove name clash with real cutout.
* Update release_notes.rst: Rename tutorial cutout.
* retrieve: update cutouts and downloads (alternative) (#237)
* retrieve: update cutouts and downloads
* retrieve: remove unnecessary import
* use snakemake remote file functionality
* Snakefile: update zenodo link
* update natura remote link (closes #234)
* env: update atlite version to 0.2.2
* env: fix dask version due to memory issues
* test: retrieve cutout instead of build
* test: use tutorial cutout for CI
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2021-04-27 15:58:31 +00:00
# use 'base' to determine geographical bounds and time span from config
2021-05-10 14:58:53 +00:00
# base:
# module: era5
2024-07-24 09:01:00 +00:00
europe-2013-sarah3-era5 :
module : [ sarah, era5] # in priority order
2023-08-01 06:42:47 +00:00
x : [ -12 ., 42.]
2024-07-24 09:01:00 +00:00
y : [ 33 ., 72.]
Atlite availability (#224)
* adjust buil_cutout.py and Snakefile
* try adjusting build_renewable_profiles, currently crashing due to weird pyproj error
* build_renewable_profiles: -remove printing gid
* build_renewable_profiles: use dask for paralellization, use dense functions
* build_renewable_profiles:
- revise imports
- add logging for long calculation
- revise explaining comment
- revise distance calculation
* build profiles: adjust to cutout.grid
* * fix area to square km
* rename potmatrix -> capacity_potential
* rename available to availibility
* config.default update cutout params
build_renewable_potentials: major refactoring and simplification
hydro_profiles: update code
* build profiles: fix weight output dimensions
* build profiles: fix typo, fix selection of buses
* build profiles: reinsert paths variable
* follow up
* build profiles: move to dask calculation only
* CI: set build cutout to true (add CDSAPI)
* build profiles: use pyproj, test with gleas and geokit upstream
* environment.yaml fix atlite version
* build profiles: use dask 'processes' for more than 25 regions
* build profiles: specify dask scheduler according to number of regions
* backpedal a bit, only allow scheduler='processes'
* follow up, code style and fixup
* build profiles: add logger info for underwater fraction calc
* config adjust cutout parameters
Snakefile fixup
* config.default.yaml: adjust resolution
* config: use one cutout in total
build_cutout: automatic detetection of geographical boundaries
* env: add python>=3.8 requirement
build_cutout: fixup for region bound
* config: allow base cutout
* folllow up, fix up
* follow up II
* clean up
* clean up II
* build profiles: move back to multiprocessing due to performance issues
* small code style corrections
* move in pool context
* swqitch to ratsterio
* switch to rasterio for availibility calculation
* tiny fixup
* * build continental raster for offshore distance calculation
* adjust Snakefile to new script build_raster
* rename continental raster to onshore raster
add projected_mask function (not yet tested)
add docstrings, modularize
* Snakefile: remove build_onhore_raster rule, build mask directly from geometry instead
build_natura_raster: adjust code, add function for exporting
build_profiles:
* add buffer to shore distance to init_globals function
* update docstrings
* improve handling of nodata grid codes
* add geometry mask if natura raster not activated
(the 255 value is an 'eligible' value for the corine data base,
do this for excluding data outside the shape)
* build_profiles: adjust docstrings
* update environment
* build profiles: fixup reproject woth padding
* follow up, small fixups
* fix resampling method
checkpoint: reproduces solar profile in tut data
* reintegrate plot map
code style
* config: rename cutout into "base"
* build profiles: adjust to new atlite code
* natura raster: small fixup
* build natura raster: compress tiff file
* config: adjust cutout names
* build profiles: cover case if no or partial overlap between natura raster and cutout
* config-tutorial: adjust cutout params
* buid-profifiles: fixup in gebco filter
* follow up
* update config files
* build profiles: select layoutmatrix != 0
* build profiles: speed up average_distance and underwaterfraction
* build profiles: fix typo
* update release notes
build_cutout: only build needed features
* update envs
* config: add temperature to sarah features
* temporary fix for atlite v0.2.1 and new xarray version release
* env: remove xarray specification
* * remove rule build_country_flh
* build profiles: remove sneaked in line
* doc: update configuration.rst (section atlite) and corresponding csv table
* release notes: fix quotes
* build profiles: use 3035 for area calculation
* Update envs/environment.docs.yaml
* Update scripts/build_cutout.py
* Update doc/release_notes.rst
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
* Update doc/configuration.rst
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
* Update scripts/build_cutout.py
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
* update release notes
* release notes: add deprecation of 'keep_all_available_areas'
build profiles: remove warning for 'keep_all_available_areas'
* build cutout: rearrage code, set buffer correctly
* Rename tutorial cutout to remove name clash with real cutout.
* Update release_notes.rst: Rename tutorial cutout.
* retrieve: update cutouts and downloads (alternative) (#237)
* retrieve: update cutouts and downloads
* retrieve: remove unnecessary import
* use snakemake remote file functionality
* Snakefile: update zenodo link
* update natura remote link (closes #234)
* env: update atlite version to 0.2.2
* env: fix dask version due to memory issues
* test: retrieve cutout instead of build
* test: use tutorial cutout for CI
Co-authored-by: euronion <42553970+euronion@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2021-04-27 15:58:31 +00:00
dx : 0.3
dy : 0.3
time : [ '2013' , '2013' ]
2018-08-03 09:54:28 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#renewable
2018-01-29 21:28:33 +00:00
renewable :
onwind :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2018-01-29 21:28:33 +00:00
resource :
method : wind
turbine : Vestas_V112_3MW
2024-08-30 16:06:26 +00:00
smooth : false
2024-01-02 15:31:48 +00:00
add_cutout_windspeed : true
2023-06-15 23:31:59 +00:00
capacity_per_sqkm : 3
2018-02-19 08:56:15 +00:00
# correction_factor: 0.93
2018-01-29 21:28:33 +00:00
corine :
grid_codes : [ 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 31 , 32 ]
distance : 1000
distance_grid_codes : [ 1 , 2 , 3 , 4 , 5 , 6 ]
2024-01-03 14:01:43 +00:00
luisa : false
# grid_codes: [1111, 1121, 1122, 1123, 1130, 1210, 1221, 1222, 1230, 1241, 1242]
# distance: 1000
# distance_grid_codes: [1111, 1121, 1122, 1123, 1130, 1210, 1221, 1222, 1230, 1241, 1242]
2018-12-10 17:40:54 +00:00
natura : true
2022-07-27 11:40:41 +00:00
excluder_resolution : 100
2018-12-21 12:44:59 +00:00
clip_p_max_pu : 1.e-2
2018-12-19 09:30:25 +00:00
offwind-ac :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2018-01-29 21:28:33 +00:00
resource :
method : wind
2024-01-02 18:16:42 +00:00
turbine : NREL_ReferenceTurbine_2020ATB_5.5MW
2024-08-30 16:06:26 +00:00
smooth : false
2024-01-02 15:31:48 +00:00
add_cutout_windspeed : true
2023-06-15 23:31:59 +00:00
capacity_per_sqkm : 2
2021-09-23 06:57:18 +00:00
correction_factor : 0.8855
2018-12-10 17:40:54 +00:00
corine : [ 44 , 255 ]
2024-01-03 14:01:43 +00:00
luisa : false # [0, 5230]
2018-12-10 17:40:54 +00:00
natura : true
2022-07-28 08:38:24 +00:00
ship_threshold : 400
2023-11-06 13:08:53 +00:00
max_depth : 60
2019-10-03 10:37:23 +00:00
max_shore_distance : 30000
2022-07-27 11:40:41 +00:00
excluder_resolution : 200
2018-12-21 12:44:59 +00:00
clip_p_max_pu : 1.e-2
2024-09-13 13:37:01 +00:00
landfall_length : 10
2018-12-19 09:30:25 +00:00
offwind-dc :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2018-12-19 09:30:25 +00:00
resource :
method : wind
2024-01-02 18:16:42 +00:00
turbine : NREL_ReferenceTurbine_2020ATB_5.5MW
2024-08-30 16:06:26 +00:00
smooth : false
2024-01-02 15:31:48 +00:00
add_cutout_windspeed : true
2023-06-15 23:31:59 +00:00
capacity_per_sqkm : 2
2021-09-23 06:57:18 +00:00
correction_factor : 0.8855
2018-12-19 09:30:25 +00:00
corine : [ 44 , 255 ]
2024-01-03 14:01:43 +00:00
luisa : false # [0, 5230]
2018-12-19 09:30:25 +00:00
natura : true
2022-07-28 08:38:24 +00:00
ship_threshold : 400
2023-11-06 13:08:53 +00:00
max_depth : 60
2019-10-03 10:37:23 +00:00
min_shore_distance : 30000
2022-07-27 11:40:41 +00:00
excluder_resolution : 200
2018-12-21 12:44:59 +00:00
clip_p_max_pu : 1.e-2
2024-09-13 13:37:01 +00:00
landfall_length : 10
2023-11-06 13:08:53 +00:00
offwind-float :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2023-11-06 13:08:53 +00:00
resource :
method : wind
turbine : NREL_ReferenceTurbine_5MW_offshore
2024-08-30 16:06:26 +00:00
smooth : false
2024-08-13 16:13:32 +00:00
add_cutout_windspeed : true
2023-11-06 13:08:53 +00:00
# ScholzPhd Tab 4.3.1: 10MW/km^2
capacity_per_sqkm : 2
correction_factor : 0.8855
# proxy for wake losses
# from 10.1016/j.energy.2018.08.153
# until done more rigorously in #153
corine : [ 44 , 255 ]
natura : true
2023-11-06 14:46:46 +00:00
ship_threshold : 400
excluder_resolution : 200
2023-11-06 13:08:53 +00:00
min_depth : 60
max_depth : 1000
clip_p_max_pu : 1.e-2
2024-09-13 13:37:01 +00:00
landfall_length : 10
2018-01-29 21:28:33 +00:00
solar :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2018-01-29 21:28:33 +00:00
resource :
method : pv
panel : CSi
2018-07-10 14:32:47 +00:00
orientation :
slope : 35 .
azimuth : 180 .
2024-01-04 18:22:26 +00:00
capacity_per_sqkm : 5.1
2022-01-13 14:42:48 +00:00
# correction_factor: 0.854337
2018-12-10 17:40:54 +00:00
corine : [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 26 , 31 , 32 ]
2024-01-03 14:01:43 +00:00
luisa : false # [1111, 1121, 1122, 1123, 1130, 1210, 1221, 1222, 1230, 1241, 1242, 1310, 1320, 1330, 1410, 1421, 1422, 2110, 2120, 2130, 2210, 2220, 2230, 2310, 2410, 2420, 3210, 3320, 3330]
2018-12-10 17:40:54 +00:00
natura : true
2022-07-27 11:40:41 +00:00
excluder_resolution : 100
2018-12-21 12:44:59 +00:00
clip_p_max_pu : 1.e-2
2024-04-25 09:26:09 +00:00
solar-hsat :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2024-04-25 09:26:09 +00:00
resource :
method : pv
panel : CSi
orientation :
slope : 35 .
azimuth : 180 .
tracking : horizontal
capacity_per_sqkm : 4.43 # 15% higher land usage acc. to NREL
corine : [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 26 , 31 , 32 ]
luisa : false # [1111, 1121, 1122, 1123, 1130, 1210, 1221, 1222, 1230, 1241, 1242, 1310, 1320, 1330, 1410, 1421, 1422, 2110, 2120, 2130, 2210, 2220, 2230, 2310, 2410, 2420, 3210, 3320, 3330]
natura : true
excluder_resolution : 100
clip_p_max_pu : 1.e-2
2018-01-29 21:28:33 +00:00
hydro :
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2018-01-29 21:28:33 +00:00
carriers : [ ror, PHS, hydro]
PHS_max_hours : 6
2020-12-03 22:47:38 +00:00
hydro_max_hours : "energy_capacity_totals_by_country" # one of energy_capacity_totals_by_country, estimate_by_large_installations or a float
2023-07-21 11:23:00 +00:00
flatten_dispatch : false
2023-08-02 09:11:41 +00:00
flatten_dispatch_buffer : 0.2
2018-12-21 12:44:59 +00:00
clip_min_inflow : 1.0
2024-03-14 13:31:18 +00:00
eia_norm_year : false
2023-04-29 10:40:55 +00:00
eia_correct_by_capacity : false
eia_approximate_missing : false
2019-10-02 13:49:01 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#conventional
2022-06-09 18:31:50 +00:00
conventional :
2023-06-29 12:50:41 +00:00
unit_commitment : false
dynamic_fuel_price : false
2022-06-09 18:31:50 +00:00
nuclear :
2022-06-27 15:35:19 +00:00
p_max_pu : "data/nuclear_p_max_pu.csv" # float of file name
2022-06-09 18:31:50 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#lines
2017-12-18 19:34:15 +00:00
lines :
types :
Introducing OpenStreetMap high-voltage grid to PyPSA-Eur (#1079)
* Implemented which uses the overpass API to download power features for individual countries.
* Extended rule by input.
* Bug fixes and improvements to clean_osm_data.py. Added in retrieve_osm_data.py.
* Updated clean_osm_data and retrieve_osm_data to create clean substations.
* Finished clean_osm_data function.
* Added check whether line is a circle. If so, drop it.
* Extended build_electricity.smk by build_osm_network.py
* Added build_osm_network
* Working osm-network-fast
* Bug fixes.
* Finalised and cleaned including docstrings.
* Added try catch to retrieve_osm_data. Allows for parallelisation of downloads.
* Updated cleaning process.
* Set maximum number of threads for retrieving to 4, wrt. fair usage policy and potential request errors.
* Intermediate update on clean_osm_data.py. Added docstrings.
* Bug fix.
* Bug fix.
* Bug fixes in data types out of clean_osm_data
* Significant improvements to retrieve_osm_data, clean_osm_data. Cleaned code. Speed improvements
* Cleaned config.
* Fixes.
* Bug fixes.
* Updated default config
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Removed overpass from required packages. Not needed anymore.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added links_relations (route = power, frequency = 0) to retrieval. This will change how HVDC links are extracted in the near future.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Work-in-progress clean_osm_data
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added clean links output to clean_osm_data. Script uses OSM relations to retrieve clean HVDC links.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* New code for integrating HVDC links. Using relations. Base network implementation functioning.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* removed manual line dropping.
* Updated clean script
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* reverted Snakefile to default: sync settings
* added prebuilt functionality.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated build_electricity.smk to work with scenario management.
* removed commented-out code.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* removed commented-out code.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed bug in pdf export by substituting pdf export with svg.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Bug-fix Snakefile
* dropped not needed columns from build_osm_network.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated build_shapes, config.default and clean_osm_data.
* pre-commit changes.
* test
* Added initial prepare_osm_network_release.py script
* Finalised prepare_osm_network_release script to build clean and stable OSM base_network input files.
* Added new rules/development.smk
* Updated clean_osm_data to add substation_centroid to linestrings
* Updated clean_osm_data to add substation_centroid to linestrings
* Updated clean_osm_data to add substation_centroid to linestrings
* Updated clean_osm_data to add substation_centroid to linestrings
* Added osm-prebuilt functionality and zenodo sandbox repository.
* Updated clean_osm_data to geopandas v.1.01
* Made base_network and build_osm_network function more robust for empty links.
* Made base_network and build_osm_network function more robust for empty links.
* Bug fix in base_network. Voltage level null is now kept (relevant e.g. for Corsica)
* Merge with hcanges in upstream PR 1146. Fixing UA and MD.
* Updated Zenodo and fixed prepare_osm_network_release
* Updated osm network release.
* Updated prepare osm network release.
* Updated MD, UA scripts.
* Cleaned determine_availability_matrix_MD_UA.py, removed redundant code
* Bug fixes.
* Bug fixes for UA MD scripts.
* Rename of build script.
* Bug fix: only distribute load to buses with substation.
* Updated zenodo sandbox repository.
* Updated config.default
* Cleaned config.default.yaml: Related settings grouped together and redundant voltage settings aggregated.
* Cleaned config.default.yaml: Related settings grouped together and redundant voltage settings aggregated. Added release notes.
* Updated Zenodo repositories for OSM-prebuilt to offcial publication.
* Updated configtables
* Updated links.csv: Under_construction lines to in commission.
* Updated link 8394 and parameter_corrections: Continuation of North-Sea-Link.
* Major update: fix simplify_network, fix Corsica, updated build_osm_network to include lines overpassing nodes.
* remove config backup
* Bug fix: Carrier type of all supernodes corrected to 'AC'
* Bug fix: Carrier type of all supernodes corrected to 'AC'
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated rules and base_network for compatibility with TYNDP projects.
* Updated Zenodo repository and prebuilt network to include 150 kV HVDC connections.
* Removed outdated config backup.
* Implemented all comments from PR #1079. Cleaned up OSM implementation.
* Bug fix: Added all voltages, 200 kV-750 kV, to default config.
* Cleaning and bugfixes.
* Updated Zenodo repository to https://zenodo.org/records/13358976. Added converter voltages, 'underground' property for DC lines/cables, and included Konti-Skan HVDC (DK-SE). Added compatibility with https://github.com/PyPSA/pypsa-eur/pull/1079 and https://github.com/PyPSA/pypsa-eur/pull/1085
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* simplify_network: handle complicated transformer topologies
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* syntax fix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-08-22 13:01:20 +00:00
200. : "Al/St 240/40 2-bundle 200.0"
2017-12-18 19:34:15 +00:00
220. : "Al/St 240/40 2-bundle 220.0"
300. : "Al/St 240/40 3-bundle 300.0"
380. : "Al/St 240/40 4-bundle 380.0"
2023-10-09 14:15:56 +00:00
500. : "Al/St 240/40 4-bundle 380.0"
2023-08-01 06:42:47 +00:00
750. : "Al/St 560/50 4-bundle 750.0"
2017-12-18 19:34:15 +00:00
s_max_pu : 0.7
2020-09-26 11:10:50 +00:00
s_nom_max : .inf
2024-01-07 08:48:43 +00:00
max_extension : 20000 #MW
2017-12-18 19:34:15 +00:00
length_factor : 1.25
2023-10-09 14:16:53 +00:00
reconnect_crimea : true
2024-08-15 09:42:21 +00:00
under_construction: 'keep' # 'zero': set capacity to zero, 'remove': remove, 'keep' : with full capacity for lines in grid extract
2023-06-02 14:59:06 +00:00
dynamic_line_rating :
activate : false
2024-07-24 09:01:00 +00:00
cutout : europe-2013-sarah3-era5
2023-06-02 14:59:06 +00:00
correction_factor : 0.95
2023-07-03 17:25:01 +00:00
max_voltage_difference : false
max_line_rating : false
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#links
2017-12-18 19:34:15 +00:00
links :
2018-09-03 18:19:45 +00:00
p_max_pu : 1.0
2020-09-26 11:10:50 +00:00
p_nom_max : .inf
2024-01-07 08:48:43 +00:00
max_extension : 30000 #MW
2024-09-13 13:37:01 +00:00
length_factor : 1.25
2024-08-15 09:42:21 +00:00
under_construction: 'keep' # 'zero': set capacity to zero, 'remove': remove, 'keep' : with full capacity for lines in grid extract
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#transmission_projects
transmission_projects :
enable : true
include :
tyndp2020 : true
nep : true
manual : true
skip :
- upgraded_lines
- upgraded_links
status :
- under_construction
- in_permitting
- confirmed
#- planned_not_yet_permitted
#- under_consideration
new_link_capacity : zero #keep or zero
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#transformers
2017-12-18 19:34:15 +00:00
transformers :
x : 0.1
s_nom : 2000 .
type : ''
2024-01-05 16:33:32 +00:00
# docs-load in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#load
2019-02-22 20:47:41 +00:00
load :
2023-06-15 23:31:59 +00:00
interpolate_limit : 3
time_shift_for_large_gaps : 1w
2020-12-03 11:49:04 +00:00
manual_adjustments : true # false
2019-02-22 20:47:41 +00:00
scaling_factor : 1.0
2023-04-29 10:40:55 +00:00
fixed_year : false # false or year (e.g. 2013)
2024-03-15 13:28:01 +00:00
supplement_synthetic : true
2024-09-13 13:37:01 +00:00
distribution_key :
gdp : 0.6
population : 0.4
2019-02-22 20:47:41 +00:00
2023-07-04 23:51:50 +00:00
# docs
2023-06-15 23:31:59 +00:00
# TODO: PyPSA-Eur merge issue in prepare_sector_network.py
2020-12-09 14:18:01 +00:00
# regulate what components with which carriers are kept from PyPSA-Eur;
# some technologies are removed because they are implemented differently
2021-09-27 09:16:12 +00:00
# (e.g. battery or H2 storage) or have different year-dependent costs
2021-07-03 10:59:09 +00:00
# in PyPSA-Eur-Sec
2020-12-09 14:18:01 +00:00
pypsa_eur :
2021-07-01 18:09:04 +00:00
Bus :
- AC
Link :
- DC
Generator :
- onwind
- offwind-ac
- offwind-dc
2024-05-15 16:02:15 +00:00
- offwind-float
- solar-hsat
2021-07-01 18:09:04 +00:00
- solar
- ror
2024-01-04 18:20:26 +00:00
- nuclear
2021-07-01 18:09:04 +00:00
StorageUnit :
- PHS
- hydro
Store : [ ]
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#energy
2021-07-01 18:09:04 +00:00
energy :
2024-02-23 12:53:28 +00:00
energy_totals_year : 2019
2021-07-01 18:09:04 +00:00
base_emissions_year : 1990
2023-07-04 23:51:50 +00:00
emissions : CO2
2020-12-09 14:18:01 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#biomass
2019-04-17 09:44:16 +00:00
biomass :
year : 2030
2021-07-11 15:52:32 +00:00
scenario : ENS_Med
2020-09-21 16:35:45 +00:00
classes :
2021-07-01 18:09:04 +00:00
solid biomass :
2021-08-16 11:19:20 +00:00
- Agricultural waste
- Fuelwood residues
2021-07-11 15:52:32 +00:00
- Secondary Forestry residues - woodchips
2021-08-16 11:19:20 +00:00
- Sawdust
- Residues from landscape care
2021-07-01 18:09:04 +00:00
not included :
2021-07-11 15:52:32 +00:00
- Sugar from sugar beet
2021-08-16 11:19:20 +00:00
- Rape seed
2021-07-11 15:52:32 +00:00
- "Sunflower, soya seed "
2021-08-16 11:19:20 +00:00
- Bioethanol barley, wheat, grain maize, oats, other cereals and rye
- Miscanthus, switchgrass, RCG
2021-07-11 15:52:32 +00:00
- Willow
2021-08-16 11:19:20 +00:00
- Poplar
- FuelwoodRW
- C&P_RW
2021-07-01 18:09:04 +00:00
biogas :
2021-07-11 15:52:32 +00:00
- Manure solid, liquid
- Sludge
2024-07-04 11:34:05 +00:00
municipal solid waste :
- Municipal waste
Addition of unsustainable biomass potentials (#1139)
* add columns to potential df defined by difference to eurostat
* add network components
* add unsustainable bioliquids
* replaced stores by generators, still infeasible
* remove municipal waste
* remove separate treatment of waste from biomass potential calculation
* phase out unsustainble biomass potentials
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* phase-out unsustainable bioliquids
* remove waste_incineration from build_sector rule
* multiple potential calculation for different planning horizons
* raised costs of unsustainable solid biomass
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* stores instead of generators
* change snakemake inputs
* add phas-eout to config
* add techcolor for unsustainable bioliquids
* add config parameter to disable inclusion of unsustainable bioenergy potentials
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add biomass to params
* remove call of snakemake object in define_spatial
* Quick resolve of review part 1 (config parameters, if-clause-reduction, bioliquid spatial, fix bioliquid link capacity
* Quick resolve of review part 2 (config table, helper function, fixed build_eurostat, removed dir-change, forced unsustainable usage, reverted overnight distinction in Snakefile)
* Cast of planning_horizon parameter to int type after test run
* added JRC fuel costs for solid and liquid biofuels, BtL VOM
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clean-up after master merge
* adressed review (increase threads for build_eurostat, fixed e_max_pu of Stores, changed version of technology-data); added release note
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lisazeyen <35347358+lisazeyen@users.noreply.github.com>
2024-08-07 15:52:00 +00:00
share_unsustainable_use_retained :
2020 : 1
2025 : 0.66
2030 : 0.33
2035 : 0
2040 : 0
2045 : 0
2050 : 0
share_sustainable_potential_available :
2020 : 0
2025 : 0.33
2030 : 0.66
2035 : 1
2040 : 1
2045 : 1
2050 : 1
2021-07-01 18:09:04 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#solar-thermal
2021-07-01 18:09:04 +00:00
solar_thermal :
clearsky_model : simple # should be "simple" or "enhanced"?
orientation :
slope : 45 .
azimuth : 180 .
2024-03-01 13:37:16 +00:00
cutout : default
2019-04-17 15:04:33 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#existing-capacities
2020-07-18 09:22:30 +00:00
existing_capacities :
2024-06-13 12:51:32 +00:00
grouping_years_power : [ 1920 , 1950 , 1955 , 1960 , 1965 , 1970 , 1975 , 1980 , 1985 , 1990 , 1995 , 2000 , 2005 , 2010 , 2015 , 2020 , 2025 ]
grouping_years_heat : [ 1980 , 1985 , 1990 , 1995 , 2000 , 2005 , 2010 , 2015 , 2019 ] # heat grouping years >= baseyear will be ignored
2020-07-18 09:22:30 +00:00
threshold_capacity : 10
2024-01-29 10:25:09 +00:00
default_heating_lifetime : 20
2021-07-01 18:09:04 +00:00
conventional_carriers :
- lignite
- coal
- oil
- uranium
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#sector
2019-04-17 15:04:33 +00:00
sector :
2024-02-17 10:57:16 +00:00
transport : true
heating : true
biomass : true
industry : true
agriculture : true
2024-07-04 09:16:00 +00:00
fossil_fuels : true
2021-09-29 14:23:38 +00:00
district_heating :
2023-07-04 23:51:50 +00:00
potential : 0.6
2022-09-14 14:44:53 +00:00
progress :
2020 : 0.0
2024-01-05 13:46:02 +00:00
2025 : 0.15
2022-09-14 14:44:53 +00:00
2030 : 0.3
2024-01-05 13:46:02 +00:00
2035 : 0.45
2022-09-14 14:44:53 +00:00
2040 : 0.6
2024-01-05 13:46:02 +00:00
2045 : 0.8
2022-09-14 14:44:53 +00:00
2050 : 1.0
2021-09-29 14:23:38 +00:00
district_heating_loss : 0.15
2024-08-30 14:01:46 +00:00
supply_temperature_approximation :
max_forward_temperature :
2024-09-09 14:38:39 +00:00
FR : 110
DK : 75
DE : 109
CZ : 130
FI : 115
PL : 130
SE : 102
IT : 90
2024-08-30 14:01:46 +00:00
min_forward_temperature :
2024-09-09 14:38:39 +00:00
DE : 82
2024-08-30 14:01:46 +00:00
return_temperature :
2024-09-09 14:38:39 +00:00
DE : 58
2024-08-30 14:01:46 +00:00
lower_threshold_ambient_temperature : 0
upper_threshold_ambient_temperature : 10
rolling_window_ambient_temperature : 72
2024-07-19 13:39:16 +00:00
heat_source_cooling : 6 #K
heat_pump_cop_approximation :
refrigerant : ammonia
heat_exchanger_pinch_point_temperature_difference : 5 #K
isentropic_compressor_efficiency : 0.8
heat_loss : 0.0
2024-07-29 12:36:30 +00:00
heat_pump_sources :
2024-08-02 13:56:37 +00:00
urban central :
2024-07-31 14:55:09 +00:00
- air
2024-08-02 13:56:37 +00:00
urban decentral :
2024-07-31 14:55:09 +00:00
- air
2024-08-01 09:59:26 +00:00
rural :
2024-08-02 13:56:37 +00:00
- air
- ground
2024-01-18 16:25:05 +00:00
cluster_heat_buses : true
2024-03-01 13:37:16 +00:00
heat_demand_cutout : default
2023-07-04 23:51:50 +00:00
bev_dsm_restriction_value : 0.75
bev_dsm_restriction_time : 7
2021-07-01 18:09:04 +00:00
transport_heating_deadband_upper : 20 .
transport_heating_deadband_lower : 15 .
2023-07-04 23:51:50 +00:00
ICE_lower_degree_factor : 0.375
2021-07-01 18:09:04 +00:00
ICE_upper_degree_factor : 1.6
EV_lower_degree_factor : 0.98
EV_upper_degree_factor : 0.63
2023-07-04 23:51:50 +00:00
bev_dsm : true
bev_availability : 0.5
bev_energy : 0.05
bev_charge_efficiency : 0.9
bev_charge_rate : 0.011
2021-07-01 18:09:04 +00:00
bev_avail_max : 0.95
bev_avail_mean : 0.8
2023-07-04 23:51:50 +00:00
v2g : true
2022-12-29 10:46:57 +00:00
land_transport_fuel_cell_share :
2022-09-14 14:44:53 +00:00
2020 : 0
2024-01-05 13:46:02 +00:00
2025 : 0
2024-01-04 18:03:34 +00:00
2030 : 0
2024-01-05 13:46:02 +00:00
2035 : 0
2024-01-04 18:03:34 +00:00
2040 : 0
2024-01-05 13:46:02 +00:00
2045 : 0
2024-01-04 18:03:34 +00:00
2050 : 0
2022-12-29 10:46:57 +00:00
land_transport_electric_share :
2022-09-14 14:44:53 +00:00
2020 : 0
2024-01-05 13:46:02 +00:00
2025 : 0.15
2024-01-04 18:03:34 +00:00
2030 : 0.3
2024-01-05 13:46:02 +00:00
2035 : 0.45
2024-01-04 18:03:34 +00:00
2040 : 0.7
2024-01-05 13:46:02 +00:00
2045 : 0.85
2024-01-04 18:03:34 +00:00
2050 : 1
2022-12-29 10:46:57 +00:00
land_transport_ice_share :
2020 : 1
2024-01-05 13:46:02 +00:00
2025 : 0.85
2022-12-29 10:46:57 +00:00
2030 : 0.7
2024-01-05 13:46:02 +00:00
2035 : 0.55
2022-12-29 10:46:57 +00:00
2040 : 0.3
2024-01-05 13:46:02 +00:00
2045 : 0.15
2022-12-29 10:46:57 +00:00
2050 : 0
2024-04-12 12:36:42 +00:00
transport_electric_efficiency : 53.19 # 1 MWh_el = 53.19*100 km
transport_fuel_cell_efficiency : 30.003 # 1 MWh_H2 = 30.003*100 km
transport_ice_efficiency : 16.0712 # 1 MWh_oil = 16.0712 * 100 km
2021-08-18 14:17:59 +00:00
agriculture_machinery_electric_share : 0
2022-12-29 10:46:57 +00:00
agriculture_machinery_oil_share : 1
2023-07-04 23:51:50 +00:00
agriculture_machinery_fuel_efficiency : 0.7
agriculture_machinery_electric_efficiency : 0.3
MWh_MeOH_per_MWh_H2 : 0.8787
MWh_MeOH_per_tCO2 : 4.0321
MWh_MeOH_per_MWh_e : 3.6907
shipping_hydrogen_liquefaction : false
2023-02-22 12:26:29 +00:00
shipping_hydrogen_share :
2020 : 0
2024-01-05 13:46:02 +00:00
2025 : 0
2023-02-22 12:26:29 +00:00
2030 : 0
2024-01-05 13:46:02 +00:00
2035 : 0
2023-02-22 12:26:29 +00:00
2040 : 0
2024-01-05 13:46:02 +00:00
2045 : 0
2023-02-22 12:26:29 +00:00
2050 : 0
shipping_methanol_share :
2020 : 0
2024-01-05 13:46:02 +00:00
2025 : 0.15
2023-02-22 12:26:29 +00:00
2030 : 0.3
2024-01-05 13:46:02 +00:00
2035 : 0.5
2023-02-22 12:26:29 +00:00
2040 : 0.7
2024-01-05 13:46:02 +00:00
2045 : 0.85
2023-02-22 12:26:29 +00:00
2050 : 1
shipping_oil_share :
2020 : 1
2024-01-05 13:46:02 +00:00
2025 : 0.85
2023-02-22 12:26:29 +00:00
2030 : 0.7
2024-01-05 13:46:02 +00:00
2035 : 0.5
2023-02-22 12:26:29 +00:00
2040 : 0.3
2024-01-05 13:46:02 +00:00
2045 : 0.15
2023-02-22 12:26:29 +00:00
2050 : 0
2023-07-04 23:51:50 +00:00
shipping_methanol_efficiency : 0.46
shipping_oil_efficiency : 0.40
aviation_demand_factor : 1 .
HVC_demand_factor : 1 .
time_dep_hp_cop : true
2024-07-19 13:39:16 +00:00
heat_pump_sink_T_individual_heating : 55 .
2023-07-04 23:51:50 +00:00
reduce_space_heat_exogenously : true
reduce_space_heat_exogenously_factor :
2022-09-14 14:44:53 +00:00
2020 : 0.10 # this results in a space heat demand reduction of 10%
2025 : 0.09 # first heat demand increases compared to 2020 because of larger floor area per capita
2030 : 0.09
2035 : 0.11
2040 : 0.16
2045 : 0.21
2050 : 0.29
2023-07-04 23:51:50 +00:00
retrofitting :
retro_endogen : false
cost_factor : 1.0
interest_rate : 0.04
annualise_cost : true
tax_weighting : false
construction_index : true
2021-07-01 18:09:04 +00:00
tes : true
2023-07-04 23:51:50 +00:00
tes_tau :
2021-07-01 18:09:04 +00:00
decentral : 3
central : 180
boilers : true
2023-12-23 06:31:31 +00:00
resistive_heaters : true
2021-07-01 18:09:04 +00:00
oil_boilers : false
2022-08-05 09:27:14 +00:00
biomass_boiler : true
2024-09-08 09:50:25 +00:00
overdimension_heat_generators :
decentral : 1.1 #to cover demand peaks bigger than data
central : 1.0
2021-07-01 18:09:04 +00:00
chp : true
micro_chp : false
solar_thermal : true
solar_cf_correction : 0.788457 # = >>> 1/1.2683
marginal_cost_storage : 0 . #1e-4
methanation : true
2022-06-27 16:06:59 +00:00
coal_cc : false
2021-07-01 18:09:04 +00:00
dac : true
2022-07-26 13:47:17 +00:00
co2_vent : false
2023-12-04 09:47:41 +00:00
central_heat_vent : false
2024-09-16 13:21:07 +00:00
allam_cycle_gas : false
2023-04-22 07:44:13 +00:00
hydrogen_fuel_cell : true
hydrogen_turbine : false
2021-07-01 18:09:04 +00:00
SMR : true
2023-10-11 14:07:00 +00:00
SMR_cc : true
2024-01-04 11:43:55 +00:00
regional_oil_demand : false
2024-02-09 17:36:16 +00:00
regional_coal_demand : false
2023-02-16 16:21:58 +00:00
regional_co2_sequestration_potential :
2023-07-04 23:51:50 +00:00
enable : false
2024-04-10 15:13:58 +00:00
attribute :
- conservative estimate Mt
- conservative estimate GAS Mt
- conservative estimate OIL Mt
- conservative estimate aquifer Mt
2023-07-04 23:51:50 +00:00
include_onshore : false
min_size : 3
max_size : 25
years_of_storage : 25
2024-08-20 13:05:30 +00:00
co2_sequestration_potential :
2020 : 0
2025 : 0
2030 : 50
2035 : 100
2040 : 200
2045 : 200
2050 : 200
2023-07-04 23:51:50 +00:00
co2_sequestration_cost : 10
2023-08-30 12:35:17 +00:00
co2_sequestration_lifetime : 50
2023-01-24 17:44:39 +00:00
co2_spatial : false
co2network : false
2023-09-18 10:25:04 +00:00
co2_network_cost_factor : 1
2023-07-04 23:51:50 +00:00
cc_fraction : 0.9
2021-07-01 18:09:04 +00:00
hydrogen_underground_storage : true
2021-11-29 08:12:07 +00:00
hydrogen_underground_storage_locations :
2021-12-18 15:17:31 +00:00
# - onshore # more than 50 km from sea
- nearshore # within 50 km of sea
2021-11-29 08:12:07 +00:00
# - offshore
2024-08-26 13:15:02 +00:00
methanol :
regional_methanol_demand : false
methanol_reforming : false
methanol_reforming_cc : false
methanol_to_kerosene : false
methanol_to_power :
ccgt : false
ccgt_cc : false
ocgt : false
allam : false
biomass_to_methanol : false
biomass_to_methanol_cc : false
2023-07-04 23:51:50 +00:00
ammonia : false
2024-05-13 13:24:33 +00:00
min_part_load_fischer_tropsch : 0.5
2024-01-02 18:45:02 +00:00
min_part_load_methanolisation : 0.3
min_part_load_methanation : 0.3
2024-07-12 14:22:53 +00:00
use_fischer_tropsch_waste_heat : 0.25
use_haber_bosch_waste_heat : 0.25
use_methanolisation_waste_heat : 0.25
use_methanation_waste_heat : 0.25
use_fuel_cell_waste_heat : 0.25
use_electrolysis_waste_heat : 0.25
2024-02-17 10:57:16 +00:00
electricity_transmission_grid : true
2021-12-03 16:59:17 +00:00
electricity_distribution_grid : true
2023-07-04 23:51:50 +00:00
electricity_grid_connection : true
2023-08-07 12:31:19 +00:00
transmission_efficiency :
DC :
efficiency_static : 0.98
efficiency_per_1000km : 0.977
H2 pipeline :
2024-02-16 12:32:24 +00:00
efficiency_per_1000km : 1 # 0.982
compression_per_1000km : 0.018
2023-08-07 12:31:19 +00:00
gas pipeline :
2023-08-08 15:56:22 +00:00
efficiency_per_1000km : 1 #0.977
compression_per_1000km : 0.01
2024-05-20 10:41:54 +00:00
electricity distribution grid :
efficiency_static : 0.97
2021-11-04 20:48:54 +00:00
H2_network : true
2021-12-03 16:59:17 +00:00
gas_network : false
2023-07-04 23:51:50 +00:00
H2_retrofit : false
H2_retrofit_capacity_per_CH4 : 0.6
gas_network_connectivity_upgrade : 1
2021-07-01 18:09:04 +00:00
gas_distribution_grid : true
2023-07-04 23:51:50 +00:00
gas_distribution_grid_cost_factor : 1.0
biomass_spatial : false
biomass_transport : false
2024-01-02 17:52:22 +00:00
biogas_upgrading_cc : false
2023-07-04 23:51:50 +00:00
conventional_generation :
2021-07-01 18:09:04 +00:00
OCGT : gas
2022-08-04 14:13:09 +00:00
biomass_to_liquid : false
2024-09-16 13:04:24 +00:00
biomass_to_liquid_cc : false
2024-07-03 10:38:16 +00:00
electrobiofuels : false
2022-08-04 13:34:20 +00:00
biosng : false
2024-09-16 13:04:24 +00:00
biosng_cc : false
2024-08-16 11:18:10 +00:00
bioH2 : false
2024-08-05 08:32:22 +00:00
municipal_solid_waste : false
2023-08-30 13:57:47 +00:00
limit_max_growth :
enable : false
# allowing 30% larger than max historic growth
factor : 1.3
max_growth : # unit GW
onwind : 16 # onshore max grow so far 16 GW in Europe https://www.iea.org/reports/renewables-2020/wind
solar : 28 # solar max grow so far 28 GW in Europe https://www.iea.org/reports/renewables-2020/solar-pv
offwind-ac : 35 # offshore max grow so far 3.5 GW in Europe https://windeurope.org/about-wind/statistics/offshore/european-offshore-wind-industry-key-trends-statistics-2019/
offwind-dc : 35
max_relative_growth :
onwind : 3
solar : 3
offwind-ac : 3
offwind-dc : 3
2024-03-19 18:30:23 +00:00
enhanced_geothermal :
enable : false
2024-03-27 10:16:23 +00:00
flexible : true
max_hours : 240
max_boost : 0.25
var_cf : true
sustainability_factor : 0.0025
2024-07-04 08:18:19 +00:00
solid_biomass_import :
enable : false
price : 54 #EUR/MWh
2024-08-02 13:13:47 +00:00
max_amount : 1390 # TWh
2024-07-04 08:18:19 +00:00
upstream_emissions_factor : .1 #share of solid biomass CO2 emissions at full combustion
2021-07-01 18:09:04 +00:00
2024-08-05 08:32:22 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#industry
2021-07-01 18:09:04 +00:00
industry :
2023-07-04 23:51:50 +00:00
St_primary_fraction :
2022-09-14 14:44:53 +00:00
2020 : 0.6
2025 : 0.55
2030 : 0.5
2035 : 0.45
2040 : 0.4
2045 : 0.35
2050 : 0.3
2023-07-04 23:51:50 +00:00
DRI_fraction :
2022-09-14 14:44:53 +00:00
2020 : 0
2025 : 0
2030 : 0.05
2035 : 0.2
2040 : 0.4
2045 : 0.7
2050 : 1
2023-07-04 23:51:50 +00:00
H2_DRI : 1.7
elec_DRI : 0.322
Al_primary_fraction :
2022-09-14 14:44:53 +00:00
2020 : 0.4
2025 : 0.375
2030 : 0.35
2035 : 0.325
2040 : 0.3
2045 : 0.25
2050 : 0.2
2023-07-04 23:51:50 +00:00
MWh_NH3_per_tNH3 : 5.166
MWh_CH4_per_tNH3_SMR : 10.8
MWh_elec_per_tNH3_SMR : 0.7
2024-01-02 18:04:34 +00:00
MWh_H2_per_tNH3_electrolysis : 5.93
2024-01-02 18:09:46 +00:00
MWh_elec_per_tNH3_electrolysis : 0.2473
2022-06-10 14:43:29 +00:00
MWh_NH3_per_MWh_H2_cracker : 1.46 # https://github.com/euronion/trace/blob/44a5ff8401762edbef80eff9cfe5a47c8d3c8be4/data/efficiencies.csv
2023-07-04 23:51:50 +00:00
NH3_process_emissions : 24.5
petrochemical_process_emissions : 25.5
2024-02-02 10:52:01 +00:00
#HVC primary/recycling based on values used in Neumann et al https://doi.org/10.1016/j.joule.2023.06.016, linearly interpolated between 2020 and 2050
#2020 recycling rates based on Agora https://static.agora-energiewende.de/fileadmin/Projekte/2021/2021_02_EU_CEAP/A-EW_254_Mobilising-circular-economy_study_WEB.pdf
#fractions refer to the total primary HVC production in 2020
#assumes 6.7 Mtplastics produced from recycling in 2020
HVC_primary_fraction :
2020 : 1.0
2025 : 0.9
2030 : 0.8
2035 : 0.7
2040 : 0.6
2045 : 0.5
2050 : 0.4
HVC_mechanical_recycling_fraction :
2020 : 0.12
2025 : 0.15
2030 : 0.18
2035 : 0.21
2040 : 0.24
2045 : 0.27
2050 : 0.30
HVC_chemical_recycling_fraction :
2020 : 0.0
2025 : 0.0
2030 : 0.04
2035 : 0.08
2040 : 0.12
2045 : 0.16
2050 : 0.20
2024-03-01 17:08:28 +00:00
HVC_environment_sequestration_fraction : 0 .
2024-03-01 17:39:15 +00:00
waste_to_energy : false
2024-05-13 15:13:16 +00:00
waste_to_energy_cc : false
2024-02-14 17:15:18 +00:00
sector_ratios_fraction_future :
2020 : 0.0
2025 : 0.1
2030 : 0.3
2035 : 0.5
2040 : 0.7
2045 : 0.9
2050 : 1.0
2024-02-14 11:24:58 +00:00
basic_chemicals_without_NH3_production_today : 69 . #Mt/a, = 86 Mtethylene-equiv - 17 MtNH3
2023-07-04 23:51:50 +00:00
HVC_production_today : 52 .
MWh_elec_per_tHVC_mechanical_recycling : 0.547
MWh_elec_per_tHVC_chemical_recycling : 6.9
chlorine_production_today : 9.58
MWh_elec_per_tCl : 3.6
MWh_H2_per_tCl : -0.9372
methanol_production_today : 1.5
MWh_elec_per_tMeOH : 0.167
MWh_CH4_per_tMeOH : 10.25
2024-05-14 14:40:31 +00:00
MWh_MeOH_per_tMeOH : 5.528
2021-07-01 18:09:04 +00:00
hotmaps_locate_missing : false
2024-07-29 14:00:37 +00:00
reference_year : 2019
2024-08-30 16:06:41 +00:00
oil_refining_emissions : 0.013
2019-04-17 15:04:33 +00:00
2023-08-30 13:57:47 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#costs
2017-12-18 19:34:15 +00:00
costs :
2018-01-29 21:28:33 +00:00
year : 2030
2024-08-30 14:47:46 +00:00
version : v0.9.2
2023-08-30 09:50:49 +00:00
social_discountrate : 0.02
2020-10-16 09:38:26 +00:00
fill_values :
FOM : 0
VOM : 0
efficiency : 1
fuel : 0
investment : 0
lifetime : 25
"CO2 intensity": 0
"discount rate": 0.07
2019-04-17 15:04:33 +00:00
# Marginal and capital costs can be overwritten
# capital_cost:
2021-07-01 18:09:04 +00:00
# onwind: 500
2019-10-02 13:49:01 +00:00
marginal_cost :
2018-01-29 21:28:33 +00:00
solar : 0.01
onwind : 0.015
offwind : 0.015
hydro : 0 .
2018-01-30 22:12:36 +00:00
H2 : 0 .
2021-03-23 19:30:06 +00:00
electrolysis : 0 .
fuel cell : 0 .
2018-01-30 22:12:36 +00:00
battery : 0 .
2021-03-23 19:30:06 +00:00
battery inverter : 0 .
2023-06-15 23:31:59 +00:00
emission_prices :
2023-09-15 09:55:52 +00:00
enable : false
2018-01-29 21:28:33 +00:00
co2 : 0 .
2023-09-15 09:55:52 +00:00
co2_monthly_prices : false
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#clustering
2022-06-30 07:01:49 +00:00
clustering :
2023-12-11 19:08:27 +00:00
focus_weights : false
2022-06-30 07:01:49 +00:00
simplify_network :
2023-06-15 23:31:59 +00:00
to_substations : false
2022-12-28 08:33:08 +00:00
remove_stubs : true
2024-09-13 13:37:01 +00:00
remove_stubs_across_borders : false
2022-06-30 07:01:49 +00:00
cluster_network :
algorithm : kmeans
2024-09-13 13:37:01 +00:00
hac_features :
- wnd100m
- influx_direct
exclude_carriers : [ ]
consider_efficiency_classes : false
2022-06-30 07:01:49 +00:00
aggregation_strategies :
generators :
committable : any
ramp_limit_up : max
ramp_limit_down : max
2024-02-17 10:57:16 +00:00
temporal :
resolution_elec : false
resolution_sector : false
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#adjustments
adjustments :
electricity : false
2024-09-12 14:02:10 +00:00
sector :
factor :
Link :
electricity distribution grid :
capital_cost : 1.0
absolute : false
2022-06-30 07:01:49 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#solving
2017-12-18 19:34:15 +00:00
solving :
2023-03-06 08:35:11 +00:00
#tmpdir: "path/to/tmp"
2017-12-18 19:34:15 +00:00
options :
2023-03-06 08:35:11 +00:00
clip_p_max_pu : 1.e-2
2019-10-02 13:49:01 +00:00
load_shedding : false
2024-07-24 08:54:15 +00:00
curtailment_mode : false
2017-12-18 19:34:15 +00:00
noisy_costs : true
2023-02-16 10:50:55 +00:00
skip_iterations : true
2023-07-11 15:48:35 +00:00
rolling_horizon : false
seed : 123
2023-12-31 13:15:37 +00:00
custom_extra_functionality : "../data/custom_extra_functionality.py"
2024-01-24 10:23:56 +00:00
# io_api: "direct" # Increases performance but only supported for the highs and gurobi solvers
2023-07-11 15:48:35 +00:00
# options that go into the optimize function
2020-02-10 11:06:43 +00:00
track_iterations : false
2024-05-15 12:56:50 +00:00
min_iterations : 2
max_iterations : 3
2024-01-04 15:02:02 +00:00
transmission_losses : 2
2023-07-11 15:48:35 +00:00
linearized_unit_commitment : true
horizon : 365
2024-05-15 12:56:50 +00:00
post_discretization :
enable : false
line_unit_size : 1700
2024-05-15 13:15:09 +00:00
line_threshold : 0.3
2024-05-15 12:56:50 +00:00
link_unit_size :
DC : 2000
H2 pipeline : 1200
gas pipeline : 1500
2024-05-15 13:15:09 +00:00
link_threshold :
DC : 0.3
H2 pipeline : 0.3
gas pipeline : 0.3
2024-09-24 20:25:15 +00:00
fractional_last_unit_size : false
2023-03-06 08:35:11 +00:00
2024-04-11 15:43:47 +00:00
agg_p_nom_limits :
agg_offwind : false
include_existing : false
2024-04-19 15:41:50 +00:00
file : data/agg_p_nom_minmax.csv
2023-03-06 08:35:11 +00:00
2023-09-27 06:22:28 +00:00
constraints :
CCL : false
EQ : false
BAU : false
SAFE : false
2023-03-06 08:35:11 +00:00
2017-12-18 19:34:15 +00:00
solver :
2018-03-09 14:43:55 +00:00
name : gurobi
2023-03-06 08:35:11 +00:00
options : gurobi-default
solver_options :
highs-default :
2024-04-24 14:23:43 +00:00
# refer to https://ergo-code.github.io/HiGHS/dev/options/definitions/
2024-07-24 08:54:15 +00:00
threads : 1
2023-03-06 08:35:11 +00:00
solver : "ipm"
run_crossover : "off"
small_matrix_value : 1e-6
large_matrix_value : 1e9
primal_feasibility_tolerance : 1e-5
dual_feasibility_tolerance : 1e-5
ipm_optimality_tolerance : 1e-4
parallel : "on"
random_seed : 123
gurobi-default :
2024-07-24 08:54:15 +00:00
threads : 8
2023-03-06 08:35:11 +00:00
method : 2 # barrier
crossover : 0
BarConvTol : 1.e-6
Seed : 123
AggFill : 0
PreDual : 0
GURO_PAR_BARDENSETHRESH : 200
gurobi-numeric-focus :
NumericFocus : 3 # Favour numeric stability over speed
method : 2 # barrier
crossover : 0 # do not use crossover
BarHomogeneous : 1 # Use homogeneous barrier if standard does not converge
BarConvTol : 1.e-5
FeasibilityTol : 1.e-4
OptimalityTol : 1.e-4
ObjScale : -0.5
threads : 8
Seed : 123
gurobi-fallback : # Use gurobi defaults
crossover : 0
method : 2 # barrier
BarHomogeneous : 1 # Use homogeneous barrier if standard does not converge
BarConvTol : 1.e-5
FeasibilityTol : 1.e-5
OptimalityTol : 1.e-5
Seed : 123
threads : 8
cplex-default :
threads : 4
lpmethod : 4 # barrier
solutiontype : 2 # non basic solution, ie no crossover
2023-03-25 03:38:52 +00:00
barrier.convergetol : 1.e-5
feasopt.tolerance : 1.e-6
2024-01-19 15:59:39 +00:00
copt-default :
Threads : 8
LpMethod : 2
Crossover : 0
2024-07-22 19:51:37 +00:00
RelGap : 1.e-6
Dualize : 0
copt-gpu :
LpMethod : 6
GPUMode : 1
PDLPTol : 1.e-5
Crossover : 0
2023-03-06 08:35:11 +00:00
cbc-default : {} # Used in CI
2023-03-06 14:41:02 +00:00
glpk-default : {} # Used in CI
2023-03-06 08:35:11 +00:00
2024-03-09 13:47:01 +00:00
mem_mb : 30000 #memory in MB; 20 GB enough for 50+B+I+H2; 100 GB for 181+B+I+H2
runtime : 6h #runtime in humanfriendly style https://humanfriendly.readthedocs.io/en/latest/
2023-03-06 08:35:11 +00:00
2017-12-18 19:34:15 +00:00
2023-07-04 23:51:50 +00:00
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#plotting
2017-12-18 19:34:15 +00:00
plotting :
map :
2021-07-08 12:41:34 +00:00
boundaries : [ -11 , 30 , 34 , 71 ]
2021-07-01 18:09:04 +00:00
color_geomap :
ocean : white
2022-02-20 15:13:11 +00:00
land : white
2024-01-25 13:34:03 +00:00
projection :
name : "EqualEarth"
# See https://scitools.org.uk/cartopy/docs/latest/reference/projections.html for alternatives, for example:
# name: "LambertConformal"
# central_longitude: 10.
# central_latitude: 50.
# standard_parallels: [35, 65]
2022-04-12 14:21:09 +00:00
eu_node_location :
x : -5.5
y : 46 .
2021-07-01 18:09:04 +00:00
costs_max : 1000
2018-08-02 14:14:38 +00:00
costs_threshold : 1
2021-07-01 18:09:04 +00:00
energy_max : 20000
energy_min : -20000
2018-08-02 14:14:38 +00:00
energy_threshold : 50 .
2017-12-18 19:34:15 +00:00
nice_names :
2019-10-02 13:49:01 +00:00
OCGT : "Open-Cycle Gas"
CCGT : "Combined-Cycle Gas"
offwind-ac : "Offshore Wind (AC)"
offwind-dc : "Offshore Wind (DC)"
2023-11-06 13:08:53 +00:00
offwind-float : "Offshore Wind (Floating)"
2019-10-02 13:49:01 +00:00
onwind : "Onshore Wind"
2020-01-29 16:01:57 +00:00
solar : "Solar"
PHS : "Pumped Hydro Storage"
hydro : "Reservoir & Dam"
2019-10-02 13:49:01 +00:00
battery : "Battery Storage"
H2 : "Hydrogen Storage"
2020-12-03 18:50:53 +00:00
lines : "Transmission Lines"
ror : "Run of River"
2023-08-01 06:42:47 +00:00
load : "Load Shedding"
2023-07-11 10:40:25 +00:00
ac : "AC"
dc : "DC"
2023-03-06 10:54:08 +00:00
2019-04-18 10:12:38 +00:00
tech_colors :
2021-10-06 14:41:10 +00:00
# wind
2021-07-01 18:09:04 +00:00
onwind : "#235ebc"
onshore wind : "#235ebc"
offwind : "#6895dd"
offshore wind : "#6895dd"
offwind-ac : "#6895dd"
offshore wind (AC) : "#6895dd"
2023-03-06 10:54:08 +00:00
offshore wind ac : "#6895dd"
2021-07-01 18:09:04 +00:00
offwind-dc : "#74c6f2"
offshore wind (DC) : "#74c6f2"
2023-03-06 10:54:08 +00:00
offshore wind dc : "#74c6f2"
2023-11-06 13:08:53 +00:00
offwind-float : "#b5e2fa"
2024-05-10 11:29:58 +00:00
offshore wind (Float) : "#b5e2fa"
2023-11-06 13:08:53 +00:00
offshore wind float : "#b5e2fa"
2021-10-06 14:41:10 +00:00
# water
hydro : '#298c81'
hydro reservoir : '#298c81'
ror : '#3dbfb0'
run of river : '#3dbfb0'
hydroelectricity : '#298c81'
PHS : '#51dbcc'
2023-03-06 10:54:08 +00:00
hydro+PHS : "#08ad97"
2021-10-06 14:41:10 +00:00
# solar
2021-07-01 18:09:04 +00:00
solar : "#f9d002"
solar PV : "#f9d002"
2024-04-25 09:26:09 +00:00
solar-hsat : "#fdb915"
2021-10-06 14:41:10 +00:00
solar thermal : '#ffbf2b'
2023-05-04 22:40:34 +00:00
residential rural solar thermal : '#f1c069'
services rural solar thermal : '#eabf61'
residential urban decentral solar thermal : '#e5bc5a'
services urban decentral solar thermal : '#dfb953'
urban central solar thermal : '#d7b24c'
2021-10-06 14:41:10 +00:00
solar rooftop : '#ffea80'
# gas
OCGT : '#e0986c'
OCGT marginal : '#e0986c'
OCGT-heat : '#e0986c'
gas boiler : '#db6a25'
gas boilers : '#db6a25'
gas boiler marginal : '#db6a25'
2023-05-04 22:40:34 +00:00
residential rural gas boiler : '#d4722e'
residential urban decentral gas boiler : '#cb7a36'
services rural gas boiler : '#c4813f'
services urban decentral gas boiler : '#ba8947'
urban central gas boiler : '#b0904f'
2021-10-06 14:41:10 +00:00
gas : '#e05b09'
2021-11-04 20:48:54 +00:00
fossil gas : '#e05b09'
2021-10-06 14:41:10 +00:00
natural gas : '#e05b09'
2023-05-04 22:40:34 +00:00
biogas to gas : '#e36311'
2024-01-02 17:51:03 +00:00
biogas to gas CC : '#e51245'
2021-10-06 14:41:10 +00:00
CCGT : '#a85522'
CCGT marginal : '#a85522'
2023-02-16 19:13:26 +00:00
allam : '#B98F76'
2021-10-06 14:41:10 +00:00
gas for industry co2 to atmosphere : '#692e0a'
gas for industry co2 to stored : '#8a3400'
gas for industry : '#853403'
2021-10-06 16:33:54 +00:00
gas for industry CC : '#692e0a'
gas pipeline : '#ebbca0'
2021-11-04 20:48:54 +00:00
gas pipeline new : '#a87c62'
2021-10-06 14:41:10 +00:00
# oil
oil : '#c9c9c9'
2024-08-30 16:06:41 +00:00
oil primary : '#d2d2d2'
oil refining : '#e6e6e6'
2023-08-31 07:55:38 +00:00
imported oil : '#a3a3a3'
2021-10-06 14:41:10 +00:00
oil boiler : '#adadad'
2023-05-05 09:32:16 +00:00
residential rural oil boiler : '#a9a9a9'
services rural oil boiler : '#a5a5a5'
residential urban decentral oil boiler : '#a1a1a1'
urban central oil boiler : '#9d9d9d'
services urban decentral oil boiler : '#999999'
2021-10-06 14:41:10 +00:00
agriculture machinery oil : '#949494'
shipping oil : "#808080"
2021-10-06 16:33:54 +00:00
land transport oil : '#afafaf'
2021-10-06 14:41:10 +00:00
# nuclear
Nuclear : '#ff8c00'
Nuclear marginal : '#ff8c00'
nuclear : '#ff8c00'
uranium : '#ff8c00'
# coal
Coal : '#545454'
coal : '#545454'
Coal marginal : '#545454'
2023-10-18 14:44:52 +00:00
coal for industry : '#343434'
2021-10-23 19:23:34 +00:00
solid : '#545454'
2021-10-06 14:41:10 +00:00
Lignite : '#826837'
lignite : '#826837'
Lignite marginal : '#826837'
# biomass
biogas : '#e3d37d'
2021-10-23 19:23:34 +00:00
biomass : '#baa741'
2021-10-06 14:41:10 +00:00
solid biomass : '#baa741'
2024-07-04 11:34:05 +00:00
municipal solid waste : '#91ba41'
2024-07-04 08:18:19 +00:00
solid biomass import : '#d5ca8d'
2021-10-06 14:41:10 +00:00
solid biomass transport : '#baa741'
solid biomass for industry : '#7a6d26'
2021-10-06 16:33:54 +00:00
solid biomass for industry CC : '#47411c'
2021-10-06 14:41:10 +00:00
solid biomass for industry co2 from atmosphere : '#736412'
solid biomass for industry co2 to stored : '#47411c'
2023-05-04 22:40:34 +00:00
urban central solid biomass CHP : '#9d9042'
urban central solid biomass CHP CC : '#6c5d28'
2022-08-01 13:28:53 +00:00
biomass boiler : '#8A9A5B'
2023-05-04 22:40:34 +00:00
residential rural biomass boiler : '#a1a066'
residential urban decentral biomass boiler : '#b0b87b'
services rural biomass boiler : '#c6cf98'
services urban decentral biomass boiler : '#dde5b5'
2022-08-01 13:04:45 +00:00
biomass to liquid : '#32CD32'
2024-09-08 09:59:37 +00:00
unsustainable solid biomass : '#998622'
Addition of unsustainable biomass potentials (#1139)
* add columns to potential df defined by difference to eurostat
* add network components
* add unsustainable bioliquids
* replaced stores by generators, still infeasible
* remove municipal waste
* remove separate treatment of waste from biomass potential calculation
* phase out unsustainble biomass potentials
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* phase-out unsustainable bioliquids
* remove waste_incineration from build_sector rule
* multiple potential calculation for different planning horizons
* raised costs of unsustainable solid biomass
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* stores instead of generators
* change snakemake inputs
* add phas-eout to config
* add techcolor for unsustainable bioliquids
* add config parameter to disable inclusion of unsustainable bioenergy potentials
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add biomass to params
* remove call of snakemake object in define_spatial
* Quick resolve of review part 1 (config parameters, if-clause-reduction, bioliquid spatial, fix bioliquid link capacity
* Quick resolve of review part 2 (config table, helper function, fixed build_eurostat, removed dir-change, forced unsustainable usage, reverted overnight distinction in Snakefile)
* Cast of planning_horizon parameter to int type after test run
* added JRC fuel costs for solid and liquid biofuels, BtL VOM
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clean-up after master merge
* adressed review (increase threads for build_eurostat, fixed e_max_pu of Stores, changed version of technology-data); added release note
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lisazeyen <35347358+lisazeyen@users.noreply.github.com>
2024-08-07 15:52:00 +00:00
unsustainable bioliquids : '#32CD32'
2024-07-03 10:38:16 +00:00
electrobiofuels : 'red'
2022-08-01 13:13:59 +00:00
BioSNG : '#123456'
2024-08-16 11:18:10 +00:00
solid biomass to hydrogen : '#654321'
2021-10-06 14:41:10 +00:00
# power transmission
lines : '#6c9459'
transmission lines : '#6c9459'
electricity distribution grid : '#97ad8c'
2023-05-04 22:40:34 +00:00
low voltage : '#97ad8c'
2021-10-06 14:41:10 +00:00
# electricity demand
Electric load : '#110d63'
electric demand : '#110d63'
electricity : '#110d63'
industry electricity : '#2d2a66'
industry new electricity : '#2d2a66'
agriculture electricity : '#494778'
# battery + EVs
battery : '#ace37f'
battery storage : '#ace37f'
2023-05-04 22:40:34 +00:00
battery charger : '#88a75b'
battery discharger : '#5d4e29'
2021-10-06 14:41:10 +00:00
home battery : '#80c944'
home battery storage : '#80c944'
2023-05-04 22:40:34 +00:00
home battery charger : '#5e8032'
home battery discharger : '#3c5221'
2021-10-06 14:41:10 +00:00
BEV charger : '#baf238'
V2G : '#e5ffa8'
land transport EV : '#baf238'
2024-03-04 10:24:43 +00:00
land transport demand : '#38baf2'
2024-07-29 07:50:02 +00:00
EV battery : '#baf238'
2021-10-06 14:41:10 +00:00
# hot water storage
water tanks : '#e69487'
2023-05-04 22:40:34 +00:00
residential rural water tanks : '#f7b7a3'
services rural water tanks : '#f3afa3'
residential urban decentral water tanks : '#f2b2a3'
services urban decentral water tanks : '#f1b4a4'
urban central water tanks : '#e9977d'
2021-10-06 14:41:10 +00:00
hot water storage : '#e69487'
2023-05-04 22:40:34 +00:00
hot water charging : '#e8998b'
urban central water tanks charger : '#b57a67'
residential rural water tanks charger : '#b4887c'
residential urban decentral water tanks charger : '#b39995'
services rural water tanks charger : '#b3abb0'
services urban decentral water tanks charger : '#b3becc'
hot water discharging : '#e99c8e'
urban central water tanks discharger : '#b9816e'
residential rural water tanks discharger : '#ba9685'
residential urban decentral water tanks discharger : '#baac9e'
services rural water tanks discharger : '#bbc2b8'
services urban decentral water tanks discharger : '#bdd8d3'
2021-10-06 14:41:10 +00:00
# heat demand
Heat load : '#cc1f1f'
heat : '#cc1f1f'
2024-01-03 12:05:46 +00:00
heat vent : '#aa3344'
2021-10-06 14:41:10 +00:00
heat demand : '#cc1f1f'
rural heat : '#ff5c5c'
2023-05-04 22:40:34 +00:00
residential rural heat : '#ff7c7c'
services rural heat : '#ff9c9c'
2021-10-06 14:41:10 +00:00
central heat : '#cc1f1f'
2023-05-04 22:40:34 +00:00
urban central heat : '#d15959'
2023-12-04 09:47:41 +00:00
urban central heat vent : '#a74747'
2021-10-06 14:41:10 +00:00
decentral heat : '#750606'
2023-05-04 22:40:34 +00:00
residential urban decentral heat : '#a33c3c'
services urban decentral heat : '#cc1f1f'
2021-10-06 14:41:10 +00:00
low-temperature heat for industry : '#8f2727'
process heat : '#ff0000'
agriculture heat : '#d9a5a5'
# heat supply
heat pumps : '#2fb537'
heat pump : '#2fb537'
air heat pump : '#36eb41'
2023-05-04 22:40:34 +00:00
residential urban decentral air heat pump : '#48f74f'
services urban decentral air heat pump : '#5af95d'
2024-02-09 09:15:11 +00:00
services rural air heat pump : '#5af95d'
2023-05-04 22:40:34 +00:00
urban central air heat pump : '#6cfb6b'
2021-10-06 14:41:10 +00:00
ground heat pump : '#2fb537'
2023-05-04 22:40:34 +00:00
residential rural ground heat pump : '#48f74f'
2024-02-09 09:15:11 +00:00
residential rural air heat pump : '#48f74f'
2023-05-04 22:40:34 +00:00
services rural ground heat pump : '#5af95d'
2021-10-06 14:41:10 +00:00
Ambient : '#98eb9d'
CHP : '#8a5751'
2023-05-04 22:40:34 +00:00
urban central gas CHP : '#8d5e56'
2021-10-06 16:33:54 +00:00
CHP CC : '#634643'
2023-05-04 22:40:34 +00:00
urban central gas CHP CC : '#6e4e4c'
2021-10-06 14:41:10 +00:00
CHP heat : '#8a5751'
CHP electric : '#8a5751'
district heating : '#e8beac'
2021-10-23 19:23:01 +00:00
resistive heater : '#d8f9b8'
2023-05-04 22:40:34 +00:00
residential rural resistive heater : '#bef5b5'
residential urban decentral resistive heater : '#b2f1a9'
services rural resistive heater : '#a5ed9d'
services urban decentral resistive heater : '#98e991'
urban central resistive heater : '#8cdf85'
2021-10-06 14:41:10 +00:00
retrofitting : '#8487e8'
building retrofitting : '#8487e8'
# hydrogen
H2 for industry : "#f073da"
H2 for shipping : "#ebaee0"
H2 : '#bf13a0'
2021-10-23 19:23:34 +00:00
hydrogen : '#bf13a0'
2023-08-30 09:50:49 +00:00
retrofitted H2 boiler : '#e5a0d9'
2021-10-06 14:41:10 +00:00
SMR : '#870c71'
2021-10-06 16:33:54 +00:00
SMR CC : '#4f1745'
2021-10-06 14:41:10 +00:00
H2 liquefaction : '#d647bd'
hydrogen storage : '#bf13a0'
2023-05-04 22:40:34 +00:00
H2 Store : '#bf13a0'
2021-10-23 19:23:34 +00:00
H2 storage : '#bf13a0'
2021-10-06 16:33:54 +00:00
land transport fuel cell : '#6b3161'
H2 pipeline : '#f081dc'
2021-11-04 20:48:54 +00:00
H2 pipeline retrofitted : '#ba99b5'
2021-10-06 16:33:54 +00:00
H2 Fuel Cell : '#c251ae'
2023-05-05 09:32:16 +00:00
H2 fuel cell : '#c251ae'
2023-04-22 07:44:13 +00:00
H2 turbine : '#991f83'
2021-10-06 16:33:54 +00:00
H2 Electrolysis : '#ff29d9'
2023-05-05 09:32:16 +00:00
H2 electrolysis : '#ff29d9'
2022-06-10 12:57:03 +00:00
# ammonia
NH3 : '#46caf0'
2022-06-23 13:22:21 +00:00
ammonia : '#46caf0'
2022-06-10 12:57:03 +00:00
ammonia store : '#00ace0'
ammonia cracker : '#87d0e6'
Haber-Bosch : '#076987'
2021-10-06 14:41:10 +00:00
# syngas
Sabatier : '#9850ad'
methanation : '#c44ce6'
2021-10-23 19:23:34 +00:00
methane : '#c44ce6'
2021-10-06 14:41:10 +00:00
# synfuels
Fischer-Tropsch : '#25c49a'
2021-10-23 19:23:34 +00:00
liquid : '#25c49a'
kerosene for aviation : '#a1ffe6'
2021-10-06 14:41:10 +00:00
naphtha for industry : '#57ebc4'
2024-07-29 12:49:57 +00:00
methanol-to-kerosene : '#C98468'
methanol-to-olefins/aromatics : '#FFA07A'
Methanol steam reforming : '#FFBF00'
Methanol steam reforming CC : '#A2EA8A'
methanolisation : '#00FFBF'
2024-08-05 11:40:05 +00:00
biomass-to-methanol : '#EAD28A'
biomass-to-methanol CC : '#EADBAD'
2024-07-29 12:49:57 +00:00
allam methanol : '#B98F76'
CCGT methanol : '#B98F76'
CCGT methanol CC : '#B98F76'
OCGT methanol : '#B98F76'
methanol : '#FF7B00'
methanol transport : '#FF7B00'
2022-12-28 12:45:57 +00:00
shipping methanol : '#468c8b'
2024-05-14 14:40:31 +00:00
industry methanol : '#468c8b'
2021-10-06 14:41:10 +00:00
# co2
2021-10-23 19:23:34 +00:00
CC : '#f29dae'
CCS : '#f29dae'
CO2 sequestration : '#f29dae'
2021-10-06 14:41:10 +00:00
DAC : '#ff5270'
co2 stored : '#f2385a'
2023-09-18 10:25:04 +00:00
co2 sequestered : '#f2682f'
2021-10-06 14:41:10 +00:00
co2 : '#f29dae'
co2 vent : '#ffd4dc'
CO2 pipeline : '#f5627f'
# emissions
2021-10-23 19:23:34 +00:00
process emissions CC : '#000000'
2021-10-06 14:41:10 +00:00
process emissions : '#222222'
2021-07-01 18:09:04 +00:00
process emissions to stored : '#444444'
process emissions to atmosphere : '#888888'
2021-10-06 14:41:10 +00:00
oil emissions : '#aaaaaa'
shipping oil emissions : "#555555"
2022-12-28 12:45:57 +00:00
shipping methanol emissions : '#666666'
2021-10-06 14:41:10 +00:00
land transport oil emissions : '#777777'
agriculture machinery oil emissions : '#333333'
# other
shipping : '#03a2ff'
2021-10-23 19:23:01 +00:00
power-to-heat : '#2fb537'
2021-10-06 14:41:10 +00:00
power-to-gas : '#c44ce6'
2021-10-23 19:23:34 +00:00
power-to-H2 : '#ff29d9'
2021-10-06 14:41:10 +00:00
power-to-liquid : '#25c49a'
gas-to-power/heat : '#ee8340'
2021-10-23 19:23:34 +00:00
waste : '#e3d37d'
2021-11-02 18:03:26 +00:00
other : '#000000'
2023-03-06 10:54:08 +00:00
geothermal : '#ba91b1'
2023-09-05 13:20:49 +00:00
geothermal heat : '#ba91b1'
2024-06-02 12:14:31 +00:00
geothermal district heat : '#d19D00'
geothermal organic rankine cycle : '#ffbf00'
2023-05-04 22:40:34 +00:00
AC : "#70af1d"
2023-03-06 10:54:08 +00:00
AC-AC : "#70af1d"
AC line : "#70af1d"
links : "#8a1caf"
HVDC links : "#8a1caf"
2023-05-05 09:32:16 +00:00
DC : "#8a1caf"
2023-03-06 10:54:08 +00:00
DC-DC : "#8a1caf"
DC link : "#8a1caf"
2023-08-01 06:42:47 +00:00
load : "#dd2e23"
2024-05-15 16:02:15 +00:00
waste CHP : '#e3d37d'
waste CHP CC : '#e3d3ff'
2024-03-01 17:39:15 +00:00
HVC to air : 'k'