handing decently insulated wall

This commit is contained in:
Khalim Conn-Kowlessar 2024-08-05 18:09:32 +01:00
parent ea9086ba37
commit 1cbcfefa69

View file

@ -236,8 +236,8 @@ class WallRecommendations(Definitions):
# + it already has a U-value better than the building regulations, so we don't need to recommend anything
if (
(not is_cavity_wall)
and (self.property.year_built >= self.YEAR_WALLS_BUILT_WITH_INSULATION)
and (u_value <= self.BUILDING_REGULATIONS_PART_L_MAX_U_VALUE)
and ((self.property.year_built >= self.YEAR_WALLS_BUILT_WITH_INSULATION)
or (u_value <= self.BUILDING_REGULATIONS_PART_L_MAX_U_VALUE))
):
# Recommend nothing
return