substation

The central module containing code to create substation tables

class EgonEhvSubstation(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

bus_id
dbahn
frequency
lat
lon
operator
osm_id
osm_www
point
polygon
power_type
ref
status
subst_name
substation
voltage
class EgonHvmvSubstation(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

bus_id
dbahn
frequency
lat
lon
operator
osm_id
osm_www
point
polygon
power_type
ref
status
subst_name
substation
voltage
create_tables()[source]

Create tables for substation data :returns: None.

extract()[source]

Extract ehv and hvmv substation from transfer buses and results from osmtgmod

Returns:None.