storages
The central module containing all code dealing with power plant data.
- class EgonStorages(**kwargs)[source]
Bases:
sqlalchemy.orm.decl_api.Base- bus_id
- carrier
- el_capacity
- geom
- id
- scenario
- source_id
- sources
- voltage_level
- class Storages(dependencies)[source]
Bases:
egon.data.datasets.DatasetAllocates storage units such as pumped hydro and home batteries
This data set creates interim tables to store information on storage units. In addition the target value for the installed capacity of pumped hydro storage units are spatially allocated using information of existing plants from the official registry Markstammdatenregister. After allocating the plants missing information such as the voltage level and the correct grid connection point are added. This data set also allocates the target value of home batteries spatially on different aggregation levels. In a first step function
allocate_pv_home_batteries_to_grids()spatially distributes the installed battery capacities to all mv grid districts based on their installed pv rooftop capacity. Functionallocate_home_batteries_to_buildings()further distributes the home battery storage systems to buildings with pv rooftop systems.- Dependencies
- py:class
PowerPlants <egon.data.datasets.power_plants.PowerPlants>
- Resulting tables
- name: str = 'Storages'
- version: str = '0.0.8'
- allocate_pumped_hydro(scn, export=True)[source]
Allocates pumped_hydro plants for eGon2035 and scenario2019 scenarios and either exports results to data base or returns as a dataframe
- Parameters
export (bool) – Choose if allocated pumped hydro plants should be exported to the data base. The default is True. If export=False a data frame will be returned
- Returns
power_plants (pandas.DataFrame) – List of pumped hydro plants in ‘eGon2035’ and ‘scenario2019’ scenarios
- allocate_pumped_hydro_eGon100RE()[source]
Allocates pumped_hydro plants for eGon100RE scenario based on a prox-to-now method applied on allocated pumped-hydro plants in the eGon2035 scenario.
- Parameters
None
- Returns
None
- allocate_storage_units_sq(scn_name, storage_types)[source]
Allocate storage units by mastr data only. Capacities outside germany are assigned to foreign buses.
- Parameters
scn_name (str) – Scenario name
storage_types (list) – contains all the required storage units carriers to be imported
- home_batteries_per_scenario(scenario)[source]
Allocates home batteries which define a lower boundary for extendable battery storage units. The overall installed capacity is taken from NEP for eGon2035 scenario. The spatial distribution of installed battery capacities is based on the installed pv rooftop capacity.
- Parameters
None
- Returns
None