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