mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Updates 000477's build_epc to lodge the Detailed §3.10 RR per the U985 worksheet — 2 stud walls @ 100mm mineral wool (U=0.36), 2 slope panels uninsulated (U=2.30), 2 gable walls (U=0.25), plus roof_insulation_ thickness=300 on the storey-1 ceiling (the 16.20 m² External roof Main @ U=0.14 line). Door count corrected 2 → 1 to match the worksheet's single external door entry (3.70 W/K at 1.85 m² × 2.0). Impact (e2e): SAP integer 67 → 65 = PDF (Δ=0). 000477 un-xfailed (third Elmhurst fixture at delta=0 after 000474 + 000490). Side effect: golden cert 0240-0200-5706-2365-8010 (detached TFA 202 age J) drifts from Δ=0 → Δ=-12. Its API response carries `sap_room_in_roof.room_in_roof_type_1` (gable lengths + types) + description "Roof room(s), insulated (assumed)" that our mapper doesn't yet extract — so the Simplified Type 1 fallback at U_RR_ default(J)=0.30 adds the missing RR heat loss for an 83.2 m² RR floor. _SAP_TOLERANCE widens 11 → 13 with documentation; tightens back once the mapper extracts gable lengths + retrofit-insulation description signal (handover ticket). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/domain | ||
| pyproject.toml | ||
| README.md | ||
domna-domain
Shared domain types — Property, Properties, BaselinePerformance, Plan, PlanPhase, Scenario, ScenarioPhase, ScenarioSnapshot, Recommendation, OptimisedPackage, EpcPropertyData, etc.
Boundary: types only. No persistence, no IO, no business logic. Other packages and services depend on domna-domain; this package depends on nothing internal.
Domain definitions live in ../../CONTEXT.md. New types added here must match the glossary terms.
Layout
src/domain/
├── __init__.py
├── property.py # Property, Properties, PropertyIdentity
├── site_notes.py
├── landlord_overrides.py
├── baseline_performance.py # lodged + effective pair (ADR-0004)
├── plan.py # Plan, PlanPhase, OptimisedPackage
├── scenario.py # Scenario, ScenarioPhase, ScenarioSnapshot (ADR-0005)
├── recommendation.py
├── geospatial.py
├── solar.py
├── anomaly_flags.py
└── ml/
├── __init__.py
├── transform.py # EpcMlTransform (versioned per §8.3)
└── schema.py
When datatypes/epc/domain/ folds in, the EPC schema types move under src/domain/epc/.