mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Map chimneys, draughtproofing and sheltered sides for 18.0 certs 🟩
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
afdf85176d
commit
e0d3d3fd2a
1 changed files with 7 additions and 1 deletions
|
|
@ -776,9 +776,15 @@ class EpcPropertyDataMapper:
|
|||
heated_rooms_count=schema.heated_room_count,
|
||||
wet_rooms_count=0,
|
||||
extensions_count=schema.extensions_count,
|
||||
open_chimneys_count=0,
|
||||
open_chimneys_count=schema.open_fireplaces_count,
|
||||
insulated_door_count=schema.insulated_door_count,
|
||||
draughtproofed_door_count=None,
|
||||
percent_draughtproofed=schema.percent_draughtproofed,
|
||||
# ADR-0028: sheltered_sides must come from built_form, else the
|
||||
# calculator assumes mid-terrace (2) for every dwelling.
|
||||
sap_ventilation=SapVentilation(
|
||||
sheltered_sides=_api_sheltered_sides(schema.built_form),
|
||||
),
|
||||
# ADR-0028: 18.0 gives total + low-energy OUTLET counts, not an
|
||||
# LED/CFL/incandescent split. Low-energy -> the calculator's LEL
|
||||
# path; the remainder is incandescent (1 outlet ~= 1 bulb).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue