This commit is contained in:
Andreas 2024-12-20 16:01:53 +01:00 committed by Andreas
parent 4e8e9bd0c0
commit 9214d190e8

View File

@ -196,7 +196,7 @@ def fastapi_optimize(
] = None,
) -> OptimizeResponse:
if start_hour is None:
start_hour = 10 # datetime.now().hour
start_hour = datetime.now().hour
# Perform optimization simulation
result = opt_class.optimierung_ems(parameters=parameters, start_hour=start_hour)