substation_voronoi

The central module containing code to create substation voronois

class EgonEhvSubstationVoronoi(**kwargs)[source]

Bases: Base

bus_id
geom
id
class EgonHvmvSubstationVoronoi(**kwargs)[source]

Bases: Base

bus_id
geom
id
class SubstationVoronoi(dependencies)[source]

Bases: Dataset

name: str = 'substation_voronoi'

The name of the Dataset

sources: DatasetSources = DatasetSources(tables={'boundaries': 'boundaries.vg250_sta_union', 'hvmv_substation': 'grid.egon_hvmv_substation', 'ehv_substation': 'grid.egon_ehv_substation'}, files={}, urls={})

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

targets: DatasetTargets = DatasetTargets(tables={'ehv_substation_voronoi': 'grid.egon_ehv_substation_voronoi', 'hvmv_substation_voronoi': 'grid.egon_hvmv_substation_voronoi'}, files={})

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

version: str = '0.0.3'

The Dataset’s version. Can be anything from a simple semantic versioning string like “2.1.3”, to a more complex string, like for example “2021-01-01.schleswig-holstein.0” for OpenStreetMap data. Note that the latter encodes the Dataset’s date, region and a sequential number in case the data changes without the date or region changing, for example due to implementation changes.

create_tables()[source]

Create tables for voronoi polygons :returns: None.

substation_voronoi()[source]

Creates voronoi polygons for hvmv and ehv substations

Returns:

None.