DOI: 10.5281/zenodo.12799201
title: Prebuilt Electricity Network for PyPSA-Eur based on OpenStreetMap Data

description: This dataset contains a topologically connected representation of the European high-voltage grid (220 kV to 750 kV) constructed using OpenStreetMap data. Input data was retrieved using the Overpass turbo API (https://overpass-turbo.eu). A heurisitic cleaning process was used to for lines and links where electrical parameters are incomplete, missing, or ambiguous. Close substations within a radius of 500 m are aggregated to single buses, exact locations of underlying substations is preserved. Unique identifiers for lines and links are preserved, e.g. an AC line/cable with the ID way/83742802-1 can be viewed on OpenStreetMap using the query https://www.openstreetmap.org/way/83742802. A DC line/cable with the ID relation/15781671 can be accessed using the query https://www.openstreetmap.org/relation/15781671

A detailed explanation on the background, methodology, and validation can be found in the article published in Nature Scientific Data:



Xiong, B., Fioriti, D., Neumann, F., Riepin, I., Brown, T. Modelling the high-voltage grid using open data for Europe and beyond. Sci Data 12, 277 (2025). https://doi.org/10.1038/s41597-025-04550-7


Countries included in the dataset:



Albania (AL), Austria (AT), Belgium (BE), Bosnia and Herzegovina (BA), Bulgaria (BG), Croatia (HR), Czech Republic (CZ), Denmark (DK), Estonia (EE), Finland (FI), France (FR), Germany (DE), Greece (GR), Hungary (HU), Ireland (IE), Italy (IT), Kosovo (XK), Latvia (LV), Lithuania (LT), Luxembourg (LU), Moldova (MD), Montenegro (ME), Netherlands (NL), North Macedonia (MK), Norway (NO), Poland (PL), Portugal (PT), Romania (RO), Serbia (RS), Slovakia (SK), Slovenia (SI), Spain (ES), Sweden (SE), Switzerland (CH), Ukraine (UA), United Kingdom (GB)


The dataset was constructed as part of the workflow within the open-source, sector-coupling model PyPSA-Eur and will be updated continuously as data and/or the cleaning process improves. 

PyPSA-Eur is an open model dataset of the European power system at the transmission network level that covers the full ENTSO-E area. It can be built using the code provided at https://github.com/PyPSA/PyPSA-eur.

Not all data dependencies are shipped with the code repository, since git is not suited for handling large changing files. Instead we provide separate data bundles to be downloaded and extracted as noted in the documentation.

While the code and provided dataset in PyPSA-Eur is released as free software under the MIT, different licenses and terms of use apply to the underlying input data.

Extract from OpenStreetMap Terms of Use



OpenStreetMap® is open data, licensed under the Open Data Commons Open Database License (ODbL) by the OpenStreetMap Foundation (OSMF).

You are free to copy, distribute, transmit and adapt our data, as long as you credit OpenStreetMap and its contributors. If you alter or build upon our data, you may distribute the result only under the same licence. The full legal code explains your rights and responsibilities.

Our documentation is licensed under the Creative Commons Attribution-ShareAlike 2.0 license (CC BY-SA 2.0).


This processed dataset is provided under the Open Data Commons Open Database License (ODbL 1.0) license.

Changelog from version 0.6 to 0.7:



Updated dataset (retrieved on 11 February 2026) using improved building workflow (including suppport for start_date and construction tags, as well as pure DC buses.

Completely rebuilt interactive map using PyDeck/deck.gl with GPU acceleration and custom JS controls, offering fuzzy search, clickable OSM references, improved UX performance. For a demo, visit bxio.ng/assets/osm

For details, see GitHub pull requests: PR2030 and PR2052.