diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml new file mode 100644 index 00000000..4ea72a91 --- /dev/null +++ b/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/recommendations/RoofRecommendations.py b/recommendations/RoofRecommendations.py index 1e5636ff..7f7c334e 100644 --- a/recommendations/RoofRecommendations.py +++ b/recommendations/RoofRecommendations.py @@ -119,6 +119,24 @@ class RoofRecommendations: return (full_insulated_room_roof or room_roof_insulated_at_rafters) and not has_non_invasive_recommendation + def recommend_sloping_ceiling(self): + """ + Sloping ceiling insulation recommendations are different from other roof types, though + the description of the roof appears to be quite similar to a roof with a loft. In order to + deduce the roof type, we apply the following logic: + + 1) If the roof is descrbed as pitched, insulated, without a loft insulation thickness, it's + an insulated sloped ceiling + 2) If the roof insulation is assumed, it implies that the surveyor could not gain access to the + roof and therefore it's a loft + 3) If it's a pitched roof that is uninsulated and is NOT assumed, and there is not loft insulation + recommendation, this implies that the surveyor was able to gain access to the roof and there was no + loft insulation recommendation so it must be a sloping ceiling since loft insulation is a default + recommendation for an uninsualted loft + :return: + """ + pass + def recommend(self, phase, measures=None, default_u_values=False): if self.property.roof["has_dwelling_above"]: