mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
Bug
This commit is contained in:
parent
4e8e9bd0c0
commit
9214d190e8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user