mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Slice 9 of the Solar PV Recommendation Generator (ADR-0026). Pins the overlay→calculator PV cascade against Elmhurst's before/after re-lodgements of cert 001431, across the orientation/pitch/overshading config space (the certs lodge synthetic 1.00 kWp test vectors): - SE/SW, shaded (overshading 3/2), pitch 30°/45° - E/W, unshaded, pitch 60°/45° - NW/N, unshaded, pitch 60°/45° (the low-yield orientations) Each hand-built SolarOverlay reproduces the relodged after at abs ≤ 1e-4 on SAP / CO2 / primary energy. Battery tripwire (per user): the "with battery" cert lodges a §19 5 kWh battery the current extractor does NOT parse, so it scores identically to its no-battery twin — the no-battery overlay reproduces it today, and the pin will fail (alerting us to switch to the with-battery overlay) once the extractor parses the battery. A companion test pins that the calculator already models the 5 kWh battery (it raises SAP), so the fix target is established. All five certs share an EES 'WGK' / SAP-code-502 main-heating lodgement the mapper doesn't yet derive a fuel for; the pins patch the shared fuel (mains gas 26) identically on before+after to isolate the PV delta (the solar overlay never touches heating), and `test_solar_before_baselines` xfails as the forcing-function tripwire for that separate mapper-front gap. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| _elmhurst_recommendation.py | ||
| test_ashp_cost_inputs.py | ||
| test_elmhurst_cascade_pins.py | ||
| test_floor_recommendation.py | ||
| test_glazing_recommendation.py | ||
| test_heating_recommendation.py | ||
| test_lighting_recommendation.py | ||
| test_measure_dependency.py | ||
| test_optimiser.py | ||
| test_overlay_applicator.py | ||
| test_package_scorer.py | ||
| test_plan.py | ||
| test_plan_valuation.py | ||
| test_products.py | ||
| test_roof_recommendation.py | ||
| test_scoring.py | ||
| test_solar_config_selection.py | ||
| test_solar_overshading.py | ||
| test_solar_potential.py | ||
| test_solar_products.py | ||
| test_solar_recommendation.py | ||
| test_valuation.py | ||
| test_ventilation_recommendation.py | ||
| test_wall_recommendation.py | ||
| test_window_extraction_001431.py | ||