updated room heaters electric

This commit is contained in:
Khalim Conn-Kowlessar 2024-02-19 19:36:56 +00:00
parent be71af909e
commit 94905b1cff

View file

@ -121,13 +121,15 @@ class HeatingRecommender:
if self.property.data["mainheat-energy-eff"] not in ["Poor", "Very Poor"]:
# We do just heating controls
recs = self.combine_heating_and_controls(
controls_recommendations=controls_recommender.recommendation,
heating_simulation_config={},
costs={},
description="",
phase=phase,
heating_controls_only=heating_controls_only
self.recommendations.extend(
self.combine_heating_and_controls(
controls_recommendations=controls_recommender.recommendation,
heating_simulation_config={},
costs={},
description="",
phase=phase,
heating_controls_only=heating_controls_only
)
)
return
@ -164,11 +166,24 @@ class HeatingRecommender:
We can then consider the heating system itself
:return:
"""
if self.property.data["mainheat-energy-eff"] not in ["Poor", "Very Poor"]:
return
controls_recommender = HeatingControlRecommender(self.property)
controls_recommender.recommend(heating_description="Room heaters, electric")
if self.property.data["mainheat-energy-eff"] not in ["Poor", "Very Poor"]:
# We do just heating controls
self.recommendations.extend(
self.combine_heating_and_controls(
controls_recommendations=controls_recommender.recommendation,
heating_simulation_config={},
costs={},
description="",
phase=phase,
heating_controls_only=heating_controls_only
)
)
return
costs = self.costs.electric_room_heaters(
number_heated_rooms=self.property.data["number-heated-rooms"]
)
@ -176,7 +191,7 @@ class HeatingRecommender:
heating_simulation_config = {"mainheat_energy_eff_ending": "Average"}
recommendations = self.combine_heating_and_controls(
controls_recommender=controls_recommender,
controls_recommendations=controls_recommender.recommendation,
heating_simulation_config=heating_simulation_config,
costs=costs,
description=description,