mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
updated hotwater
This commit is contained in:
parent
e92b70f9ec
commit
b174eea10e
1 changed files with 5 additions and 5 deletions
|
|
@ -65,7 +65,7 @@ class HotwaterRecommendations:
|
|||
|
||||
if (
|
||||
(self.property.hotwater["heater_type"] in ["electric immersion"]) &
|
||||
(self.property.data["hot-water-energy-eff"] == "Very Poor") &
|
||||
(self.property.epc_record.hot_water_energy_eff == "Very Poor") &
|
||||
(self.property.hotwater["no_system_present"] is None) &
|
||||
(len(has_tank_recommendation) == 0)
|
||||
):
|
||||
|
|
@ -141,7 +141,7 @@ class HotwaterRecommendations:
|
|||
)
|
||||
|
||||
simulation_config = {
|
||||
"hot_water_energy_eff_ending": self.property.data["hot-water-energy-eff"],
|
||||
"hot_water_energy_eff_ending": self.property.epc_record.hot_water_energy_eff,
|
||||
**hotwater_simulation_config
|
||||
}
|
||||
|
||||
|
|
@ -158,7 +158,7 @@ class HotwaterRecommendations:
|
|||
**recommendation_cost,
|
||||
"simulation_config": simulation_config,
|
||||
"description_simulation": {
|
||||
"hot-water-energy-eff": self.property.data["hot-water-energy-eff"],
|
||||
"hot-water-energy-eff": self.property.epc_record.hot_water_energy_eff,
|
||||
"hotwater-description": new_epc_description,
|
||||
},
|
||||
"survey": survey,
|
||||
|
|
@ -198,10 +198,10 @@ class HotwaterRecommendations:
|
|||
new_config=hotwater_ending_config, old_config=self.property.hotwater
|
||||
)
|
||||
|
||||
if self.property.data["hot-water-energy-eff"] in ["Very Poor", "Poor", "Average"]:
|
||||
if self.property.epc_record.hot_water_energy_eff in ["Very Poor", "Poor", "Average"]:
|
||||
new_efficiency = "Good"
|
||||
else:
|
||||
new_efficiency = self.property.data["hot-water-energy-eff"]
|
||||
new_efficiency = self.property.epc_record.hot_water_energy_eff
|
||||
|
||||
simulation_config = {
|
||||
"hot_water_energy_eff_ending": new_efficiency,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue