mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
_heat_pump_apm_efficiencies applied the Table N8 in-use factor to the PCDB water-heating efficiency but omitted the spec's "subject to a minimum efficiency of 100%" clause (SAP 10.2 Appendix N3.7, PDF p.109). An oversized heat pump whose PSR-extended water,3 x the 0.60 in-use factor fell below 100% therefore billed water heating at that sub-100% efficiency, over- counting hot-water fuel. Apply max(in_use x eta_water, 100%). Accredited Elmhurst worksheet for cert 100110101713 (golden fixture case 56, PCDB 100061): water (216) = 100.0000, which we now match (was 77.13%). Combined with the space-heating PSR- extension fix the cert lands 72.51 vs lodged 73 (|err| 18.32 -> 0.49). Data-driven: only the single oversized-PSR cert moves (in-range heat pumps keep their > 100% water COP, e.g. case 54 112.5%, case 55 179.6%). Corpus (RdSAP-21.0.1 n=1000) MAE 0.726 -> 0.721, within-0.5 74.1% -> 74.2%. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cert_to_inputs.py | ||