Resolve solid-fuel room-heater overrides off Gas CPSU to their SAP codes 🟩

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Khalim Conn-Kowlessar 2026-07-01 15:41:52 +00:00
parent f253a7b9ba
commit de4e44aacc
2 changed files with 14 additions and 0 deletions

View file

@ -175,6 +175,13 @@ _MAIN_HEATING_CODES: dict[str, int] = {
"Direct-acting electric": 191,
"Electric room heaters": 691,
"Solid fuel room heater, closed": 633,
# Solid-fuel room heaters off the Gas CPSU dumping ground (ADR-0045). SAP
# Table 4a: 631 open fire, 632 open fire + back boiler, 634 closed + boiler.
# Companions (house-coal fuel 33, room-heater control 2601, category 10) drag
# from the code — 631/632/634 are already in the 631-636 solid-fuel set.
"Solid fuel room heater, open fire": 631,
"Solid fuel room heater, open fire with back boiler": 632,
"Solid fuel room heater, closed with boiler": 634,
# Default air-source heat pump — SAP Table 4a 211 ("flow temp in other
# cases", default SPF 2.30). Modellable without a PCDB index; an actual
# product index would refine it (ADR-0041).

View file

@ -29,6 +29,13 @@ class MainHeatingSystemType(Enum):
DIRECT_ELECTRIC = "Direct-acting electric"
ELECTRIC_ROOM_HEATERS = "Electric room heaters"
SOLID_FUEL_ROOM_HEATER_CLOSED = "Solid fuel room heater, closed"
SOLID_FUEL_ROOM_HEATER_OPEN_FIRE = "Solid fuel room heater, open fire"
SOLID_FUEL_ROOM_HEATER_OPEN_FIRE_BACK_BOILER = (
"Solid fuel room heater, open fire with back boiler"
)
SOLID_FUEL_ROOM_HEATER_CLOSED_WITH_BOILER = (
"Solid fuel room heater, closed with boiler"
)
AIR_SOURCE_HEAT_PUMP = "Air source heat pump"
COMMUNITY_BOILERS = "Community heating, boilers"
COMMUNITY_CHP_AND_BOILERS = "Community heating, CHP and boilers"