industry

The central module containing all code dealing with the spatial distribution of industrial electricity demands. Industrial demands from DemandRegio are distributed from nuts3 level down to osm landuse polygons and/or industrial sites also identified within this processing step bringing three different inputs together.

class DemandCurvesOsmIndustry(**kwargs)[source]

Bases: Base

bus
p_set
scn_name
class DemandCurvesOsmIndustryIndividual(**kwargs)[source]

Bases: Base

bus_id
demand
osm_id
p_set
peak_load
scn_name
voltage_level
class DemandCurvesSitesIndustry(**kwargs)[source]

Bases: Base

bus
p_set
scn_name
wz
class DemandCurvesSitesIndustryIndividual(**kwargs)[source]

Bases: Base

bus_id
demand
p_set
peak_load
scn_name
site_id
voltage_level
wz
class EgonDemandRegioOsmIndElectricity(**kwargs)[source]

Bases: Base

demand
id
osm_id
scenario
wz
class EgonDemandRegioSitesIndElectricity(**kwargs)[source]

Bases: Base

demand
industrial_sites_id
scenario
wz
class IndustrialDemandCurves(dependencies)[source]

Bases: Dataset

Distribute industrial electricity demands to industrial sites and OSM landuse areas

Creates different tables to store industrial electricity demand curves on different aggregation levels. In a first step industrial demands taken from DemandRegio are distributed to industrial sites and OSM polygons which are tagged as industrial areas. This method takes information on the different industrial sectors into account and allocates the annual demand as well as load curves accordingly.

Dependencies
Resulting tables
name: str = 'Industrial_demand_curves'
sources: DatasetSources = DatasetSources(tables={'demandregio': 'demand.egon_demandregio_cts_ind', 'wz': 'demand.egon_demandregio_wz', 'osm_landuse': 'openstreetmap.osm_landuse', 'industrial_sites': 'demand.egon_industrial_sites', 'vg250_krs': 'boundaries.vg250_krs', 'osm': 'demand.egon_demandregio_osm_ind_electricity', 'sites': 'demand.egon_demandregio_sites_ind_electricity', 'sites_geom': 'demand.egon_industrial_sites', 'demandregio_industry': 'demand.egon_demandregio_cts_ind', 'demandregio_wz': 'demand.egon_demandregio_wz', 'demandregio_timeseries': 'demand.egon_demandregio_timeseries_cts_ind', 'hvmv_substation': 'grid.egon_hvmv_substation', 'egon_mv_grid_district': 'grid.egon_mv_grid_district', 'egon_ehv_voronoi': 'grid.egon_ehv_substation_voronoi'}, files={}, urls={})

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

targets: DatasetTargets = DatasetTargets(tables={'osm': 'demand.egon_demandregio_osm_ind_electricity', 'sites': 'demand.egon_demandregio_sites_ind_electricity', 'osm_load': 'demand.egon_osm_ind_load_curves', 'osm_load_individual': 'demand.egon_osm_ind_load_curves_individual', 'sites_load': 'demand.egon_sites_ind_load_curves', 'sites_load_individual': 'demand.egon_sites_ind_load_curves_individual'}, files={})

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

version: str = '0.0.8'
create_tables()[source]

Create tables for industrial sites and distributed industrial demands :returns: None.

industrial_demand_distr()[source]

Distribute electrical demands for industry to osm landuse polygons and/or industrial sites, identified earlier in the process. The demands per subsector on nuts3-level from demandregio are distributed linearly to the area of the corresponding landuse polygons or evenly to identified industrial sites.

Returns:

None.