mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
Bug
This commit is contained in:
parent
0e7350b1e9
commit
af031b1a93
@ -196,7 +196,7 @@ def fastapi_optimize(
|
|||||||
] = None,
|
] = None,
|
||||||
) -> OptimizeResponse:
|
) -> OptimizeResponse:
|
||||||
if start_hour is None:
|
if start_hour is None:
|
||||||
start_hour = 10 # datetime.now().hour
|
start_hour = datetime.now().hour
|
||||||
|
|
||||||
# Perform optimization simulation
|
# Perform optimization simulation
|
||||||
result = opt_class.optimierung_ems(parameters=parameters, start_hour=start_hour)
|
result = opt_class.optimierung_ems(parameters=parameters, start_hour=start_hour)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user