added simulation

This commit is contained in:
Khalim Conn-Kowlessar 2024-04-03 15:14:19 +01:00
parent a9c2bf1b9c
commit 2234269ca6

View file

@ -344,7 +344,7 @@ class Property:
else:
output["glazed_type_ending"] = "double glazing installed during or after 2002"
if recommendation["type"] in ["heating", "hot_water_tank_insulation"]:
if recommendation["type"] in ["heating", "hot_water_tank_insulation", "heating_control"]:
# We update the data, as defined in the recommendaton
simulation_config = recommendation["simulation_config"]
@ -364,7 +364,8 @@ class Property:
"internal_wall_insulation", "external_wall_insulation", "cavity_wall_insulation",
"loft_insulation", "room_roof_insulation", "flat_roof_insulation",
"solid_floor_insulation", "suspended_floor_insulation", "exposed_floor_insulation",
"windows_glazing", "solar_pv", "heating", "hot_water_tank_insulation"
"windows_glazing", "solar_pv", "heating", "hot_water_tank_insulation",
"heating_control",
]:
raise NotImplementedError("Implement me, given type %s" % recommendation["type"])