Model/domain/elmhurst/README.md
2026-06-19 09:51:49 +00:00

28 lines
1.5 KiB
Markdown

# Elmhurst reference data
Lookup tables to support re-keying certs into the Elmhurst RdSAP entry tool
(see `scripts/hyde/` and the `expand-sap-accuracy-corpus` skill).
## `pcdb_gas_oil_boiler_codes.csv`
Every gas/oil boiler in the SAP Product Characteristics Database (PCDB Table
105), one row per boiler, so you can look up the **Ref No** to type into
Elmhurst's *PCDF boiler Reference* field (Space Heating → 🔍 search → Select).
Columns: `pcdb_id` (the Ref No), `brand`, `model`, `qualifier`, `type`
(Regular / Combi / Combi-storage / CPSU), `winter_eff_pct`, `summer_eff_pct`,
`output_kw_max`, `final_year`.
- Generated from `domain/sap10_calculator/tables/pcdb/data/pcdb_table_105_gas_oil_boilers.jsonl`.
- `type` is decoded from the raw PCDB row's boiler-type code (`raw[14]`:
`1`→Regular, `2`→Combi, `3`→Combi-storage, `4`→CPSU). This is the field that
decides whether Elmhurst wants a hot-water cylinder (Regular) or not (Combi).
- Find a boiler: `grep -i "ecotec pro,28" pcdb_gas_oil_boiler_codes.csv` or
filter by brand/model; the cert's lodged `main_heating_index_number` is the
`pcdb_id`.
**Note on entering it in Elmhurst:** the on-screen *PCDF boiler Reference* text
box is editable and will *display* a number you type, but typing alone does NOT
re-resolve the boiler — its type/efficiency/cylinder behaviour stays from the
previously-selected boiler. Only selecting via the 🔍 **search dialog** genuinely
sets the boiler. This CSV tells you which Ref to pick.