* build_load_data * Add documentation * updating load data import * Update Config files * Update load.csv * Update add_electricity.py * change log file name * Update scripts/add_electricity.py Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de> * Update scripts/build_load_data.py Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de> * Update scripts/build_load_data.py Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de> * Update scripts/build_load_data.py Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de> * Update build_load_data.py * Update build_load_data.py * Update scripts/build_load_data.py Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de> * update gap handling in build_load_data * Update build_load_data.py * Update config.test1.yaml * update test.config * Update config.tutorial.yaml * update load csv function for load data * Update build_load_data.py * Update config.test1.yaml * Update add_electricity.py * Update build_load_data.py * Added error messages if load data contains gaps after modifications * general adjustments: - reduce data source to only entsoe statistics - sanitize code - adjust logging messages - adjust daocstrings * update Snakefile config and docs * update release notes rename build_load -> build_load_data in config * small follow up * - reintroduce choice between powerstatistics and transparency - remove load_ timeseries from databundle - always build load_data - reinsert scaling factor in config - fix url to 2019 version * update doc: configtable, release notes update config.yaml * follow up Co-authored-by: Jan Frederick <jan.frederick.unnewehr@inatech.uni-freiburg.de> Co-authored-by: JanFrederickUnnewehr <50404069+JanFrederickUnnewehr@users.noreply.github.com>
2.7 KiB
Preparing Networks
The preparation process of the PyPSA-Eur energy system model consists of a group of snakemake rules which are briefly outlined and explained in detail in the sections below.
Not all data dependencies are shipped with the git repository. Instead we provide separate data bundles which can be obtained using the retrieve* rules (:ref:`data`). Having downloaded the necessary data,
System Message: ERROR/3 (<stdin>, line 13); backlink
Unknown interpreted text role "ref".:mod:`build_shapes` generates GeoJSON files with shapes of the countries, exclusive economic zones and NUTS3 areas.
System Message: ERROR/3 (<stdin>, line 18); backlink
Unknown interpreted text role "mod".
:mod:`build_cutout` prepares smaller weather data portions from ERA5 for cutout europe-2013-era5 and SARAH for cutout europe-2013-sarah.
System Message: ERROR/3 (<stdin>, line 19); backlink
Unknown interpreted text role "mod".
With these and the externally extracted ENTSO-E online map topology (data/entsoegridkit), it can build a base PyPSA network with the following rules:
:mod:`base_network` builds and stores the base network with all buses, HVAC lines and HVDC links, while
System Message: ERROR/3 (<stdin>, line 24); backlink
Unknown interpreted text role "mod".
:mod:`build_bus_regions` determines Voronoi cells for all substations.
System Message: ERROR/3 (<stdin>, line 25); backlink
Unknown interpreted text role "mod".
Then the process continues by calculating conventional power plant capacities, potentials, and per-unit availability time series for variable renewable energy carriers and hydro power plants with the following rules:
:mod:`build_powerplants` for today's thermal power plant capacities using powerplantmatching allocating these to the closest substation for each powerplant,
System Message: ERROR/3 (<stdin>, line 29); backlink
Unknown interpreted text role "mod".
:mod:`build_natura_raster` for rasterising NATURA2000 natural protection areas,
System Message: ERROR/3 (<stdin>, line 30); backlink
Unknown interpreted text role "mod".
:mod:`build_renewable_profiles` for the hourly capacity factors and installation potentials constrained by land-use in each substation's Voronoi cell for PV, onshore and offshore wind, and
System Message: ERROR/3 (<stdin>, line 31); backlink
Unknown interpreted text role "mod".
:mod:`build_hydro_profile` for the hourly per-unit hydro power availability time series.
System Message: ERROR/3 (<stdin>, line 32); backlink
Unknown interpreted text role "mod".
The central rule :mod:`add_electricity` then ties all the different data inputs together into a detailed PyPSA network stored in networks/elec.nc.
System Message: ERROR/3 (<stdin>, line 34); backlink
Unknown interpreted text role "mod".System Message: ERROR/3 (<stdin>, line 37)
Unknown directive type "toctree".
.. toctree:: :caption: Overview preparation/retrieve preparation/build_shapes preparation/build_load_data preparation/build_cutout preparation/build_natura_raster preparation/prepare_links_p_nom preparation/base_network preparation/build_bus_regions preparation/build_natura_raster preparation/build_powerplants preparation/build_renewable_profiles preparation/build_hydro_profile preparation/add_electricity