2019-06-19 11:12:02 +00:00
##########################################
Preparing Networks
##########################################
2019-08-13 13:48:21 +00:00
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:
2019-08-10 12:25:19 +00:00
2019-08-13 15:52:33 +00:00
- :mod: `build_shapes` generates GeoJSON files with shapes of the countries, exclusive economic zones and `NUTS3 <https://en.wikipedia.org/wiki/Nomenclature_of_Territorial_Units_for_Statistics> `_ areas.
- :mod: `build_cutout` prepares smaller weather data portions from `ERA5 <https://www.ecmwf.int/en/forecasts/datasets/reanalysis-datasets/era5> `_ for cutout `` europe-2013-era5 `` and SARAH for cutout `` europe-2013-sarah `` .
2019-08-10 12:25:19 +00:00
2019-08-13 13:48:21 +00:00
With these and the externally extracted ENTSO-E online map topology
(`` data/entsoegridkit `` ), it can build a base PyPSA network with the following rules:
2019-08-10 12:25:19 +00:00
2019-08-13 15:52:33 +00:00
- :mod: `base_network` builds and stores the base network with all buses, HVAC lines and HVDC links, while
- :mod: `build_bus_regions` determines `Voronoi cells <https://en.wikipedia.org/wiki/Voronoi_diagram> `_ for all substations.
2019-08-10 12:25:19 +00:00
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:
2019-08-13 15:52:33 +00:00
- :mod: `build_powerplants` for today's thermal power plant capacities using `powerplantmatching <https://github.com/FRESNA/powerplantmatching> `_ allocating these to the closest substation for each powerplant,
2019-08-13 16:00:34 +00:00
- :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
2019-08-13 15:52:33 +00:00
- :mod: `build_hydro_profile` for the hourly per-unit hydro power availability time series.
2019-08-10 12:25:19 +00:00
2019-08-13 15:52:33 +00:00
The central rule :mod: `add_electricity` then ties all the different data inputs
2019-08-13 13:48:21 +00:00
together into a detailed PyPSA network stored in `` networks/elec.nc `` .
2019-08-10 12:25:19 +00:00
2019-08-11 20:34:18 +00:00
.. _shapes:
2019-06-19 11:12:02 +00:00
Build Shapes
=============================
2019-08-08 13:02:28 +00:00
.. automodule :: build_shapes
2019-06-19 11:12:02 +00:00
2019-08-11 20:34:18 +00:00
.. _cutout:
2019-06-19 11:12:02 +00:00
Build Cutout
=============================
2019-08-08 13:02:28 +00:00
.. automodule :: build_cutout
2019-08-11 20:34:18 +00:00
.. _links:
2019-06-19 11:12:02 +00:00
Prepare HVDC Links
=============================
2019-08-08 13:02:28 +00:00
.. automodule :: prepare_links_p_nom
2019-08-11 20:34:18 +00:00
.. _base:
2019-08-08 13:02:28 +00:00
Base Network
2019-06-19 11:12:02 +00:00
=============================
2019-08-08 13:02:28 +00:00
.. automodule :: base_network
2019-08-11 20:34:18 +00:00
.. _busregions:
2019-06-19 11:12:02 +00:00
Build Bus Regions
=============================
2019-08-08 13:02:28 +00:00
.. automodule :: build_bus_regions
2019-08-11 20:34:18 +00:00
.. _natura:
Build Natura Raster
2019-06-19 11:12:02 +00:00
=============================
2019-08-11 20:34:18 +00:00
.. automodule :: build_natura_raster
2019-08-08 13:02:28 +00:00
2019-08-11 20:34:18 +00:00
.. _flh:
Build Country Full Load Hours
2019-06-19 11:12:02 +00:00
=============================
2019-08-11 20:34:18 +00:00
.. automodule :: build_country_flh
2019-06-19 11:12:02 +00:00
2019-08-11 20:34:18 +00:00
.. _powerplants:
Build Power Plants
2019-06-19 11:12:02 +00:00
=============================
2019-08-11 20:34:18 +00:00
.. automodule :: build_powerplants
.. _renewableprofiles:
2019-08-08 13:02:28 +00:00
Build Renewable Profiles
========================
.. automodule :: build_renewable_profiles
2019-08-11 20:34:18 +00:00
.. _hydroprofiles:
Build Hydro Profile
2019-06-19 11:12:02 +00:00
=============================
2019-08-11 20:34:18 +00:00
.. automodule :: build_hydro_profile
.. _electricity:
2019-08-08 13:02:28 +00:00
2019-06-19 11:12:02 +00:00
Add Electricity
=============================
2019-08-08 13:02:28 +00:00
.. automodule :: add_electricity