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: sqlalchemy.ext.declarative.api.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: sqlalchemy.ext.declarative.api.Base

address
companyname
geom
id
nuts3
subsector
wz
class MergeIndustrialSites(dependencies)[source]

Bases: egon.data.datasets.Dataset

class SchmidtIndustrialSites(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

annual_tonnes
application
capacity_production
geom
id
landkreis_number
lat
lon
plant
wz
class SeenergiesIndustrialSites(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.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_hotmaps()[source]

Download csv file on hotmap’s industrial sites.

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.
download_seenergies()[source]

Download csv file on s-eenergies’ industrial sites.

hotmaps_to_postgres()[source]

Import hotmaps data to postgres database

map_nuts3()[source]

Match resulting industrial sites with nuts3 codes and fill column ‘nuts3’

Returns:None.
merge_inputs()[source]

Merge and clean data from different sources (hotmaps, seenergies, Thesis Schmidt)

schmidt_to_postgres()[source]

Import data from Thesis by Danielle Schmidt to postgres database

seenergies_to_postgres()[source]

Import seenergies data to postgres database