|
|
|
@ -150,6 +150,7 @@ async def run_yearly_simulation(
|
|
|
|
)).mappings().first()
|
|
|
|
)).mappings().first()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if last_overhaul:
|
|
|
|
if last_overhaul:
|
|
|
|
last_oh_dt = date_to_utc(last_overhaul["end_date"])
|
|
|
|
last_oh_dt = date_to_utc(last_overhaul["end_date"])
|
|
|
|
offset_hours = max(
|
|
|
|
offset_hours = max(
|
|
|
|
@ -157,6 +158,13 @@ async def run_yearly_simulation(
|
|
|
|
0
|
|
|
|
0
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if offset_hours > 17520:
|
|
|
|
|
|
|
|
offset_hours -= 17520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
overhaul_interval = 8760 * 2
|
|
|
|
|
|
|
|
overhaul_duration = 1200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if next_overhaul:
|
|
|
|
if next_overhaul:
|
|
|
|
next_oh_start = date_to_utc(next_overhaul["start_date"])
|
|
|
|
next_oh_start = date_to_utc(next_overhaul["start_date"])
|
|
|
|
|