reenact.reenact.results.capacities#
calculate_energy_from_capacity(technology, value)
#
Calculate energy for technologies using full load hours.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
technology
|
str
|
The name of the technology. |
required |
value
|
float
|
The capacity or slider value. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Calculated energy. |
get_chart_data_from_oemof_simulation(simulation_id)
#
Get chart data from an oemof simulation result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
simulation_id
|
ID of the simulation. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
Chart data dictionary. |
get_chart_data_from_scenario(scenario_data)
#
Get production and demand chart data from scenario data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
scenario_data
|
Dictionary containing production and demand data. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
A dictionary with 'production' and 'demand' lists of items (label, value, color). |
get_chart_data_from_user_input(user_input)
#
Calculate chart data based on user input from sliders.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
user_input
|
dict
|
Dictionary containing slider values. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Calculated chart data dictionary. |
get_electricity_chart_data_from_scenario(scenario_data)
#
Get electricity in/out chart data from scenario data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
scenario_data
|
Dictionary containing el_in and el_out data. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
A dictionary with 'production' and 'demand' lists of items. |