From 59da8280dc30cc90e835594b17e61c814941f49a Mon Sep 17 00:00:00 2001 From: Mannu Date: Sat, 16 May 2026 11:36:49 +0530 Subject: [PATCH] fix: return solar_hourly and wind_hourly from run_scenario These fields were computed but not being returned in the ScenarioResult. Co-Authored-By: Claude Opus 4.7 --- packages/engine/src/remodel_engine/scenarios/runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/engine/src/remodel_engine/scenarios/runner.py b/packages/engine/src/remodel_engine/scenarios/runner.py index 693c91a..08b17ff 100644 --- a/packages/engine/src/remodel_engine/scenarios/runner.py +++ b/packages/engine/src/remodel_engine/scenarios/runner.py @@ -491,4 +491,6 @@ def run_scenario(inputs: ScenarioInput) -> ScenarioResult: runtime_s=round(time.time() - t0, 2), generation_by_year=generation_by_year, idc_phasing=idc_phasing, + solar_hourly=pipe.solar_hourly, + wind_hourly=pipe.wind_hourly, )