mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added innovation rate
This commit is contained in:
parent
c7f8ea88d6
commit
1b0c0d0584
1 changed files with 4 additions and 16 deletions
|
|
@ -80,20 +80,6 @@ class RoofRecommendations:
|
|||
|
||||
return None
|
||||
|
||||
def mds_loft_insulation(self, phase):
|
||||
"""
|
||||
For usages within the mds report
|
||||
:param phase:
|
||||
:return:
|
||||
"""
|
||||
self.recommendations = []
|
||||
|
||||
u_value = get_roof_u_value(**{**self.property.roof, "age_band": self.property.age_band})
|
||||
|
||||
self.recommend_roof_insulation(u_value, self.insulation_thickness, self.property.roof, phase)
|
||||
|
||||
return self.recommendations
|
||||
|
||||
def is_loft_already_insulated(self, measures):
|
||||
"""
|
||||
Check if the loft is already insulated
|
||||
|
|
@ -459,7 +445,8 @@ class RoofRecommendations:
|
|||
"roof-energy-eff": new_efficiency
|
||||
},
|
||||
**cost_result,
|
||||
"survey": non_invasive_recommendations.get("survey", False)
|
||||
"survey": non_invasive_recommendations.get("survey", False),
|
||||
"innovation_rate": material.to_dict()["innovation_rate"]
|
||||
}
|
||||
)
|
||||
|
||||
|
|
@ -593,7 +580,8 @@ class RoofRecommendations:
|
|||
},
|
||||
**cost_result,
|
||||
"already_installed": already_installed,
|
||||
"survey": rir_non_invasive_recommendation.get("survey", None)
|
||||
"survey": rir_non_invasive_recommendation.get("survey", None),
|
||||
"innovation_rate": material.to_dict()["innovation_rate"]
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue