mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
set min_soc_prozent 0 by default (#184)
#183 the current default value of "Null" is not compatible with the class_akku. A default value of 0 is more reasonable.
This commit is contained in:
parent
dbc71dc158
commit
81de14d90a
@ -243,7 +243,7 @@ def flask_optimize():
|
|||||||
|
|
||||||
# Optional min SoC PV Battery
|
# Optional min SoC PV Battery
|
||||||
if "min_soc_prozent" not in parameter:
|
if "min_soc_prozent" not in parameter:
|
||||||
parameter["min_soc_prozent"] = None
|
parameter["min_soc_prozent"] = 0
|
||||||
|
|
||||||
# Perform optimization simulation
|
# Perform optimization simulation
|
||||||
result = opt_class.optimierung_ems(parameter=parameter, start_hour=datetime.now().hour)
|
result = opt_class.optimierung_ems(parameter=parameter, start_hour=datetime.now().hour)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user