scenario_capacities
The central module containing all code dealing with importing data from Netzentwicklungsplan 2035, Version 2031, Szenario C
- class EgonScenarioCapacities(**kwargs)[source]
Bases:
Base- capacity
- carrier
- component
- index
- nuts
- scenario_name
- class NEP2021ConvPowerPlants(**kwargs)[source]
Bases:
Base- a2035_capacity
- a2035_chp
- b2035_capacity
- b2035_chp
- b2040_capacity
- b2040_chp
- bnetza_id
- c2035_capacity
- c2035_chp
- capacity
- carrier
- carrier_nep
- chp
- city
- commissioned
- federal_state
- index
- name
- name_unit
- postcode
- status
- class ScenarioCapacities(dependencies)[source]
Bases:
DatasetCreate and fill table with installed generation capacities in Germany
This dataset creates and fills a table with the installed generation capacities in Germany in a lower spatial resolution (either per federal state or on national level). This data is coming from external sources (e.g. German grid developement plan for scenario eGon2035). The table is in downstream datasets used to define target values for the installed capacities.
- Dependencies
PypsaEurSec
- Resulting tables
supply.egon_scenario_capacitiesis created and filledsupply.egon_nep_2021_conventional_powerplantsis created and filled
- name: str = 'ScenarioCapacities'
- sources: DatasetSources = DatasetSources(tables={'boundaries': 'boundaries.vg250_lan', 'zensus_population': 'society.destatis_zensus_population_per_ha'}, files={'eGon2035_capacities': 'data_bundle_egon_data/nep2035_version2021/NEP2035_V2021_scnC2035.xlsx', 'eGon2035_list_conv_pp': 'data_bundle_egon_data/nep2035_version2021/Kraftwerksliste_NEP_2021_konv.csv', 'eGon100RE_capacities': 'data_bundle_egon_data/pypsa_eur/csvs/nodal_capacities.csv'}, urls={})
The sources used by the datasets. Could be tables, files and urls
- targets: DatasetTargets = DatasetTargets(tables={'scenario_capacities': 'supply.egon_scenario_capacities', 'nep_conventional_powerplants': 'supply.egon_nep_2021_conventional_powerplants'}, files={})
The targets created by the datasets. Could be tables and files
- version: str = '0.0.21'
- aggr_nep_capacities(carriers)[source]
Aggregates capacities from NEP power plants list by carrier and federal state
- Returns:
pandas.Dataframe – Dataframe with capacities per federal state and carrier
- district_heating_input()[source]
Imports data for district heating networks in Germany
- Returns:
None.
- insert_capacities_per_federal_state_nep()[source]
Inserts installed capacities per federal state accordning to NEP 2035 (version 2021), scenario 2035 C
- Returns:
None.
- insert_capacities_status_quo(scenario: str) None[source]
Insert capacity of rural heat pumps for status quo
- Returns:
None.
- insert_data_nep()[source]
Overall function for importing scenario input data for eGon2035 scenario
- Returns:
None.
- insert_nep_list_powerplants(export=True)[source]
Insert list of conventional powerplants attached to the approval of the scenario report by BNetzA
- Parameters:
export (bool) – Choose if nep list should be exported to the data base. The default is True. If export=False a data frame will be returned
- Returns:
kw_liste_nep (pandas.DataFrame) – List of conventional power plants from nep if export=False
- map_carrier()[source]
Map carriers from NEP and Marktstammdatenregister to carriers from eGon
- Returns:
pandas.Series – List of mapped carriers
Calulate share of population in testmode
- Returns:
float – Share of population in testmode