industrial_sites
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 HotmapsIndustrialSites(**kwargs)[source]
Bases:
Base- address
- city
- citycode
- companyname
- country
- datasource
- emissions_eprtr_2014
- emissions_ets_2014
- excess_heat_100_200C
- excess_heat_200_500C
- excess_heat_500C
- excess_heat_total
- fuel_demand
- geom
- location
- production
- siteid
- sitename
- subsector
- wz
- class IndustrialSites(**kwargs)[source]
Bases:
Base- address
- companyname
- geom
- id
- nuts3
- subsector
- wz
- class MergeIndustrialSites(dependencies)[source]
Bases:
Dataset- sources: DatasetSources = DatasetSources(tables={'hotmaps_processed': 'demand.egon_hotmaps_industrial_sites', 'seenergies_processed': 'demand.egon_seenergies_industrial_sites', 'schmidt_processed': 'demand.egon_schmidt_industrial_sites', 'vg250_krs': 'boundaries.vg250_krs'}, files={'schmidt': 'industrial_sites/MA_Schmidt_Industriestandorte_georef.csv'}, urls={'hotmaps': 'https://gitlab.com/hotmaps/industrial_sites/industrial_sites_Industrial_Database/-/raw/388278c6df35889b1447a959fc3759e3d78bf659/data/Industrial_Database.csv?inline=false', 'seenergies': 'https://opendata.arcgis.com/datasets/5e36c0af918040ed936b4e4c101f611d_0.csv'})
The sources used by the datasets. Could be tables, files and urls
- targets: DatasetTargets = DatasetTargets(tables={'hotmaps': 'demand.egon_hotmaps_industrial_sites', 'seenergies': 'demand.egon_seenergies_industrial_sites', 'schmidt': 'demand.egon_schmidt_industrial_sites', 'sites': 'demand.egon_industrial_sites'}, files={'hotmaps_download': 'industrial_sites/data_Industrial_Database.csv', 'seenergies_download': 'industrial_sites/D5_1_Industry_Dataset_With_Demand_Data.csv'})
The targets created by the datasets. Could be tables and files
- class SchmidtIndustrialSites(**kwargs)[source]
Bases:
Base- annual_tonnes
- application
- capacity_production
- geom
- id
- landkreis_number
- lat
- lon
- plant
- wz
- class SeenergiesIndustrialSites(**kwargs)[source]
Bases:
Base- address
- companyname
- country
- electricitydemand_tj
- eu28
- excess_heat
- fueldemand_tj
- geom
- globalid
- lat
- level_1_pj
- level_1_r_pj
- level_1_r_tj
- level_1_tj
- level_2_pj
- level_2_r_pj
- level_2_r_tj
- level_2_tj
- level_3_pj
- level_3_r_pj
- level_3_r_tj
- level_3_tj
- lon
- nuts1
- nuts3
- objectid
- siteid
- subsector
- wz
- create_tables()[source]
Create tables for industrial sites and distributed industrial demands :returns: None.
- download_import_industrial_sites()[source]
Wraps different functions to create tables, download csv files containing information on industrial sites in Germany and write this data to the local postgresql database
- Returns:
None.