Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
356516a
Add new sliders for nr of buildings, insulation and behaviour
kndehaan Aug 4, 2026
54ab166
Update docs URL in docs string of insulation costs queries
kndehaan Aug 4, 2026
e876035
Queries for nr. of buildigns figure
jort-wolda Aug 7, 2026
582f6af
Fix typo
mabijkerk Aug 12, 2026
c072107
Style changes to buildings inputs
mabijkerk Aug 12, 2026
197e8c5
Insulation sliders from 0 to 100 instead of 0 to -100
jort-wolda Aug 14, 2026
295819f
New inputs for buildings
jort-wolda Jul 29, 2026
ec218d1
Omit unused insulation-related values from demolished input
kndehaan Jul 30, 2026
b6829fc
Update input names
kndehaan Aug 3, 2026
6201318
New input keys for households
jort-wolda Aug 3, 2026
de8a985
Changed names of household_number demolished and new inputs
jort-wolda Aug 5, 2026
55d8320
Add two alternative approaches to demolished residences
kndehaan Aug 5, 2026
2fa069c
Some small changes:
jort-wolda Aug 6, 2026
cd85240
Updated descriptions
jort-wolda Aug 10, 2026
6682d9a
Changed inputs for demolished to absolute numbers
jort-wolda Aug 11, 2026
0981c33
Step value for insulation inputs from 1.0 to 0.1
jort-wolda Aug 11, 2026
06f8694
Omit buildings-related input changes
kndehaan Aug 13, 2026
d7d405c
Change insulation sliders to positive values
kndehaan Aug 13, 2026
d021681
Various improvements
kndehaan Aug 13, 2026
89f3edd
Restore accidentally removed inhabitants input
kndehaan Aug 13, 2026
8400897
Minor improvements
kndehaan Aug 13, 2026
fab1b73
GQL improvements
kndehaan Aug 14, 2026
368fcf0
Merge pull request #3469 from quintel/simplified-heat-sliders-buildings
kndehaan Aug 20, 2026
7f48bb4
Adjust household batteries number of units for quintel/etsource#3473
mabijkerk Aug 20, 2026
7181b98
Add reference to households batteries in behaviour input
mabijkerk Aug 20, 2026
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for buildings_future
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_buildings_future) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for buildings_present
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_buildings_present) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for apartments_1945_1964
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_apartments_1945_1964) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for apartments_1965_1984
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_apartments_1965_1984) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for apartments_1985_2004
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_apartments_1985_2004) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for apartments_2005_present
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_apartments_2005_present) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for apartments_before_1945
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_apartments_before_1945) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for apartments_future
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_apartments_future) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for detached_houses_1945_1964
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_detached_houses_1945_1964) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for detached_houses_1965_1984
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_detached_houses_1965_1984) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for detached_houses_1985_2004
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_detached_houses_1985_2004) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for detached_houses_2005_present
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_detached_houses_2005_present) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for detached_houses_before_1945
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_detached_houses_before_1945) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for detached_houses_future
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_detached_houses_future) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for semi_detached_houses_1945_1964
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_semi_detached_houses_1945_1964) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for semi_detached_houses_1965_1984
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_semi_detached_houses_1965_1984) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for semi_detached_houses_1985_2004
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_semi_detached_houses_1985_2004) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for semi_detached_houses_2005_present
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_semi_detached_houses_2005_present) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for semi_detached_houses_before_1945
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_semi_detached_houses_before_1945) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for semi_detached_houses_future
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_semi_detached_houses_future) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for terraced_houses_1945_1964
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_terraced_houses_1945_1964) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for terraced_houses_1965_1984
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_terraced_houses_1965_1984) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for terraced_houses_1985_2004
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_terraced_houses_1985_2004) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for terraced_houses_2005_present
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_terraced_houses_2005_present) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for terraced_houses_before_1945
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_terraced_houses_before_1945) });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This query calculates the insulation costs for terraced_houses_future
# The calculated costs are only updated for the future year, in the present year
# The calculated costs are only updated for the future year, in the present year
# the insulation costs are assumed to be zero. This is done with IF-statements.
# See https://docs.energytransitionmodel.com/main/insulation/#insulation-costs
# See https://docs.energytransitionmodel.com/main/cost-insulation-costs

- query =
insulation_value_present = QUERY_PRESENT(-> { AREA(typical_useful_demand_for_space_heating_terraced_houses_future) });
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- query =
SUM(
INPUT_VALUE(households_demolished_before_1945),
INPUT_VALUE(households_demolished_1945_1964),
INPUT_VALUE(households_demolished_1965_1984),
INPUT_VALUE(households_demolished_1985_2004),
INPUT_VALUE(households_demolished_2005_present)
)
- unit = #
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- query = PRODUCT(DIVIDE(Q(number_of_apartments), Q(number_of_residences)), 100.0)
- unit = share
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- query = PRODUCT(DIVIDE(Q(number_of_detached_houses), Q(number_of_residences)), 100.0)
- unit = share
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- query = PRODUCT(DIVIDE(Q(number_of_semi_detached_houses), Q(number_of_residences)), 100.0)
- unit = share
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- query = PRODUCT(DIVIDE(Q(number_of_terraced_houses), Q(number_of_residences)), 100.0)
- unit = share
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- query = Q(number_of_buildings_present)
- unit = #
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- query = Q(number_of_buildings_future)
- unit = #
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Sets the reduction in heat demand due to behavioural changes. It updates heating demand for
# existing and new buildings.
# Priority is set to 0 to go after number of buildings and insulation sliders.

- query =
relative_change = DIVIDE(100 + USER_INPUT(), 100);
EACH(
UPDATE_WITH_FACTOR(V(buildings_useful_demand_for_space_heating_buildings_present), preset_demand, relative_change),
UPDATE_WITH_FACTOR(V(buildings_useful_demand_for_space_heating_buildings_future), preset_demand, relative_change)
)
- priority = 0
- max_value = 50.0
- min_value = -50.0
- start_value = 0.0
- step_value = 0.1
- unit = %
- update_period = future
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The appliances efficiency and useful demand input set the same node
# Updating the node sequentially would lead to incorrect results
# When the efficiency is not set, the node is update here
# When the efficiency is not set, the node is updated here
# When the efficiency is set, this input does nothing and the net effect of both inputs is
# set in the efficiency input

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Sets the reduction in heating demand of existing buildings due to improved insulation. It updates:
# - Useful demand for space heating
# - Typical useful heat demand area attribute
# - Investment costs for insulation
#
# Priority is set to 1 to go after number of buildings but before behaviour sliders.

- query =
relative_change = DIVIDE(100.0 - USER_INPUT(), 100.0);
EACH(
UPDATE_WITH_FACTOR(V(buildings_useful_demand_for_space_heating_buildings_present), preset_demand, relative_change),
UPDATE_WITH_FACTOR(AREA(), typical_useful_demand_for_space_heating_buildings_present, relative_change),
UPDATE(V(buildings_useful_demand_for_space_heating_buildings_present_after_solar_thermal), initial_investment, QUERY_FUTURE(-> { Q(costs_of_insulation_buildings_present)}))
)
- priority = 1
- max_value = 100.0
- min_value = 0.0
- start_value = 0.0
- step_value = 0.1
- unit = %
- update_period = future
Loading