mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
ASHP sizing caps at the largest pump for a high-heat-loss dwelling 🟩
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b18fc3878b
commit
7707df3294
1 changed files with 12 additions and 0 deletions
|
|
@ -779,3 +779,15 @@ def test_ashp_sizing_selects_the_smallest_pump_meeting_the_design_heat_loss() ->
|
|||
|
||||
# Assert — the 7 kW aroTHERM plus rung.
|
||||
assert pcdb_id == 110265
|
||||
|
||||
|
||||
def test_ashp_sizing_caps_at_the_largest_pump_for_a_high_heat_loss_dwelling() -> None:
|
||||
# A very leaky dwelling (17.5 kW design heat loss, e.g. UPRN 10002468116)
|
||||
# exceeds the domestic aroTHERM plus range, so sizing caps at the largest
|
||||
# rung — the 12 kW aroTHERM plus (PCDB 110281, ~11.48 kW) — an honest, still
|
||||
# far better than the fixed 5 kW pump whose PSR collapsed to ~0.25.
|
||||
# Act
|
||||
pcdb_id = select_ashp_pcdb_id(design_heat_loss_kw=17.5)
|
||||
|
||||
# Assert — capped at the 12 kW rung, not left undersized at 5 kW.
|
||||
assert pcdb_id == 110281
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue