Go to file
2018-08-27 14:13:53 +02:00
data prepare_links_p_nom: Fix and update 2018-08-27 14:13:53 +02:00
img Corrections to README; add picture 2018-07-24 15:12:50 +02:00
resources Add resources/powerplants.csv 2018-08-03 13:05:26 +02:00
results Add empty results directory 2017-10-12 02:00:45 +02:00
scripts prepare_links_p_nom: Fix and update 2018-08-27 14:13:53 +02:00
.gitattributes initial commit 2017-10-12 01:57:55 +02:00
.gitignore Add cutouts and data to ignored directories 2018-08-13 12:18:31 +02:00
borg-it Add borg-it 2018-02-19 10:27:36 +01:00
cluster.yaml Finish solve_operations_network 2018-03-13 10:47:47 +01:00
config.yaml Allow disabling rules prepare_links_p_nom and build_powerplants 2018-08-13 14:10:32 +02:00
environment.yaml Update environment.yaml to reflect the new library versions 2018-08-17 10:42:56 +02:00
LICENSE.txt Add README, LICENSE 2018-07-24 14:55:46 +02:00
README.md README: Add description about data bundles to installation instructions 2018-08-17 11:21:13 +02:00
Snakefile Allow disabling rules prepare_links_p_nom and build_powerplants 2018-08-13 14:10:32 +02:00
snakemake_cluster cluster: Configure time limit in cluster.yaml 2018-03-09 15:40:51 +01:00

PyPSA-Eur: An Open Optimisation Model of the European Transmission System

PyPSA-Eur is an open model dataset of the European power system at the transmission network level that covers the full ENTSO-E area.

PyPSA-Eur Grid Model

The model is described and partially validated in the paper PyPSA-Eur: An Open Optimisation Model of the European Transmission System, 2018, arXiv:1806.01613.

This repository contains the scripts and some of the data required to automatically build the dataset from openly-available sources.

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

The model is designed to be imported into the open toolbox PyPSA for operational studies as well as generation and transmission expansion planning studies.

The dataset consists of:

  • A grid model based on the GridKit extraction of the ENTSO-E Transmission System Map. The grid model contains 6001 lines (alternating current lines at and above 220kV voltage level and all high voltage direct current lines) and 3657 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 vresutils library.

This project is maintained by the Energy System Modelling group at the Institute for Automation and Applied Informatics at the Karlsruhe Institute of Technology. It is currently funded by the Helmholtz Association. Previous versions were developed by the Renewable Energy Group at FIAS to carry out simulations for the CoNDyNet project, financed by the German Federal Ministry for Education and Research (BMBF) as part of the Stromnetze Research Initiative.

Installation

Change to an directory of your choosing (the directory and all of it parent directories may not contain any spaces) and clone the pypsa-eur git repository

cd /home/quack/vres
git clone https://github.com/PyPSA/pypsa-eur.git

Python dependencies

The python package requirements are curated in the conda environment.yaml file. The environment can be installed and activated using

cd pypsa-eur
conda env create -f environment.yaml
source activate pypsa-eur   # or conda activate pypsa-eur on windows

Data dependencies

Not all data dependencies are shipped with the git repository (since git is not suited for handling large changing files). Instead we provide two separate data bundles:

  1. pypsa-eur-data-bundle.tar.xz contains common GIS datasets like NUTS3 shapes, EEZ shapes, CORINE Landcover, Natura 2000 and also electricity specific summary statistics like historic per country yearly totals of hydro generation, GDP and POP on NUTS3 levels and per-country load time-series. It should be extracted in the data subdirectory (so that all files are in the data/bundle subdirectory)
cd data
wget https://vfs.fias.science/d/0a0ca1e2fb/files/?p=/pypsa-eur-data-bundle.tar.xz
tar xJf pypsa-eur-data-bundle.tar.xz
cd ..
  1. pypsa-eur-cuouts.tar.xz are spatiotemporal subsets of the European weather data from the ECMWF ERA5 reanalysis dataset and the CMSAF SARAH-2 solar surface radiation dataset for the year 2013. They have been prepared by and are for use with the atlite package. You can either generate them yourself using the build_cutouts snakemake rule or extract them directly in the pypsa-eur directory (extracting the bundle is recommended, since procuring the source weather data files for atlite is not properly documented at the moment):
wget https://vfs.fias.science/d/0a0ca1e2fb/files/?p=/pypsa-eur-cutouts.tar.xz
tar xJf pypsa-eur-cutouts.tar.xz

Script overview

See the description in the Zenodo repository.

License

The code in PyPSA-Eur is released as free software under the GPLv3, see LICENSE.