Model/recommendations/config.py
2023-10-10 13:12:50 +08:00

17 lines
738 B
Python

# This map defines the upgrades that are possible to be recommended by the recommendation engine
# For example,
UPGRADES_MAP = {
'Solid brick, as built, no insulation': 'Solid brick, as built, insulated',
'Suspended, no insulation': 'Suspended, insulated',
'Solid, no insulation': 'Solid, insulated',
'Cavity wall, as built, no insulation': 'Cavity wall, as built, insulated',
'Cavity wall, as built, partial insulation': 'Cavity wall, as built, insulated',
}
PARTIAL_CAVITY_DESCRIPTIONS = [
"Cavity wall, as built, partial insulation",
"Cavity wall, partial insulation",
]
# We assume that the cavity is partially filled with insulation, and is filled 25% full
PARTIALLY_FILLED_PERCENTAGE_ASSUMPTION = 0.25