Extract and process power plant data from OpenStreetMap
Project description
OSM Power Plants
Extract power plant data from OpenStreetMap for energy system modeling.
Installation
pip install osm-powerplants
Quick Start
Command Line
osm-powerplants process Germany France -o europe.csv
Python API
from osm_powerplants import process_units, get_config, get_cache_dir
df = process_units(
countries=["Chile", "Greece"],
config=get_config(),
cache_dir=str(get_cache_dir(get_config())),
)
Output Format
| Column | Description |
|---|---|
projectID |
OSM-based identifier |
Name |
Plant name |
Country |
Country name |
lat, lon |
Coordinates |
Fueltype |
Solar, Wind, Hydro, Nuclear, Natural Gas, etc. |
Technology |
PV, Onshore, Run-Of-River, Steam Turbine, etc. |
Set |
PP (power plant), Store (storage) |
Capacity |
MW |
DateIn |
Commissioning year |
Documentation
Full documentation: https://open-energy-transition.github.io/osm-powerplants
Integration with powerplantmatching
This package provides OSM data for powerplantmatching. The generated osm_europe.csv is automatically updated and consumed by powerplantmatching's matching pipeline.
Development
git clone https://github.com/open-energy-transition/osm-powerplants.git
cd osm-powerplants
pip install -e ".[dev]"
pre-commit install
pytest
Acknowledgments
This project is developed and maintained by Open Energy Transition, a company dedicated to accelerating the global energy transition through open-source tools and data.
License
MIT License - see LICENSE for details.
Data sourced from OpenStreetMap © OpenStreetMap contributors.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osm_powerplants-0.1.2.tar.gz.
File metadata
- Download URL: osm_powerplants-0.1.2.tar.gz
- Upload date:
- Size: 172.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1854bb70f9ac49e75b62f4e02084b9bbb5d8fb8ba974a087b0a96cbdb7f8527
|
|
| MD5 |
db66e86a31177c02bec1b7ae75f6623e
|
|
| BLAKE2b-256 |
7ca50ce397f9687bc6bbc9c81e91a74b963325abc8db5fffe368748b74fbac78
|
Provenance
The following attestation bundles were made for osm_powerplants-0.1.2.tar.gz:
Publisher:
publish.yml on open-energy-transition/osm-powerplants
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
osm_powerplants-0.1.2.tar.gz -
Subject digest:
a1854bb70f9ac49e75b62f4e02084b9bbb5d8fb8ba974a087b0a96cbdb7f8527 - Sigstore transparency entry: 788859747
- Sigstore integration time:
-
Permalink:
open-energy-transition/osm-powerplants@24b7362f6a72b9310778eaa709010cdb42c31341 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/open-energy-transition
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@24b7362f6a72b9310778eaa709010cdb42c31341 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file osm_powerplants-0.1.2-py3-none-any.whl.
File metadata
- Download URL: osm_powerplants-0.1.2-py3-none-any.whl
- Upload date:
- Size: 77.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe44b51076a606529252735f70dd722bf731f4f8edc77b28e47fd18b00e42953
|
|
| MD5 |
3bedba6569ca2a9523b87f775729502e
|
|
| BLAKE2b-256 |
2bc8d28b3ca6c5709af08cae0f99c8137fda858b8e386e0dd66fe661eec3f9a8
|
Provenance
The following attestation bundles were made for osm_powerplants-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on open-energy-transition/osm-powerplants
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
osm_powerplants-0.1.2-py3-none-any.whl -
Subject digest:
fe44b51076a606529252735f70dd722bf731f4f8edc77b28e47fd18b00e42953 - Sigstore transparency entry: 788859750
- Sigstore integration time:
-
Permalink:
open-energy-transition/osm-powerplants@24b7362f6a72b9310778eaa709010cdb42c31341 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/open-energy-transition
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@24b7362f6a72b9310778eaa709010cdb42c31341 -
Trigger Event:
workflow_dispatch
-
Statement type: