mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
API floor_heat_loss=8 is observed on EXTENSION building parts whose floor sits over a heated space within the SAME dwelling (an upper-storey extension over a heated room). RdSAP 10 §3 gives an internal floor between heated storeys no floor heat loss — mechanically identical to a code-6 party floor. `_api_floor_type_str` had no entry for 8, raising UnmappedApiCode and blocking certs 0370-2254-6520-2426-5971 and 0997-1206-9806-0715-2904. Map code 8 to the code-6 no-heat-loss string "(another dwelling below)" (consumed by heat_transmission's party-floor suppression; != "Ground floor" so the §5 (12) suspended-timber rule stays inert). Empirically confirmed against both certs: the no-heat-loss treatment lands them within 0.5 of lodged (0370-2254 68.92 vs 69; 0997-1206 40.68 vs 41), whereas Ground-floor / unheated / external mappings miss 0997 by ~4 SAP. Eval computed 906→908. Regression green (only the pre-existing test_total_floor_area fails); pyright net-zero (38=38). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| epc | ||
| magicplan | ||
| __init__.py | ||
| datatypes.py | ||
| enums.py | ||