From 7fb967fa94aa7ec94208a6323e900661392751a4 Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Mon, 29 Dec 2025 13:42:26 +0700 Subject: [PATCH] fix oh yearly --- src/aeros_simulation/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeros_simulation/router.py b/src/aeros_simulation/router.py index 6a8253f..f9abcda 100644 --- a/src/aeros_simulation/router.py +++ b/src/aeros_simulation/router.py @@ -149,7 +149,7 @@ async def run_yearly_simulation( {"sim_start": sim_start.date()} )).mappings().first() - + offset_hours = (365 * 24) // 2 if year % 2 == 0 else ((365 * 24) // 2) + 8760; if last_overhaul: last_oh_dt = date_to_utc(last_overhaul["end_date"])