Skip to main content

Extract and process power plant data from OpenStreetMap

Project description

OSM Power Plants

CI PyPI version License: MIT Python 3.10+

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

osm_powerplants-0.1.4.tar.gz (178.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osm_powerplants-0.1.4-py3-none-any.whl (77.9 kB view details)

Uploaded Python 3

File details

Details for the file osm_powerplants-0.1.4.tar.gz.

File metadata

  • Download URL: osm_powerplants-0.1.4.tar.gz
  • Upload date:
  • Size: 178.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for osm_powerplants-0.1.4.tar.gz
Algorithm Hash digest
SHA256 892ce5b8aa7d074ae4745282fb0c74e00d70f3b0675324127831d7d963d1fcb1
MD5 ee3aee27d9170151a3e6f6b92ea03873
BLAKE2b-256 68b2dc80cdf5f8fd4bf485eb8e041b565b241391bec05dead15c528fef2fd0b8

See more details on using hashes here.

File details

Details for the file osm_powerplants-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for osm_powerplants-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3042f17b5f3bb4d6e36246ffceee490c2c051c90d62ee3ba3bed829406c21dd0
MD5 c14cbf2b48adda59138755d7909da7f2
BLAKE2b-256 df29419edcf6c41fd35b1aff637e0c7c9d919f2500f1ae1386dff2c2d9c74cca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page