豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

open-energy-transition/osm-powerplants

Repository files navigation

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.

About

Extract and process power plant data from OpenStreetMap

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors