mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
A gov-API cert can lodge dwelling_type="Mid-floor flat" while carrying a real exposed roof element (roof_construction != 7 "dwelling above") over a "(another dwelling below)" floor — i.e. a top-floor flat mislabelled mid-floor. Property 715363 (uprn 6027561) + sibling 715395 (6027563) do exactly this; the correctly-labelled top-floor sibling 715871 (6027574), same block + same flat roof, already computes the lodged SAP 74. _dwelling_exposure keys roof exposure on the dwelling_type label alone, so it drops the roof heat-loss term, under-reading space-heating demand ~32% (calc 1833 vs lodged RHI 2694) and over-reading SAP +7 (81 vs 74). Pins the fix: a mid-floor label + lodged exposed roof must expose the roof (floor stays party). Also corrects the existing mid-floor fixture to lodge the party-ceiling code 7 (the default 4 is an exposed pitched roof). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| addresses | ||
| billing | ||
| epc | ||
| epc_prediction | ||
| fuel_rates | ||
| magicplan | ||
| modelling | ||
| property | ||
| property_baseline | ||
| sap10_calculator | ||
| tasks | ||
| __init__.py | ||
| test_building_geometry.py | ||
| test_postcode.py | ||