chp¶
The central module containing all code dealing with combined heat and power (CHP) plants.
-
class
Chp(dependencies)[source]¶ Bases:
egon.data.datasets.Dataset
-
class
EgonChp(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
carrier¶
-
ch4_bus_id¶
-
district_heating¶
-
district_heating_area_id¶
-
el_capacity¶
-
electrical_bus_id¶
-
geom¶
-
id¶
-
scenario¶
-
source_id¶
-
sources¶
-
th_capacity¶
-
voltage_level¶
-
-
class
EgonMaStRConventinalWithoutChp(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
EinheitMastrNummer¶
-
carrier¶
-
city¶
-
el_capacity¶
-
federal_state¶
-
geometry¶
-
id¶
-
plz¶
-
-
assign_heat_bus(scenario='eGon2035')[source]¶ Selects heat_bus for chps used in district heating.
Parameters: scenario (str, optional) – Name of the corresponding scenario. The default is ‘eGon2035’. Returns: None.
-
insert_biomass_chp(scenario)[source]¶ Insert biomass chp plants of future scenario
Parameters: scenario (str) – Name of scenario. Returns: None.
-
insert_chp_egon100re()[source]¶ Insert CHP plants for eGon100RE considering results from pypsa-eur-sec
Returns: None.
-
insert_chp_egon2035()[source]¶ Insert CHP plants for eGon2035 considering NEP and MaStR data
Returns: None.
-
nearest(row, df, centroid=False, row_geom_col='geometry', df_geom_col='geometry', src_column=None)[source]¶ Finds the nearest point and returns the specified column values
Parameters: - row (pandas.Series) – Data to which the nearest data of df is assigned.
- df (pandas.DataFrame) – Data which includes all options for the nearest neighbor alogrithm.
- centroid (boolean) – Use centroid geoemtry. The default is False.
- row_geom_col (str, optional) – Name of row’s geometry column. The default is ‘geometry’.
- df_geom_col (str, optional) – Name of df’s geometry column. The default is ‘geometry’.
- src_column (str, optional) – Name of returned df column. The default is None.
Returns: value (pandas.Series) – Values of specified column of df