mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
`_map_sap_heating` set cylinder geometry/insulation but left `water_heating_code` / `water_heating_fuel` / `immersion_heating_type` None (and immersion as a raw label). For cylinder dwellings that loses the HW-system typing the calculator's water cascade keys off. Resolve them at the mapper boundary, gated on cylinder presence (combi dwellings keep the None default so HW inherits the main system, unchanged): - `water_heating_code` from the `system` label — "From main heating 1" -> 901, "Electric immersion" -> 903, community -> 950; strict-raises an unknown label. - `water_heating_fuel` = standard electricity (30) for the electric-immersion WHC 903; None otherwise (901 inherits the main fuel). - `immersion_heating_type` via the Elmhurst map (Single -> 2), cylinder-gated. Combi-dominated cohort so the accuracy impact is negligible by design (Tier 3): within-0.5 and MAE unchanged (12.9% / 2.56), harness still 206-xfail with no new hard failures. Closes #1565 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| epc | ||
| __init__.py | ||
| address_match.py | ||
| datatypes.py | ||
| enums.py | ||