From 3f6ab9067d6d31f3f84bd324237f8cfda6f59618 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Wed, 16 Oct 2024 21:46:24 +1100 Subject: [PATCH] Logic of check_peak --- examples/check_peak.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/check_peak.py b/examples/check_peak.py index 969ea30..bb3856e 100755 --- a/examples/check_peak.py +++ b/examples/check_peak.py @@ -31,3 +31,9 @@ print("DisCharge: %.2f" % avg_discharge) 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 +