mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Fixed storage heaters recommendations
This commit is contained in:
parent
94905b1cff
commit
419c74e1e4
1 changed files with 5 additions and 3 deletions
|
|
@ -61,6 +61,7 @@ class HeatingRecommender:
|
|||
for controls_switch in heating_controls_switch:
|
||||
total_costs = costs.copy()
|
||||
recommendation_simulation_config = heating_simulation_config.copy()
|
||||
recommendation_description = description
|
||||
if controls_switch:
|
||||
# We add the costs of the heating controls, onto each key in the costs dictionary
|
||||
for key in total_costs:
|
||||
|
|
@ -71,7 +72,7 @@ class HeatingRecommender:
|
|||
**controls_recommendations[0]["simulation_config"]
|
||||
}
|
||||
|
||||
description = f"{description} and {controls_recommendations[0]['description']}"
|
||||
recommendation_description = f"{description} and {controls_recommendations[0]['description']}"
|
||||
|
||||
recommendation = {
|
||||
"phase": phase,
|
||||
|
|
@ -79,7 +80,7 @@ class HeatingRecommender:
|
|||
# TODO
|
||||
],
|
||||
"type": "heating",
|
||||
"description": description,
|
||||
"description": recommendation_description,
|
||||
"starting_u_value": None,
|
||||
"new_u_value": None,
|
||||
"sap_points": None,
|
||||
|
|
@ -140,6 +141,7 @@ class HeatingRecommender:
|
|||
)
|
||||
# This upgrade will only take the heating system to average energy efficiency
|
||||
heating_simulation_config["mainheatc_energy_eff_ending"] = "Good"
|
||||
heating_simulation_config["mainheat_energy_eff_ending"] = "Average"
|
||||
|
||||
# Upgrade to electric storage heaters
|
||||
costs = self.costs.electric_storage_heaters(
|
||||
|
|
@ -187,7 +189,7 @@ class HeatingRecommender:
|
|||
costs = self.costs.electric_room_heaters(
|
||||
number_heated_rooms=self.property.data["number-heated-rooms"]
|
||||
)
|
||||
description = "Upgrade electric room heaters to more electric radiators"
|
||||
description = "Upgrade electric room heaters to more efficient electric radiators"
|
||||
heating_simulation_config = {"mainheat_energy_eff_ending": "Average"}
|
||||
|
||||
recommendations = self.combine_heating_and_controls(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue