updating simulation of heating

This commit is contained in:
Khalim Conn-Kowlessar 2024-02-19 18:43:10 +00:00
parent 08957d41a8
commit d60918b771
2 changed files with 3 additions and 6 deletions

View file

@ -341,9 +341,9 @@ class Property:
if is_secondary_glazing:
output["glazed_type_ending"] = "secondary glazing"
else:
output["glazed_type_ending"] = "double glazing installed during or after 2002 "
output["glazed_type_ending"] = "double glazing installed during or after 2002"
if recommendation["type"] == "heating_control":
if recommendation["type"] in ["heating", "heating_control"]:
# We update the data, as defined in the recommendaton
simulation_config = recommendation["simulation_config"]

View file

@ -77,10 +77,7 @@ class HeatingRecommender:
"new_u_value": None,
"sap_points": None,
**self.costs.electric_storage_heaters(number_heated_rooms=self.property.data["number-heated-rooms"]),
"simulation_config": {
"TODO" # TODO
"mainheat_energy_eff_ending": "Average"
}
"simulation_config": simulation_config
}
self.recommendations.extend(