mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added simulation
This commit is contained in:
parent
a9c2bf1b9c
commit
2234269ca6
1 changed files with 3 additions and 2 deletions
|
|
@ -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"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue