• Stars
    star
    288
  • Rank 138,947 (Top 3 %)
  • Language
    Python
  • Created over 6 years ago
  • Updated 5 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 6763 lines (alternating current lines at and above 220kV voltage level and all high voltage direct current lines) and 3642 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 LICENSE.txt. However, different licenses and terms of use may apply to the various input data.

More Repositories

1

PyPSA

PyPSA: Python for Power System Analysis
Python
1,036
star
2

atlite

Atlite: A Lightweight Python Package for Calculating Renewable Power Potentials and Time Series
Python
238
star
3

linopy

Linear optimization with N-D labeled arrays in Python
Python
122
star
4

pypsa-eur-sec

PyPSA-Eur-Sec: A Sector-Coupled Open Optimisation Model of the European Energy System
Python
86
star
5

technology-data

Compiles assumptions on energy system technologies (e.g. costs and efficiencies) for various years.
TeX
45
star
6

WHOBS

Optimal Wind+Hydrogen+Other+Battery+Solar (WHOBS) electricity systems for European countries
Jupyter Notebook
36
star
7

whobs-server

Online optimisation tool for wind+solar+storage systems
Python
34
star
8

247-cfe

Explore the impacts of 24/7 Carbon-Free Energy PPAs
Python
25
star
9

pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
Python
20
star
10

EnergyModels.jl

Julia
17
star
11

PyPSA-animation

Tool to convert PyPSA results to interactive web animations
JavaScript
13
star
12

pypsa-za

PyPSA Model of the South African Energy System
Python
9
star
13

PSA.jl

Partial implementation of PyPSA in Julia with main focus on fast optimal power flow calculation
Julia
9
star
14

pypsa-eur-mga

Snakemake workflow for modelling-to-generate-alternatives with PyPSA-Eur
Python
7
star
15

nomopyomo

Python
7
star
16

pypsa-server

A web interface for running PyPSA scenarios using the snakemake workflow
Python
6
star
17

efuels-server

Online optimisation of efuels delivery
Python
4
star
18

condynet-2-wp-1

Code for topology-based approximations for N-1 contingency constraints
Jupyter Notebook
2
star