mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
updated room heaters electric
This commit is contained in:
parent
be71af909e
commit
94905b1cff
1 changed files with 25 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue