mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
A Summary §14.0 Table 4b gas boiler (SAP code 101-119) lodges no §14.0 "Fuel Type" string in the newer Elmhurst export. The carrier was resolved only from §15.0 "Water Heating Fuel Type" — fine when the same boiler heats the water, but a gas boiler paired with a SEPARATE electric immersion lodges §15.0 "Electricity", so `_elmhurst_gas_boiler_main_fuel` returned None and the cascade strict-raised MissingMainFuelType. Cert 001431 boiler-1/boiler-2 "before" variants are exactly this config: §14.0 SAP code 102/104 (mains-gas boiler), §15.0 electric immersion (code 909), §14.2 Meters "Main gas: Yes". The meter flag is the authoritative carrier signal — a 101-119 boiler on mains gas burns mains gas — so adopt it (SAP10 main_fuel 26 per _ELMHURST_MAIN_FUEL_TO_SAP10 "Mains gas") when §15.0 can't disambiguate. §15.0 gas/LPG still wins when present (keeps LPG-vs-mains-gas precision); no mains-gas meter + non-gas §15.0 still strict-raises rather than guessing. Spec: SAP 10.2 Table 4b "Seasonal efficiency for gas and liquid fuel boilers" (PDF p.168), rows 101-119. Both certs now resolve main_fuel=26 and compute (was: hard raise). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| handler | ||
| tests | ||
| __init__.py | ||
| db_writer.py | ||
| elmhurst_extractor.py | ||
| extractor.py | ||
| local_runner.py | ||
| parser.py | ||
| pdf.py | ||