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.
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.
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 | ![]() |
![]() |
Hydrogen Grid | ![]() |
![]() |
Offshore Grid | ![]() |
![]() |
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.
benchmarks
: will storesnakemake
benchmarks (does not exist initially)config
: configurations used in the studycutouts
: will store raw weather data cutouts fromatlite
(does not exist initially)data
: includes input data that is not produced by anysnakemake
ruledoc
: includes all files necessary to build thereadthedocs
documentation of PyPSA-Eurenvs
: includes all themamba
environment specifications to run the workflowlogs
: will store log files (does not exist initially)notebooks
: includes all thenotebooks
used for ad-hoc analysisreport
: contains all files necessary to build the report; plots and result files are generated automaticallyrules
: includes all thesnakemake
rules loaded in theSnakefile
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 thesnakemake
rules to build the model
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
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
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.
For any questions about the Open-TYNDP or other queries, reach out via: [email protected].
Sign Up for the project newsletter for updates!
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
.