Landlord 'Secondary glazing' override overlays SAP10 glazing code 5 🟩

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jun-te Kim 2026-07-02 11:08:16 +00:00
parent 5c9ca727cd
commit f873d5cad3
2 changed files with 5 additions and 0 deletions

View file

@ -24,6 +24,7 @@ _GLAZING_CODES: dict[str, int] = {
"Double glazing, pre-2002": 3,
"Triple glazing, pre-2002": 6,
"Triple glazing, 2002 or later": 9,
"Secondary glazing": 5,
}

View file

@ -28,4 +28,8 @@ class GlazingType(Enum):
# which windows are which (ADR-0042 amendment, #1376). The FE-owned pgEnum
# gains this member via a Drizzle migration.
MIXED = "Mixed glazing"
# Secondary glazing (a pane added inside the original window) is era-free like
# SINGLE — SAP10 glazing code 5, U = 2.9 regardless of install year. The
# FE-owned pgEnum gains this member via assessment-model#345.
SECONDARY = "Secondary glazing"
UNKNOWN = "Unknown"