feature: slower rising simulated SOC, to have more time for drawing power

This commit is contained in:
Uwe Hennig 2023-03-02 08:16:56 +01:00
parent 23b1384e1c
commit dbe5470fdb

View file

@ -139,7 +139,7 @@ class hardwareInterface():
if (self.simulatedSoc<100):
if ((self.outvalue & 2)!=0):
# while the relay is closed, simulate increasing SOC
self.simulatedSoc = self.simulatedSoc + 0.05
self.simulatedSoc = self.simulatedSoc + 0.01
self.loopcounter+=1