From 2234269ca62611c9f0285acc0f79491ce98cf277 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 3 Apr 2024 15:14:19 +0100 Subject: [PATCH] added simulation --- backend/Property.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/Property.py b/backend/Property.py index d97ce8cf..82108bbb 100644 --- a/backend/Property.py +++ b/backend/Property.py @@ -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"])