scenario_parameters¶
The central module containing all code dealing with scenario table.
-
class
EgonScenario
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
description
¶
-
electricity_parameters
¶
-
gas_parameters
¶
-
global_parameters
¶
-
heat_parameters
¶
-
mobility_parameters
¶
-
name
¶
-
-
class
ScenarioParameters
(dependencies)[source]¶ Bases:
egon.data.datasets.Dataset
-
get_sector_parameters
(sector, scenario=None)[source]¶ Returns parameters for each sector as dictionary.
If scenario=None data for all scenarios is returned as pandas.DataFrame. Otherwise the parameters of the specific scenario are returned as a dict.
Parameters: - sector (str) – Name of the sector. Options are: [‘global’, ‘electricity’, ‘heat’, ‘gas’, ‘mobility’]
- scenario (str, optional) – Name of the scenario. The default is None.
Returns: values (dict or pandas.DataFrane) – List or table of parameters for the selected sector