stemp_abw package

Submodules

stemp_abw.admin module

stemp_abw.app_settings module

stemp_abw.app_settings.get_language_or_fallback()[source]
stemp_abw.app_settings.labels()[source]
stemp_abw.app_settings.layer_areas_metadata()[source]
stemp_abw.app_settings.layer_region_metadata()[source]
stemp_abw.app_settings.layer_result_metadata()[source]
stemp_abw.app_settings.month_labels()[source]
stemp_abw.app_settings.node_labels()[source]
stemp_abw.app_settings.text_files()[source]
stemp_abw.app_settings.text_files_dir()[source]

stemp_abw.apps module

stemp_abw.forms module

class stemp_abw.forms.AreaGroupForm(components=None, *args, **kwargs)[source]

Bases: django.forms.forms.Form

Form for layer group (variable layers)

base_fields = {}
declared_fields = {}
media
class stemp_abw.forms.ComponentGroupForm(components=None, *args, **kwargs)[source]

Bases: django.forms.forms.Form

Form for esys components

base_fields = {}
declared_fields = {}
media
class stemp_abw.forms.LayerGroupForm(cat_name=None, layers=None, *args, **kwargs)[source]

Bases: django.forms.forms.Form

Form for layer group (regional info)

base_fields = {}
declared_fields = {}
media
class stemp_abw.forms.ScenarioDropdownForm(*args, **kwargs)[source]

Bases: django.forms.forms.Form

Form for scneario dropdown menu (predefined scenarios only)

base_fields = {}
declared_fields = {}
media

stemp_abw.helpers module

stemp_abw.helpers.order_dict(dictionary)[source]

Order dictionary recursively

stemp_abw.models module

class stemp_abw.models.DemandTs(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Demand timeseries (hourly, partly normalized - see columns)

id

DB id

timestamp

timestamp

ags

Municipality key (Amtlicher Gemeindeschlüssel), refers to stemp_abw.models.RegMun

el_hh

El. demand of households

el_rca

El. demand of retail, commercial and agricultural sector (GHD)

el_ind

El. demand of industry

th_hh_efh

Heat demand of households in single-family houses (Einfamilienhäuser), absolute, in MW

th_hh_mfh

Heat demand of households in multi-family houses (Mehrfamilienhäuser), absolute, in MW

th_hh_efh_spec

Heat demand of households in single-family houses (Einfamilienhäuser), area-specific in kWh/m^2

th_hh_mfh_spec

Heat demand of households in multi-family houses (Mehrfamilienhäuser), area-specific in kWh/m^2

th_rca

Heat demand of retail, commercial and agricultural sector (GHD) in MW

th_ind

Heat demand of industry in MW

Notes

Timeseries are stored per timestep and ags -> one dataset is uniquely identified by timestamp and municipality’s ags.

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ags

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

ags_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

el_hh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

el_ind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

el_rca

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_next_by_timestamp(*, field=<django.db.models.fields.DateTimeField: timestamp>, is_next=True, **kwargs)
get_previous_by_timestamp(*, field=<django.db.models.fields.DateTimeField: timestamp>, is_next=False, **kwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
th_hh_efh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

th_hh_efh_spec

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

th_hh_mfh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

th_hh_mfh_spec

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

th_ind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

th_rca

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

timestamp

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.FeedinTs(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Feedin timeseries (hourly, partly normalized - see columns)

id

DB id

timestamp

timestamp

ags

Municipality key (Amtlicher Gemeindeschlüssel), refers to stemp_abw.models.RegMun

pv_ground

Photovoltaics (ground-mounted systems) normalized (relative values)

pv_roof

Photovoltaics (roof-mounted systems) normalized (relative values)

hydro

Run-of-river plants normalized (relative values)

wind_sq

Wind turbines (status quo) normalized (relative values)

wind_fs

Wind turbines (future scenarios) normalized (relative values)

bio

Biogas/biomass plants (incl. landfill and sewage) normalized (relative values)

conventional

Conventional plants (>=10 MW: power-led, <10 MW: heat-led) NOT normalized (absolute values)

Notes

Timeseries are stored per timestep and ags -> one dataset is uniquely identified by timestamp and municipality’s ags.

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ags

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

ags_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

bio

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

conventional

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_next_by_timestamp(*, field=<django.db.models.fields.DateTimeField: timestamp>, is_next=True, **kwargs)
get_previous_by_timestamp(*, field=<django.db.models.fields.DateTimeField: timestamp>, is_next=False, **kwargs)
hydro

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
pv_ground

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

pv_roof

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

timestamp

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

wind_fs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

wind_sq

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.GenPVGround(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'gen_pv_ground'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.GenWEC(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'gen_wec'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.LayerModel(*args, **kwargs)[source]

Bases: django.db.models.base.Model

class Meta[source]

Bases: object

abstract = False
name
class stemp_abw.models.MunData(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Statistical data of municipalities (status quo)

ags

Municipality key (Amtlicher Gemeindeschlüssel), refers to stemp_abw.models.RegMun

area

Total area in km^2

pop_2011

Population (2011) according to Zensus

pop_2017

Population (2017) according to GV-ISys

pop_2030

Population (2030) forecast according to MLV Sachsen-Anhalt

pop_2050

Population (2050), linearly extrapolated using 2017 and 2030

total_living_space

Total living space (Wohnfläche) in m^2

gen_count_wind

Count of wind turbines

gen_count_pv_roof_small

Count of small (<=30 kVA) roof-mounted PV systems

gen_count_pv_roof_large

Count of large (>30 kVA, <=300 kVA) roof-mounted PV systems

gen_count_pv_ground

Count of ground-mounted PV systems (>300 kVA)

gen_count_hydro

Count of run-of-river systems

gen_count_bio

Count of biogas/biomass systems

gen_count_conventional_large

Count of large (>=10 MW) conventional plants in MW

gen_count_conventional_small

Count of small (<10 MW) conventional plants in MW. Simplified assumption: 1 plant per municipality

gen_count_sewage_landfill_gas

Count of sewage/landfill gas systems

gen_count_storage

Count of storages

gen_capacity_wind

Total nominal power of wind turbines in MVA

gen_capacity_pv_roof_small

Total nominal power of small roof-mounted PV systems in MW

gen_capacity_pv_roof_large

Total nominal power of large roof-mounted PV systems in MW

gen_capacity_pv_ground

Total nominal power of ground-mounted PV systems in MW

gen_capacity_hydro

Total nominal power of run-of-river systems in MW

gen_capacity_bio

Total nominal power of biogas/biomass systems in MW

gen_capacity_conventional_large

Total nominal power of large (>=10 MW) conventional plants in MW

gen_capacity_conventional_small

Total nominal power of small (<10 MW) conventional plants in MW

gen_capacity_sewage_landfill_gas

Total nominal power of sewage/landfill gas systems in MW

gen_capacity_storage

Total storage capacity of storages in MWh

gen_el_energy_wind

Annual el. energy fed in by wind turbines in MWh

gen_el_energy_pv_roof

Annual el. energy fed in by roof-mounted PV systems in MWh

gen_el_energy_pv_ground

Annual el. energy fed in by ground-mounted PV systems in MWh

gen_el_energy_hydro

Annual el. energy fed in by run-of-river systems in MWh

gen_el_energy_bio

Annual el. energy fed in by biomass/biogas systems incl. sewage and landfill gas in MWh

gen_el_energy_conventional

Annual el. energy fed in by conventional power plants in MWh (large >=10 MW and small <10 MW).

dem_el_peak_load_hh

El. peak demand of households in MW

dem_el_peak_load_rca

El. peak demand of retail, commercial and agricultural sector (GHD) in MW

dem_el_peak_load_ind

El. peak demand of industry in MW

dem_el_energy_hh

Annual el. energy consumed by households in MWh

dem_el_energy_rca

Annual el. energy consumed by retail, commercial and agricultural sector (GHD) in MWh

dem_el_energy_ind

Annual el. energy consumed by industry in MWh

dem_th_peak_load_hh

Heat peak demand of households in MW

dem_th_peak_load_rca

Heat peak demand of retail, commercial and agricultural sector (GHD) in MW

dem_th_peak_load_ind

Heat peak demand of industry in MW

dem_th_energy_hh

Annual heat consumed by households in MWh

dem_th_energy_hh_efh

Annual heat consumed by single-family households (Einfamilienhäuser) in MWh

dem_th_energy_hh_mfh

Annual heat consumed by multi-family households (Mehrfamilienhäuser) in MWh

dem_th_energy_hh_efh_spec

Annual heat consumed by single-family households (Einfamilienhäuser), area-specific in kWh/m^2

dem_th_energy_hh_mfh_spec

Annual heat consumed by multi-family households (Mehrfamilienhäuser), area-specific in kWh/m^2

dem_th_energy_rca

Annual heat consumed by retail, commercial and agricultural sector (GHD) in MWh

dem_th_energy_ind

Annual heat consumed by industry in MWh

dem_th_energy_hh_per_capita

Annual heat demand of households per capita in MWh

dem_th_energy_total_per_capita

Annual heat demand of households, retail, commercial and agricultural sector per capita in MWh

reg_prio_area_wec_area

Area sum of priority areas (parts) in ha

reg_prio_area_wec_count

Count of priority area (parts)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ags

Accessor to the related object on the forward side of a one-to-one relation.

In the example:

class Restaurant(Model):
    place = OneToOneField(Place, related_name='restaurant')

Restaurant.place is a ForwardOneToOneDescriptor instance.

ags_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

area

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_el_energy_hh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_el_energy_ind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_el_energy_rca

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_el_peak_load_hh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_el_peak_load_ind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_el_peak_load_rca

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_hh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_hh_efh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_hh_efh_spec

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_hh_mfh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_hh_mfh_spec

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_hh_per_capita

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_ind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_rca

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_energy_total_per_capita

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_peak_load_hh

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_peak_load_ind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dem_th_peak_load_rca

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_bio

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_conventional_large

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_conventional_small

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_hydro

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_pv_ground

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_pv_roof_large

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_pv_roof_small

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_sewage_landfill_gas

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_storage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_capacity_wind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_bio

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_conventional_large

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_conventional_small

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_hydro

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_pv_ground

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_pv_roof_large

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_pv_roof_small

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_sewage_landfill_gas

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_storage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_count_wind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_el_energy_bio

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_el_energy_conventional

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_el_energy_hydro

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_el_energy_pv_ground

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_el_energy_pv_roof

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gen_el_energy_wind

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
pop_2011

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

pop_2017

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

pop_2030

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

pop_2050

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

reg_prio_area_wec_area

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

reg_prio_area_wec_count

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

total_living_space

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.Powerplant(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Power plants (status quo)

id

DB id

ags

Municipality key (Amtlicher Gemeindeschlüssel), refers to stemp_abw.models.RegMun

capacity

Nominal power in MW

chp

Indicates if plant is of type CHP (combined heat and power)

com_month

Month of commissioning

com_year

Year of commissioning

comment

Comment

decom_month

Month of decommissioning

decom_year

Year of decommissioning

efficiency

Efficiency

energy_source_level_1

Indicates if renewable or conventional

energy_source_level_2

Indicates energy source

energy_source_level_3

More specific energy source

geometry

SRID: EPSG:4326 (WGS84)

Type:Geometry
technology

Technology

thermal_capacity

Nominal thermal nominal power, if applicable

coastdat2

No. of coastdat2 weather cell (reegis)

capacity_in

Capacity of inflow

federal_state

Abbreviation of federal state name (2 letters according to ISO 3166-2:DE)

Notes

Most of the attributes correspond to the OPSD dataset, some were added by reegis.

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ags

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

ags_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

capacity

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

capacity_in

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

chp

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

coastdat2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

com_month

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

com_year

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

comment

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

decom_month

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

decom_year

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

efficiency

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

energy_source_level_1

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

energy_source_level_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

energy_source_level_3

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

federal_state

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geometry
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
state

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

technology

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

thermal_capacity

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.REPotentialAreas(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Potential areas for renewable plants

id

DB id

area_params

TODO: Define format App settings for usable areas (area panel)

mun_data

TODO: Define format Available potentials (per technology) TO BE SPECIFIED

geom

SRID: EPSG:3035 (ETRS89/LAEA)

Type:Geometry
exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

area_params

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

mun_data

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 're_pot_areas'
objects = <django.db.models.manager.Manager object>
scenario_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

class stemp_abw.models.RegBioReserve(id, geom, gebietsnam, gebietsnum, rechtsgrun, schutzzone, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_bio_reserve'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

schutzzone

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegBirdProtArea(id, geom, gebietsnam, gebietsnum, rechtsgrun, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_bird_prot_area'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegBirdProtAreaB200(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_bird_prot_area_b200'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegDeadZoneHard(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_dead_zone_hard'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegDeadZoneSoft(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_dead_zone_soft'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegFFHProtArea(id, geom, gebietsnam, gebietsnum, rechtsgrun, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_ffh_prot_area'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegFFHProtAreaB(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_ffh_prot_area_b'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegForest(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_forest'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegInfrasAviation(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_infras_aviation'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegInfrasHvgrid(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_infras_hvgrid'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegInfrasRailway(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_infras_railway'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegInfrasRoad(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_infras_road'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegLandscProtArea(id, geom, gebietsnam, gebietsnum, rechtsgrun, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_landsc_prot_area'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegLandscProtAreaParts(id, geom, gebietsnam, gebietsnum, rechtsgrun, erfassungs)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_landsc_prot_area_parts'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegMun(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ags

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

demandts_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

feedints_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

gen

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
geom_centroid
mundata

Accessor to the related object on the reverse side of a one-to-one relation.

In the example:

class Restaurant(Model):
    place = OneToOneField(Place, related_name='restaurant')

Place.restaurant is a ReverseOneToOneDescriptor instance.

name = 'reg_mun'
objects = <django.db.models.manager.Manager object>
powerplant_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

class stemp_abw.models.RegMunDemElEnergy(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

dem_el_energy
dem_el_energy_region
name = 'reg_mun_dem_el_energy'
class stemp_abw.models.RegMunDemElEnergyDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

dem_el_energy_result_delta
name = 'reg_mun_dem_el_energy_result_delta'
class stemp_abw.models.RegMunDemElEnergyPerCapita(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunDemElEnergy, stemp_abw.models.RegMunPop

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist, stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned, stemp_abw.models.MultipleObjectsReturned

dem_el_energy_per_capita
dem_el_energy_per_capita_region
name = 'reg_mun_dem_el_energy_per_capita'
class stemp_abw.models.RegMunDemElEnergyPerCapitaDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

dem_el_energy_per_capita_result_delta
name = 'reg_mun_dem_el_energy_per_capita_result_delta'
class stemp_abw.models.RegMunDemElEnergyPerCapitaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_dem_el_energy_per_capita_result'
class stemp_abw.models.RegMunDemElEnergyResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_dem_el_energy_result'
class stemp_abw.models.RegMunDemThEnergy(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

dem_th_energy
dem_th_energy_region
name = 'reg_mun_dem_th_energy'
class stemp_abw.models.RegMunDemThEnergyPerCapita(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunDemThEnergy, stemp_abw.models.RegMunPopDensity

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist, stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned, stemp_abw.models.MultipleObjectsReturned

dem_th_energy_per_capita
dem_th_energy_per_capita_region
name = 'reg_mun_dem_th_energy_per_capita'
class stemp_abw.models.RegMunEnergyReElDemShare(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunGenEnergyRe, stemp_abw.models.RegMunDemElEnergy

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist, stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned, stemp_abw.models.MultipleObjectsReturned

energy_re_el_dem_share
energy_re_el_dem_share_region
name = 'reg_mun_energy_re_el_dem_share'
class stemp_abw.models.RegMunEnergyReElDemShareDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

energy_re_el_dem_share_result_delta
name = 'reg_mun_energy_re_el_dem_share_result_delta'
class stemp_abw.models.RegMunEnergyReElDemShareResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_energy_re_el_dem_share_result'
class stemp_abw.models.RegMunGenCapRe(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_cap_re
gen_cap_re_region
name = 'reg_mun_gen_cap_re'
class stemp_abw.models.RegMunGenCapReDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_cap_re_result_delta
name = 'reg_mun_gen_cap_re_result_delta'
class stemp_abw.models.RegMunGenCapReDensity(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunGenCapRe, stemp_abw.models.RegMunPopDensity

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist, stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned, stemp_abw.models.MultipleObjectsReturned

gen_cap_re_density
gen_cap_re_density_region
name = 'reg_mun_gen_cap_re_density'
class stemp_abw.models.RegMunGenCapReDensityDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_cap_re_density_result_delta
name = 'reg_mun_gen_cap_re_density_result_delta'
class stemp_abw.models.RegMunGenCapReDensityResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_gen_cap_re_density_result'
class stemp_abw.models.RegMunGenCapReResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_gen_cap_re_result'
class stemp_abw.models.RegMunGenCountWindDensity(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunPopDensity

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_count_wind_density
gen_count_wind_density_region
name = 'reg_mun_gen_count_wind_density'
class stemp_abw.models.RegMunGenCountWindDensityDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_count_wind_density_result_delta
name = 'reg_mun_gen_count_wind_density_result_delta'
class stemp_abw.models.RegMunGenCountWindDensityResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_gen_count_wind_density_result'
class stemp_abw.models.RegMunGenEnergyRe(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_energy_re
gen_energy_re_region
name = 'reg_mun_gen_energy_re'
class stemp_abw.models.RegMunGenEnergyReDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_energy_re_result_delta
name = 'reg_mun_gen_energy_re_result_delta'
class stemp_abw.models.RegMunGenEnergyReDensity(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunGenEnergyRe, stemp_abw.models.RegMunPopDensity

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist, stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned, stemp_abw.models.MultipleObjectsReturned

gen_energy_re_density
gen_energy_re_density_region
name = 'reg_mun_gen_energy_re_density'
class stemp_abw.models.RegMunGenEnergyReDensityDeltaResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

gen_energy_re_density_result_delta
name = 'reg_mun_gen_energy_re_density_result_delta'
class stemp_abw.models.RegMunGenEnergyReDensityResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_gen_energy_re_density_result'
class stemp_abw.models.RegMunGenEnergyRePerCapita(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunGenEnergyRe, stemp_abw.models.RegMunPop

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist, stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned, stemp_abw.models.MultipleObjectsReturned

gen_energy_re_per_capita
gen_energy_re_per_capita_region
name = 'reg_mun_gen_energy_re_per_capita'
class stemp_abw.models.RegMunGenEnergyReResult(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMun

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_gen_energy_re_result'
class stemp_abw.models.RegMunPop(*args, **kwargs)[source]

Bases: stemp_abw.models.RegMun

This is a proxy model for RegMun which got same relations to the DB table but changes the model name. This is needed to load the appropriate DetailView when clicking on a map feature (serialized property in the data view). - See Also: https://github.com/rl-institut/WAM_APP_stemp_abw/issues/2 - All other model classes which heir from RegMun work like this.

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = 'reg_mun_pop'
pop
pop_region
class stemp_abw.models.RegMunPopDensity(ags, geom, geom_centroid, gen)[source]

Bases: stemp_abw.models.RegMunPop

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

area_region
name = 'reg_mun_pop_density'
pop_density
pop_density_region
class stemp_abw.models.RegNatureMonum(id, geom, gebietsnam, gebietsnum, rechtsgrun, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_nature_monum'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegNaturePark(id, geom, gebietsnam, gebietsnum, rechtsgrun, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_nature_park'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegNatureProtArea(id, geom, gebietsnam, gebietsnum, rechtsgrun, schutzzone, erfassungs, info_konta)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info_konta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_nature_prot_area'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

schutzzone

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RegPrioAreaAgri(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_agri'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegPrioAreaCult(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_cult'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegPrioAreaFloodProt(id, geom, bemerkunge, bezeich_2, bezeich_3)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bemerkunge

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

bezeich_3

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_flood_prot'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegPrioAreaNature(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_nature'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegPrioAreaRes(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_res'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegPrioAreaWEC(id, geom, bezeich_2, bezeich_3)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

bezeich_3

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_wec'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegPrioAreaWater(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_prio_area_water'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegResidArea(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_resid_area'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegResidAreaB1000(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_resid_area_b1000'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegResidAreaB500(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_resid_area_b500'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegRetentAreaAgri(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_retent_area_agri'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegRetentAreaEcosys(id, geom, bezeich_2)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

bezeich_2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_retent_area_ecosys'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegSurfaceWater(*args, **kwargs)[source]

Bases: stemp_abw.models.LayerModel

Surface water

Oberflächengewässer (Fließgewässer 1. Ordnung, stehende Gewässer > 1 ha).

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_surface_water'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.RegWaterProtArea(id, geom, gebietsnam, gebietsnum, rechtsgrun, schutzzone, erfassungs, amtsblatt)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

amtsblatt

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

erfassungs

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnam

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

gebietsnum

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'reg_water_prot_area'
objects = <django.db.models.manager.Manager object>
rechtsgrun

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

schutzzone

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.RepoweringScenario(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Repowering scenario

TODO: Add doctring

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

data

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

desc_de

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

desc_en

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name_de

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name_en

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
scenario_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

class stemp_abw.models.ResultLayerModel(*args, **kwargs)[source]

Bases: stemp_abw.models.RegMun

This model is a dummy proxy model for displaying layer results

Notes

It bases the municipalities’ model stemp_abw.models.RegMun which is required (geom, names) for all result layers. The result data column cannot be defined using property decorator as the results are stored in stemp_abw.results.results.Results which is connected to a session and not accessible from models. Instead, the result column is dynamically added in the serial view stemp_abw.views.serial_views.GeoJSONResultLayerData.

exception DoesNotExist

Bases: stemp_abw.models.DoesNotExist

exception MultipleObjectsReturned

Bases: stemp_abw.models.MultipleObjectsReturned

name = None
classmethod name_init(name)[source]

Class method to set model name property which is needed to match the layer configuration (config/layers_results.cfg) and control (associated layer switch in GUI).

Parameters:name (str) – Model name as used in config/layers_results.cfg
class stemp_abw.models.RpAbwBound(id, geom)[source]

Bases: stemp_abw.models.LayerModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

geom
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name = 'rpabw'
objects = <django.db.models.manager.Manager object>
class stemp_abw.models.Scenario(energy system configuration)[source]

Bases: django.db.models.base.Model

id

DB id

created

Timestamp of creation

Type:DateTime
name

Name of scenario

Type:String
is_user_scenario

True, if scenario was created by a user (default)

Type:Bool
data

Reference to ScenarioData

results

Reference to SimulationResults

re_potential_areas

Reference to REPotentialAreas

repowering_scenario

Reference to RepoweringScenario

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

created

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

data_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

description

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_next_by_created(*, field=<django.db.models.fields.DateTimeField: created>, is_next=True, **kwargs)
get_previous_by_created(*, field=<django.db.models.fields.DateTimeField: created>, is_next=False, **kwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

is_user_scenario

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
re_potential_areas

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

re_potential_areas_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

repowering_scenario

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

repowering_scenario_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

results

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

results_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class stemp_abw.models.ScenarioData(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Scenario data

id

DB id

data

TODO: Define format Scenario data, format as defined <HERE>

Type:json
data_uuid

UUID for scenario data to quickly compare settings to avoid blowing up postgreSQL

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

data

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_uuid

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
scenario_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

class stemp_abw.models.SimulationResults(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Results of a scenario simulation

id

DB id

data

Result data, format as defined <HERE>

Type:json
exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

data

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
scenario_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

stemp_abw.queries module

stemp_abw.sessions module

stemp_abw.settings module

stemp_abw.tests module

stemp_abw.urls module

stemp_abw.widgets module

class stemp_abw.widgets.EsysSwitchWidget(attrs=None)[source]

Bases: django.forms.widgets.NumberInput

media
template_name = 'widgets/esys_switch.html'
class stemp_abw.widgets.LayerSelectWidget(attrs=None, check_test=None)[source]

Bases: django.forms.widgets.CheckboxInput

media
template_name = 'widgets/layer_switch.html'
class stemp_abw.widgets.SliderWidget(attrs=None)[source]

Bases: django.forms.widgets.NumberInput

media
template_name = 'widgets/slider_abw.html'

Module contents