Go to file
Iegor Riepin ba55971c23
Compatibility of data processing for Ukraine (#1146)
* data: retrieve gdp and pop raw data for UA,MD

* Updated retrieval code.

* add_electricity script for UA and MD using updated, endogenised GDP and PPP data.

* Outsourced building of gdp and ppp. Only called when UA and/or MD are in country list.

* Accepted suggestion by @fneum in retrieve rule.

* Cleaned determine_availability_matrix_MD_UA.py, removed redundant code

* Updated build_gdp_pop_non_nuts3 script to use the mean to distribute GDP p.c. Added release notes. Bug fixes.

* Bug fixes --> 'ppp' to 'pop'

* Bug fix: only distribute load to buses with substation.

* Updated to download GDP and population raster via PyPSA-Eur zenodo databundle. Removal of dedicated retrieve function. Updated release notes.

* Updated release notes.

* correct input file paths

* update zenodo url for databundle release v0.3.0

* doc: update release_notes

* minor adjustments: benchmark, increase mem_mb, remove plots, handling of optional inputs

---------

Co-authored-by: bobbyxng <bobbyxng@gmail.com>
Co-authored-by: Bobby Xiong <36541459+bobbyxng@users.noreply.github.com>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2024-07-19 19:23:35 +02:00
.github draft bot for automated fixed env yaml (#1049) 2024-07-19 17:49:41 +02:00
.reuse move all graphics to doc/img 2024-05-06 10:00:53 +02:00
config revert to old config keys (#1152) 2024-07-12 16:22:53 +02:00
data Compatibility of data processing for Ukraine (#1146) 2024-07-19 19:23:35 +02:00
doc Compatibility of data processing for Ukraine (#1146) 2024-07-19 19:23:35 +02:00
envs Compatibility with geopandas version 1 (#1136) 2024-07-08 08:29:16 +02:00
LICENSES update copyright years to 2024 2024-02-19 16:21:48 +01:00
rules Compatibility of data processing for Ukraine (#1146) 2024-07-19 19:23:35 +02:00
scripts Compatibility of data processing for Ukraine (#1146) 2024-07-19 19:23:35 +02:00
.git-blame-ignore-revs chore: ignore all pre-commit commits in blame (#1151) 2024-07-12 16:24:19 +02:00
.gitattributes update copyright years to 2024 2024-02-19 16:21:48 +01:00
.gitignore use loads instead of links where possible 2024-05-15 16:41:49 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#1157) 2024-07-16 08:08:46 +02:00
.readthedocs.yml update copyright years to 2024 2024-02-19 16:21:48 +01:00
.sync-send update copyright years to 2024 2024-02-19 16:21:48 +01:00
borg-it Add borg-it 2018-02-19 10:27:36 +01:00
CITATION.cff prepare release v0.11.0 (#1081) 2024-05-25 22:47:04 +02:00
matplotlibrc update copyright years to 2024 2024-02-19 16:21:48 +01:00
README.md move all graphics to doc/img 2024-05-06 10:00:53 +02:00
Snakefile Bug fix Snakefile: rule all input updated to 'graphs/costs.svg'. 2024-06-11 15:36:51 +02:00
test.sh test.sh: set continuous chain of && commands and print out commands 2024-03-18 19:47:51 +01:00

GitHub release (latest by date including pre-releases) Build Status Documentation Size Zenodo PyPSA-Eur Zenodo PyPSA-Eur-Sec Snakemake REUSE status Stack Exchange questions

PyPSA-Eur: A Sector-Coupled Open Optimisation Model of the European Energy System

PyPSA-Eur is an open model dataset of the European energy system at the transmission network level that covers the full ENTSO-E area. The model is suitable both for operational studies and generation and transmission expansion planning studies. The continental scope and highly resolved spatial scale enables a proper description of the long-range smoothing effects for renewable power generation and their varying resource availability.

The model is described in the documentation and in the paper PyPSA-Eur: An Open Optimisation Model of the European Transmission System, 2018, arXiv:1806.01613. The model building routines are defined through a snakemake workflow. Please see the documentation for installation instructions and other useful information about the snakemake workflow. The model is designed to be imported into the open toolbox PyPSA.

WARNING: PyPSA-Eur is under active development and has several limitations which you should understand before using the model. The github repository issues collect known topics we are working on (please feel free to help or make suggestions). The documentation remains somewhat patchy. You can find showcases of the model's capabilities in the Joule paper The potential role of a hydrogen network in Europe, another paper in Joule with a description of the industry sector, or in a 2021 presentation at EMP-E. We do not recommend to use the full resolution network model for simulations. At high granularity the assignment of loads and generators to the nearest network node may not be a correct assumption, depending on the topology of the underlying distribution grid, and local grid bottlenecks may cause unrealistic load-shedding or generator curtailment. We recommend to cluster the network to a couple of hundred nodes to remove these local inconsistencies. See the discussion in Section 3.4 "Model validation" of the paper.

PyPSA-Eur Grid Model

The dataset consists of:

  • A grid model based on a modified GridKit extraction of the ENTSO-E Transmission System Map. The grid model contains 7072 lines (alternating current lines at and above 220kV voltage level and all high voltage direct current lines) and 3803 substations.
  • The open power plant database powerplantmatching.
  • Electrical demand time series from the OPSD project.
  • Renewable time series based on ERA5 and SARAH, assembled using the atlite tool.
  • Geographical potentials for wind and solar generators based on land use (CORINE) and excluding nature reserves (Natura2000) are computed with the atlite library.

A sector-coupled extension adds demand and supply for the following sectors: transport, space and water heating, biomass, industry and industrial feedstocks, agriculture, forestry and fishing. This completes the energy system and includes all greenhouse gas emitters except waste management and land use.

This diagram gives an overview of the sectors and the links between them:

sector diagram

Each of these sectors is built up on the transmission network nodes from PyPSA-Eur:

network diagram

For computational reasons the model is usually clustered down to 50-200 nodes.

Already-built versions of the model can be found in the accompanying Zenodo repository.

Contributing and Support

We strongly welcome anyone interested in contributing to this project. If you have any ideas, suggestions or encounter problems, feel invited to file issues or make pull requests on GitHub.

  • In case of code-related questions, please post on stack overflow.
  • For non-programming related and more general questions please refer to the mailing list.
  • To discuss with other PyPSA users, organise projects, share news, and get in touch with the community you can use the discord server.
  • For bugs and feature requests, please use the PyPSA-Eur Github Issues page.

Licence

The code in PyPSA-Eur is released as free software under the MIT License, see doc/licenses.rst. However, different licenses and terms of use may apply to the various input data.