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.3.tar.gz (172.3 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.3-py3-none-any.whl (77.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osm_powerplants-0.1.3.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

Hashes for osm_powerplants-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e1fb82d29d079ab7302b38dd29cc507352fec311aa490120af2435e09d6a99f7
MD5 38fbe6f3784fb4c4be48a7cfda25cd10
BLAKE2b-256 0058f7601c27d844d8cb8ff8b35eb1dd8e4b309a0ca27d8af647d5430aa26b54

See more details on using hashes here.

Provenance

The following attestation bundles were made for osm_powerplants-0.1.3.tar.gz:

Publisher: publish.yml on open-energy-transition/osm-powerplants

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for osm_powerplants-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1642e2ae74d2445710da199c15bb6a071c3c0b1ca083dc765d8ba1080bd646c7
MD5 f2866d62e7e04e44586933f6f87c84da
BLAKE2b-256 157720666ee37da23e76cd8b560d78a08105831bb2c8086e6cf765bd06978614

See more details on using hashes here.

Provenance

The following attestation bundles were made for osm_powerplants-0.1.3-py3-none-any.whl:

Publisher: publish.yml on open-energy-transition/osm-powerplants

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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