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

Uploaded Python 3

File details

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

File metadata

  • Download URL: osm_powerplants-0.1.1.tar.gz
  • Upload date:
  • Size: 172.2 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.1.tar.gz
Algorithm Hash digest
SHA256 d74d111af1a25a87669ab2b55acfba522db755afc1ab059d9d54f3a04c71bc41
MD5 4080aa2c0d6b3400af303652a7ffbb9c
BLAKE2b-256 dad05155cbb9e912e3791906705397f0429e69024f3a9e182b6f0757be17dd04

See more details on using hashes here.

Provenance

The following attestation bundles were made for osm_powerplants-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for osm_powerplants-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4eabc86f60bd9e886a8b589b4ec10a14755420afb5a90d5c7e625fcdb4e004b
MD5 8df2a2a85dcea1b97d9f2c7e36d7ce7e
BLAKE2b-256 409cd292fa542377fa23883d51cc8ee74c30f45f6feee3de6515daeb0a7911cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for osm_powerplants-0.1.1-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