mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
RdSAP 10 §11.1 / SAP 10.2 Appendix M: PV is included in a dwelling's assessment only if connected to the dwelling's own electricity meter. The gov-API pv_connection enum encodes this — 0=no PV, 1=present-but-not- connected, 2=connected. Corpus-validated (57 PV certs: pv_connection=1 MAE 4.48->1.22 without credit, 0/5 need it; pv_connection=2 needs it, MAE 0.98 vs 10.29) and Elmhurst-proven (connected SAP 87 vs not-connected 74). cert_to_inputs currently credits a pv_connection=1 array; the test pins that it must contribute zero generation. Adds pv_connection to make_minimal_sap10_epc. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| demand.py | ||
| ecf.py | ||
| envelope.py | ||
| rdsap_uvalues.py | ||
| sap_efficiencies.py | ||
| schema.py | ||
| transform.py | ||
| ucl.py | ||
| ventilation.py | ||