temporal

The central module containing all code dealing with processing timeseries data using demandregio

class EgonEtragoElectricityCts(**kwargs)[source]

Bases: Base

bus_id
p_set
q_set
scn_name
calc_load_curve(share_wz, scn, annual_demand=1)[source]

Create aggregated demand curve for service sector

Parameters:
  • share_wz (pandas.Series or pandas.DataFrame) – Share of annual demand per cts branch

  • scn (str) – Scenario name

  • annual_demand (float or pandas.Series, optional) – Annual demand in MWh. The default is 1.

Returns:

pandas.Series or pandas.DataFrame – Annual load curve of combindes cts branches

calc_load_curves_cts(scenario)[source]

Temporal disaggregate electrical cts demand per substation.

Parameters:

scenario (str) – Scenario name.

Returns:

pandas.DataFrame – Demand timeseries of cts per bus id

create_table()[source]

Create tables for demandregio data :returns: None.

insert_cts_load()[source]

Inserts electrical cts loads to etrago-tables in the database

Returns:

None.