re_potential_areas

The central module containing all code dealing with importing data on potential areas for wind onshore and ground-mounted PV.

class EgonRePotentialAreaPvAgriculture(**kwargs)[source]

Bases: Base

Class definition of table supply.egon_re_potential_area_pv_agriculture.

geom
id
class EgonRePotentialAreaPvRoadRailway(**kwargs)[source]

Bases: Base

Class definition of table supply.egon_re_potential_area_pv_road_railway.

geom
id
class EgonRePotentialAreaWind(**kwargs)[source]

Bases: Base

Class definition of table supply.egon_re_potential_area_wind.

geom
id
create_tables()[source]

Create tables for RE potential areas

insert_data()[source]

Insert data into DB

class re_potential_area_setup(dependencies)[source]

Bases: Dataset

Downloads potential areas for PV and wind power plants from data bundle and writes them to the database.

Dependencies
Resulting Tables
name: str = 'RePotentialAreas'
sources: DatasetSources = DatasetSources(tables={}, files={'potentialarea_pv_agriculture': 'data_bundle_egon_data/re_potential_areas/potentialarea_pv_agriculture.gpkg', 'potentialarea_pv_road_railway': 'data_bundle_egon_data/re_potential_areas/potentialarea_pv_road_railway.gpkg', 'potentialarea_wind': 'data_bundle_egon_data/re_potential_areas/potentialarea_wind.gpkg', 'potentialarea_pv_agriculture_SH': 'data_bundle_egon_data/re_potential_areas/potentialarea_pv_agriculture_SH.gpkg', 'potentialarea_pv_road_railway_SH': 'data_bundle_egon_data/re_potential_areas/potentialarea_pv_road_railway_SH.gpkg', 'potentialarea_wind_SH': 'data_bundle_egon_data/re_potential_areas/potentialarea_wind_SH.gpkg'}, urls={})

The sources used by the datasets. Could be tables, files and urls

targets: DatasetTargets = DatasetTargets(tables={'egon_re_potential_area_pv_agriculture': 'supply.egon_re_potential_area_pv_agriculture', 'egon_re_potential_area_pv_road_railway': 'supply.egon_re_potential_area_pv_road_railway', 'egon_re_potential_area_wind': 'supply.egon_re_potential_area_wind'}, files={})

The targets created by the datasets. Could be tables and files

tasks: Tasks = (<function create_tables>, <function insert_data>)
version: str = '0.0.4'