mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Decode single/double/triple glazing overrides to SAP codes 🟩
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
917627c833
commit
88a4badbf7
1 changed files with 4 additions and 0 deletions
|
|
@ -19,7 +19,11 @@ from domain.modelling.simulation import EpcSimulation, GlazingOverlay
|
|||
# Canonical glazing description → SAP10 glazing-type code (the Table 24 /
|
||||
# `u_window` cascade enum, `_GLAZING_CODE_TO_UWINDOW` in heat_transmission).
|
||||
_GLAZING_CODES: dict[str, int] = {
|
||||
"Single glazing": 1,
|
||||
"Double glazing, 2002 or later": 2,
|
||||
"Double glazing, pre-2002": 3,
|
||||
"Triple glazing, pre-2002": 6,
|
||||
"Triple glazing, 2002 or later": 9,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue