The preparation process of the PyPSA-Eur energy system model consists of a group of
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
retrieve* rules (Rules retrieve*).
Having downloaded the necessary data,
build_shapesgenerates GeoJSON files with shapes of the countries, exclusive economic zones and NUTS3 areas.
build_cutoutprepares smaller weather data portions from ERA5 for cutout
europe-2013-era5and SARAH for cutout
With these and the externally extracted ENTSO-E online map topology
data/entsoegridkit), it can build a base PyPSA network with the following rules:
base_networkbuilds and stores the base network with all buses, HVAC lines and HVDC links, while
build_bus_regionsdetermines Voronoi cells for all substations.
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:
build_powerplantsfor today’s thermal power plant capacities using powerplantmatching allocating these to the closest substation for each powerplant,
build_natura_rasterfor rasterising NATURA2000 natural protection areas,
build_renewable_profilesfor the hourly capacity factors and installation potentials constrained by land-use in each substation’s Voronoi cell for PV, onshore and offshore wind, and
build_hydro_profilefor the hourly per-unit hydro power availability time series.
The central rule
add_electricity then ties all the different data inputs
together into a detailed PyPSA network stored in