Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom curve flhs #3223

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/energy_node_positions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ energy_heat_well_shallow_heatpump_mt_geothermal:
"y": 5280
energy_heat_well_shallow_lt_geothermal:
x: 6060
"y": 4500
"y": 4380
energy_hydrogen_after_distribution:
x: 5200
"y": 7220
Expand Down
6 changes: 3 additions & 3 deletions config/user_curves.yml
Original file line number Diff line number Diff line change
Expand Up @@ -653,23 +653,23 @@ weather/solar_thermal:
reduce:
as: full_load_hours
sets:
- flh_of_solar_thermal
- flh_of_solar_thermal_user_curve

geothermal_heat:
type: capacity_profile
display_group: heat_production
reduce:
as: full_load_hours
sets:
- flh_of_geothermal_heat
- flh_of_geothermal_heat_user_curve

river:
type: capacity_profile
display_group: electricity_production
reduce:
as: full_load_hours
sets:
- flh_of_hydro_river
- flh_of_hydro_river_user_curve

weather/air_temperature:
type: temperature
Expand Down
4 changes: 0 additions & 4 deletions inputs/full_load_hours/flh_of_geothermal_heat.ad

This file was deleted.

24 changes: 24 additions & 0 deletions inputs/full_load_hours/flh_of_geothermal_heat_user_curve.ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This input updates the FLHs of geothermal heat
# These FLH inputs are not listed in the front-end, but is automatically triggered when a user uploads the corresponding custom curve
# You can see this in the user_curves.yml

- query =
UPDATE(
V(
energy_heat_well_shallow_lt_geothermal,
energy_heat_well_deep_ht_geothermal,
energy_heat_well_deep_mt_geothermal,
energy_heat_well_shallow_heatpump_mt_geothermal,
industry_heat_well_geothermal,
agriculture_geothermal
),
full_load_hours,
USER_INPUT()
)
- priority = 1
- max_value = 8760.0
- min_value = 0.0
- start_value_gql = present:V(agriculture_geothermal, full_load_hours)
- step_value = 1.0
- unit = hours
- update_period = future
4 changes: 0 additions & 4 deletions inputs/full_load_hours/flh_of_hydro_river.ad

This file was deleted.

19 changes: 19 additions & 0 deletions inputs/full_load_hours/flh_of_hydro_river_user_curve.ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This input updates the FLHs of hydro river
# These FLH inputs are not listed in the front-end, but is automatically triggered when a user uploads the corresponding custom curve
# You can see this in the user_curves.yml

- query =
original_nou = V(energy_power_hydro_river, number_of_units);

EACH(
UPDATE(V(energy_power_hydro_river), full_load_hours, USER_INPUT()),
UPDATE(V(energy_power_hydro_river), number_of_units, original_nou),
UPDATE(V(energy_power_hydro_river), preset_demand_by_electricity_production, V(energy_power_hydro_river, production_based_on_number_of_units)),
)
- priority = 1
- max_value = 8760.0
- min_value = 0.0
- start_value_gql = present:V(energy_power_hydro_river, full_load_hours)
- step_value = 1.0
- unit = hours
- update_period = future
4 changes: 0 additions & 4 deletions inputs/full_load_hours/flh_of_solar_thermal.ad

This file was deleted.

23 changes: 23 additions & 0 deletions inputs/full_load_hours/flh_of_solar_thermal_user_curve.ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This input updates the FLHs of solar thermal
# These FLH inputs are not listed in the front-end, but is automatically triggered when a user uploads the corresponding custom curve
# You can see this in the user_curves.yml

- query =
UPDATE(
V(
energy_heat_solar_ht_solar_thermal,
energy_heat_solar_lt_solar_thermal,
energy_heat_solar_mt_solar_thermal,
buildings_space_heater_solar_thermal,
households_water_heater_solar_thermal
),
full_load_hours,
USER_INPUT()
)
- priority = 1
- max_value = 8760.0
- min_value = 0.0
- start_value_gql = present:V(households_water_heater_solar_thermal, full_load_hours)
- step_value = 1.0
- unit = hours
- update_period = future