mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
function shell
This commit is contained in:
parent
9e548a852f
commit
f4f2ffb599
2 changed files with 24 additions and 0 deletions
6
.idea/copilot.data.migration.agent.xml
generated
Normal file
6
.idea/copilot.data.migration.agent.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AgentMigrationStateService">
|
||||
<option name="migrationStatus" value="COMPLETED" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -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"]:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue