pypsa-eur/doc/preparation.rst
Fabian Neumann 013b705ee4
Clustering: build renewable profiles and add all assets after clustering (#1201)
* Cluster first: build renewable profiles and add all assets after clustering

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* correction: pass landfall_lengths through functions

* assign landfall_lenghts correctly

* remove parameter add_land_use_constraint

* fix network_dict

* calculate distance to shoreline, remove underwater_fraction

* adjust simplification parameter to exclude Crete from offshore wind connections

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused geth2015 hydro capacities

* removing remaining traces of {simpl} wildcard

* add release notes and update workflow graphics

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lisazeyen <lisa.zeyen@web.de>
2024-09-13 15:37:01 +02:00

4.1 KiB

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

Building Electricity 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-sarah3-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, and determines Voronoi cells for all substations.

    System Message: ERROR/3 (<stdin>, line 24); 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 28); backlink

    Unknown interpreted text role "mod".

  • :mod:`build_ship_raster` for building shipping traffic density,

    System Message: ERROR/3 (<stdin>, line 29); backlink

    Unknown interpreted text role "mod".

  • :mod:`determine_availability_matrix` for the land eligibility analysis of each cutout grid cell for PV, onshore and offshore wind,

    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/base_s_{clusters}_elec.nc.

System Message: ERROR/3 (<stdin>, line 34); backlink

Unknown interpreted text role "mod".

Rule build_cutout

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

Unknown directive type "automodule".

.. automodule:: build_cutout


Rule clean_osm_data

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

Unknown directive type "automodule".

.. automodule:: clean_osm_data


Rule build_osm_network

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

Unknown directive type "automodule".

.. automodule:: build_osm_network

Rule base_network

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

Unknown directive type "automodule".

.. automodule:: base_network


Rule build_transmission_projects

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

Unknown directive type "automodule".

.. automodule:: build_transmission_projects

Rule build_shapes

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

Unknown directive type "automodule".

.. automodule:: build_shapes

Rule build_gdp_pop_non_nuts3

System Message: WARNING/2 (<stdin>, line 77)

Title underline too short.

Rule ``build_gdp_pop_non_nuts3``
=============================

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

Unknown directive type "automodule".

.. automodule:: build_gdp_pop_non_nuts3

Rule build_powerplants

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

Unknown directive type "automodule".

.. automodule:: build_powerplants


Rule build_electricity_demand

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

Unknown directive type "automodule".

.. automodule:: build_electricity_demand

Rule build_monthly_prices

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

Unknown directive type "automodule".

.. automodule:: build_monthly_prices

Rule build_ship_raster

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

Unknown directive type "automodule".

.. automodule:: build_ship_raster

Rule determine_availability_matrix_MD_UA

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

Unknown directive type "automodule".

.. automodule:: determine_availability_matrix_MD_UA


Rule determine_availability_matrix

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

Unknown directive type "automodule".

.. automodule:: determine_availability_matrix


System Message: WARNING/2 (<stdin>, line 128); backlink

Duplicate explicit target name: "renewableprofiles".

Rule build_renewable_profiles

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

Unknown directive type "automodule".

.. automodule:: build_renewable_profiles


Rule build_hydro_profile

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

Unknown directive type "automodule".

.. automodule:: build_hydro_profile
</html>