pypsa-eur/doc/preparation.rst
Fabian Neumann 067d259ff6 include description of rule groups
* and reduce corresponding sections in readme
* and modify environment docs
* and add bibtex support (tentative)
2019-08-10 14:25:19 +02:00

4.1 KiB

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

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:

  • build_shapes to generate GeoJSON files with shapes of the countries, exclusive economic zones and NUTS3 areas.
  • build_cutout to prepare smaller weather data portions from ERA5 for cutout europe-2013-era5 and SARAH for cutout europe-2013-sarah.

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_network builds and stores the base network with all buses, HVAC lines and HVDC links, while
  • build_bus_regions determines 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_powerplants for today's thermal power plant capacities using powerplantmatching allocating these to the closest substation for each powerplant,
  • build_renewable_potentials for the installation potentials for solar panels, onshore and offshore wind turbines constrained by landuse restrictions and natural protection areas,
  • build_renewable_profiles for the hourly capacity factors in each substation's Voronoi cell for PV, onshore and offshore wind, and
  • build_hydro_profile for 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 networks/elec.nc containing

System Message: ERROR/3 (<stdin>, line 24)

Unknown directive type "todo".

.. todo:: probably move parts into ``add_electricity`` docstring

  • today's transmission topology and transfer capacities (optionally including lines which are under construction according to the config settings lines: under_construction and links: under_construction),
  • today's thermal and hydro power generation capacities (for the technologies listed in the config setting electricity: conventional_carriers), and
  • today's load time-series (upsampled in a top-down approach according to population and gross domestic product)

It further adds extendable generators and storage_units with zero capacity for

  • photovoltaic, onshore and offshore wind installations with today's locational, hourly wind and solar pv capacity factors (but no current capacities)
  • long-term hydrogen and short-term battery storage units (if listed in the config setting electricity: extendable_carriers)
  • additional open- and combined-cycle gas turbines (if OCGT and/or CCGT is listed in the config setting electricity: extendable_carriers)

Build Shapes

System Message: ERROR/3 (<stdin>, line 42)

Unknown directive type "automodule".

.. automodule:: build_shapes

Build Cutout

System Message: ERROR/3 (<stdin>, line 47)

Unknown directive type "automodule".

.. automodule:: build_cutout

Base Network

System Message: ERROR/3 (<stdin>, line 57)

Unknown directive type "automodule".

.. automodule:: base_network

Build Bus Regions

System Message: ERROR/3 (<stdin>, line 62)

Unknown directive type "automodule".

.. automodule:: build_bus_regions

Build Country Full Load Hours

System Message: ERROR/3 (<stdin>, line 67)

Unknown directive type "automodule".

.. automodule:: build_country_flh

Build Hydro Profile

System Message: ERROR/3 (<stdin>, line 72)

Unknown directive type "automodule".

.. automodule:: build_hydro_profile

Build Natura Raster

System Message: ERROR/3 (<stdin>, line 77)

Unknown directive type "automodule".

.. automodule:: build_natura_raster

Build Renewable Profiles

System Message: ERROR/3 (<stdin>, line 82)

Unknown directive type "automodule".

.. automodule:: build_renewable_profiles

Build Power Plants

System Message: ERROR/3 (<stdin>, line 87)

Unknown directive type "automodule".

.. automodule:: build_powerplants

Add Electricity

System Message: ERROR/3 (<stdin>, line 92)

Unknown directive type "automodule".

.. automodule:: add_electricity
</html>