Model/domain/modelling/ashp_rates.json
Khalim Conn-Kowlessar dd92ba5972 refactor(modelling): load ASHP rates from a committed costs file
Slice 10 of ADR-0025 costing. The Southern Housing rate table moves from code
constants into ashp_rates.json (structured rows the flat scalar catalogue can't
hold), loaded via AshpRates.from_json. Products takes an injected AshpRates
(default: the committed sheet), so rates are now data -- tunable (e.g.
reuse_distribution_fraction) without a code change, and ready for ETL/DB-supplied
rates later. Behaviour-preserving: the 6 pinned cost tests still hold against the
default, plus a new test proving injected rates drive the total.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 23:19:53 +00:00

26 lines
697 B
JSON

{
"_source": "Southern Housing Group ASHP rates (HEAT PUMPS tab, ECOHT01-68); see ADR-0025. Fully-loaded supply+install rates in GBP.",
"decommission": {
"electric_storage_small": 570.0,
"electric_storage_large": 840.0,
"gas": 720.0,
"oil": 720.0,
"lpg": 960.0
},
"heat_pump_bands": [[5.0, 9720.0], [8.0, 9840.0], [11.0, 10200.0], [15.0, 10680.0]],
"heat_pump_top_price": 11400.0,
"cylinder": 2382.60,
"distribution_by_radiators": {
"4": 2220.0,
"5": 2550.0,
"6": 3084.0,
"7": 3618.0,
"8": 4152.0,
"9": 4680.0,
"10": 5220.0,
"11": 5754.0,
"12": 6288.0
},
"distribution_flush": 168.0,
"reuse_distribution_fraction": 0.5
}