fix: return solar_hourly and wind_hourly from run_scenario
Some checks are pending
CI / Engine — lint / typecheck / test (push) Waiting to run
CI / API — lint / typecheck / test (push) Waiting to run
CI / Web — typecheck / lint / build (push) Waiting to run

These fields were computed but not being returned in the ScenarioResult.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Manohar Gupta 2026-05-16 11:36:49 +05:30
parent 70dfe9b3ce
commit 59da8280dc

View file

@ -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,
)