Logic of check_peak
This commit is contained in:
parent
a2a6b9c4e9
commit
3f6ab9067d
1 changed files with 6 additions and 0 deletions
|
@ -31,3 +31,9 @@ print("DisCharge: %.2f" % avg_discharge)
|
||||||
print(" SOC: %.2f" % soc)
|
print(" SOC: %.2f" % soc)
|
||||||
|
|
||||||
|
|
||||||
|
# Logic of this is:
|
||||||
|
#
|
||||||
|
# If it's 05:00 and battery SoC will be < 18% at 07:00: charge at full beans for 1 hour
|
||||||
|
#
|
||||||
|
# if it's 15:00 and battery SoC will be < 25% at 16:00: charge at full beans for 1 hour
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue