remove old xposed floor recommendation handling

This commit is contained in:
Khalim Conn-Kowlessar 2024-08-13 16:14:20 +01:00
parent 7275dc8e91
commit 89241f9ae3
2 changed files with 6 additions and 6 deletions

View file

@ -270,7 +270,7 @@ def make_asset_list():
"multi_plan": True,
"exclusions": [
"internal_wall_insulation", "external_wall_insulation", "floor_insulation", "heating", "solar_pv",
"lighting", "windows"
"lighting", "windows", "secondary_heating"
],
"budget": None,
}

View file

@ -119,7 +119,11 @@ class FloorRecommendations(Definitions):
if u_value < self.BUILDING_REGULATIONS_PART_L_MAX_U_VALUE:
return
if self.property.floor["is_suspended"] or self.property.floor["is_to_unheated_space"]:
if (
self.property.floor["is_suspended"] or
self.property.floor["is_to_unheated_space"] or
self.property.floor["is_to_external_air"]
):
# Given the U-value, we recommend underfloor insulation
self.recommend_floor_insulation(
phase=phase,
@ -139,10 +143,6 @@ class FloorRecommendations(Definitions):
)
return
if self.property.floor["is_to_unheated_space"] or self.property.floor["is_to_external_air"]:
self.recommend_floor_insulation(u_value=u_value, parts=self.exposed_floor_insulation_parts)
return
raise NotImplementedError("Implement me!")
@staticmethod