Skip to content

open-energy-transition/open-tyndp

Β 
Β 

Repository files navigation

GitHub release (latest by date including pre-releases) Commits behind PyPSA-Eur Test workflows Documentation Size Zenodo PyPSA-Eur Zenodo PyPSA-Eur-Sec Snakemake Zenodo TYNDP data Discord REUSE status

Open-TYNDP: Interfacing Open Energy System Planning with ENTSO-E Models and Contributing to TYNDP

Open Energy Transition Logo

Warning

Open-TYNDP is under active development and is not yet feature-complete. The current development status and the general Limitations are important to understand before using the model.

This repository introduces the open model dataset of the Open-TYNDP research and innovation project, which is a collaboration between Open Energy Transition (OET) and the European Network of Transmission System Operators for Electricity (ENTSO-E). The project’s aim is to explore and consider the adoption of PyPSA in the Ten-Year Network Development Plan (TYNDP) by building a workflow based on PyPSA-Eur. It seeks to complement the tools currently used in the TYNDP cycles, especially for Scenario Building (SB) and Cost-Benefit Analysis (CBA). This approach is designed to enhance transparency and lower barriers to stakeholder participation in European energy planning. Beyond Europe, the project aspires to demonstrate the viability of open-source (OS) frameworks in energy planning, encouraging broader global adoption.

To build trust in and ensure reproducibility with the new open-source toolchain, the project first focuses on replicating key figures from the 2024 TYNDP cycle, before aligning with the current 2026 TYNDP cycle. This process involves developing new features within the open-source domain to address existing gaps, integrating tools for data interoperability and dynamic visualizations, and publishing best practices to encourage the adoption of open energy models. Additionally, the project emphasizes stakeholder consultations and interactive workshops alongside the development of the PyPSA tool, further promoting collaboration and transparency throughout the process.

This repository is a soft-fork of OET/PyPSA-Eur and contains the entire project Open-TYNDP supported by OET, including code and documentation. The philosophy behind this repository is that no intermediary results are included, but all results are computed from raw data and code.

This repository is maintained using OET's soft-fork strategy. OET's primary aim is to contribute as much as possible to the open-source upstream repositories. For long-term changes that cannot be directly merged upstream, the strategy organizes and maintains OET forks, ensuring they remain up-to-date and compatible with upstream on a regular basis, while also supporting future contributions back to the OS repositories.

Development status

Warning: Open-TYNDP is under active development and is not yet feature-complete. The current development status and general Limitations are important to understand before using the model. The model includes partial data from the TYNDP 2024 cycle, and its validation is ongoing. The github repository issues collect known topics we are working on (please feel free to help or make suggestions). The fact that this project relies on a soft-fork strategy implies that upstream issues need to be addressed in the PyPSA-Eur repository. The documentation also remains work in progress.

βœ… Already implemented features

The back-casting of the 2024 TYNDP cycle involves developing new features based on the published modelling methodology report. Major and already implemented features are summarized below. Please, refer to the Release Notes for a more comprehensive list of features and to the relevant pull requests for extensive documentation of the implementations.

  • Introduced a new electricity base network using TYNDP 2024 electricity reference grid data (see PR #18).
  • Added option to use the TYNDP H2 topology including the TYNDP H2 reference grid, H2 Z1 and Z2 setup, production, reconversion and storage technologies (see PR #17).
  • Added TYNDP hydrogen import potentials and corridors from outside of the modelled countries (see PR #36).
  • Added the TYNDP electricity demand as an exogenously set demand (see PR #14).
  • Added processing and preparation of TYNDP 2024 PECD v3.1 renewable profiles for offshore wind farms, replacing default ERA5-based profiles processed with Atlite (see PR #53).
  • Introduced TYNDP offshore wind hubs topology with both electric and hydrogen infrastructure, offshore electrolysers, and detailed wind farm characteristics (see PR #54).
Feature TYNDP 2024 topology Open-TYNDP topology
Electricity Grid TYNDP 2024 electricity topology Open-TYNDP electricity topology
Hydrogen Grid TYNDP 2024 hydrogen topology Open-TYNDP hydrogen topology
Offshore Grid TYNDP 2024 offshore topology Open-TYNDP offshore topology

πŸ”¨ Features in development

While multiple TYNDP features are already introduced to the Open-TYNDP model, there are several other features and assumptions that are still in development and currently rely on default implementations and assumptions from PyPSA-Eur.

Milestone Feature PR Status
Visualizations and workflow automation Automated workflow βœ…
TYNDP plotting routines βŒ›
Automated tests and benchmarks Automated benchmarking routine #73 πŸ”¨
TYNDP modelling features Perfect foresight optimization βŒ›
Security of Supply (SoS) loop βŒ›
Existing infrastructure and associated parameters Electricity reference grid #18 βœ…
Hydrogen reference grid #17, #36 βœ…
Offshore grid #54 βœ…
PECD data #53, #71 βœ…
Hydro inflows #77 βœ…
PEMMDB capacities & must-runs #97 πŸ”¨
Investment candidates trajectories #97 πŸ”¨
TYNDP demand Electricity #14 βœ…
Hydrogen βŒ›
Methane βŒ›
Synthetic fuels βŒ›
District heating βŒ›
Energy imports βŒ›
TYNDP technologies and carriers TYNDP generation technologies (incl. SRES and DRES) βŒ›
Prosumer modelling βŒ›
EV modelling βŒ›
Synthetic fuel carriers βŒ›
Hybrid heat pumps βŒ›
Industrial electricity and hydrogen demands βŒ›
Hydrogen zones #17 βœ…

See also: See also the GitHub repository issues for a comprehensive list of currently open issues.

Repository structure

  • benchmarks: will store snakemake benchmarks (does not exist initially)
  • config: configurations used in the study
  • cutouts: will store raw weather data cutouts from atlite (does not exist initially)
  • data: includes input data that is not produced by any snakemake rule
  • doc: includes all files necessary to build the readthedocs documentation of PyPSA-Eur
  • envs: includes all the mamba environment specifications to run the workflow
  • logs: will store log files (does not exist initially)
  • notebooks: includes all the notebooks used for ad-hoc analysis
  • report: contains all files necessary to build the report; plots and result files are generated automatically
  • rules: includes all the snakemakerules loaded in the Snakefile
  • resources: will store intermediate results of the workflow which can be picked up again by subsequent rules (does not exist initially)
  • results: will store the solved PyPSA network data, summary files and plots (does not exist initially)
  • scripts: includes all the Python scripts executed by the snakemake rules to build the model

Installation and Usage

1. Installation

Clone the repository:

git clone https://github.com/open-energy-transition/open-tyndp

You need a package manager like mamba to run the analysis. Users may also prefer to use micromamba or conda. Using mamba, you can create an environment for <your-os> from within you can run it:

mamba env create -n open-tyndp -f envs/<your-os>.lock.yaml

Activate the newly created open-tydnp environment:

mamba activate open-tyndp

2. Run the analysis

make tyndp

This will run all analysis steps to reproduce results and build the report.

To generate a PDF of the dependency graph of all steps resources/dag_rulegraph.pdf run:

snakemake -c1 rulegraph --configfile config/config.tyndp.yaml

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.

  • 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 appropriate GitHub issues page. Issues specific to Open-TYNDP belong on the Open-TYNDP Issues page, while PyPSA-Eur issues should be submitted to the PyPSA-Eur Github Issues page.

Contact

For any questions about the Open-TYNDP or other queries, reach out via: [email protected].

Sign Up for the project newsletter for updates!

Licence

Open-TYNDP is a soft-fork of PyPSA-Eur, relying on a similar licensing strategy. As with PyPSA-Eur, the code in Open-TYNDP is released as free software under the MIT License, see Licenses for attribution and licensing strategy details. Additionally, different licenses and terms of use may apply to the various input data, see Data Sources.

About

Open-TYNDP: Interfacing Open Energy System Planning with ENTSO-E Models and Contributing to TYNDP

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%