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.2.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.2-py3-none-any.whl (77.4 kB view details)

Uploaded Python 3

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

Hashes for osm_powerplants-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a1854bb70f9ac49e75b62f4e02084b9bbb5d8fb8ba974a087b0a96cbdb7f8527
MD5 db66e86a31177c02bec1b7ae75f6623e
BLAKE2b-256 7ca50ce397f9687bc6bbc9c81e91a74b963325abc8db5fffe368748b74fbac78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for osm_powerplants-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe44b51076a606529252735f70dd722bf731f4f8edc77b28e47fd18b00e42953
MD5 3bedba6569ca2a9523b87f775729502e
BLAKE2b-256 2bc8d28b3ca6c5709af08cae0f99c8137fda858b8e386e0dd66fe661eec3f9a8

See more details on using hashes here.

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

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