Model/tests/domain/billing
Khalim Conn-Kowlessar bf240e3315 ASHP sizing targets the Appendix-N efficiency peak (realistic installed pump) 🟩
Sizing selects the aroTHERM plus rung nearest PSR ~0.8 (0.8 x design heat
loss) — the Appendix-N efficiency peak, reproducing the pump a real
installer fits — rather than the MCS PSR>=1.0 capacity target, which
oversizes. Validated against the relodged Elmhurst ASHP cert (delta 0
held at the 5 kW Vaillant); the two self-snapshot pins re-pin to their
correctly-sized larger pumps, and the orchestrator/harness thread the
calculator's design heat loss so production sizes to the dwelling. Manual
SapResult test stubs carry the new design_heat_loss_kw field.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 11:02:13 +00:00
..
__init__.py refactor(billing): relocate Bill Derivation to domain/billing/ (cross-stage) 2026-06-03 17:19:23 +00:00
test_bill_derivation.py Price an off-peak meter line day/night by its high-rate fraction 🟩 2026-06-24 17:24:50 +00:00
test_energy_breakdown.py ASHP sizing targets the Appendix-N efficiency peak (realistic installed pump) 🟩 2026-07-03 11:02:13 +00:00
test_off_peak_bill_integration.py Pin end-to-end off-peak day/night bill regression 🟩 2026-06-24 18:05:33 +00:00
test_sap_fuel.py Map fuel code 39 (electricity, any tariff) to standard electricity 2026-06-24 11:20:32 +00:00