PV Mode: ensure default hysteresis (#3035)

This commit is contained in:
andig 2022-03-29 22:18:07 +02:00 • committed by GitHub
parent 8510ce41d3
commit 82212db209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View file

@ -255,9 +255,11 @@ func NewLoadPoint(log *util.Logger) *LoadPoint {
Mode: api.ModeOff,
Phases: 3,
status: api.StatusNone,
MinCurrent: 6, // A
MaxCurrent: 16, // A
SoC: SoCConfig{Min: 0, Target: 100}, // %
MinCurrent: 6, // A
MaxCurrent: 16, // A
SoC: SoCConfig{Min: 0, Target: 100}, // %
Enable: ThresholdConfig{Delay: time.Minute, Threshold: 0}, // t, W
Disable: ThresholdConfig{Delay: 3 * time.Minute, Threshold: 0}, // t, W
GuardDuration: 5 * time.Minute,
progress: NewProgress(0, 10), // soc progress indicator
}

View file

@ -97,9 +97,9 @@ loadpoints:
delay: 1m # threshold must be exceeded for this long
threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
disable: # pv mode disable behavior
delay: 10m # threshold must be exceeded for this long
threshold: 200 # maximum import power (W)
guardDuration: 5m # switch charger contactor not more often than this (default 10m)
delay: 3m # threshold must be exceeded for this long
threshold: 0 # maximum import power (W)
guardDuration: 5m # switch charger contactor not more often than this (default 5m)
minCurrent: 6 # minimum charge current (default 6A)
maxCurrent: 16 # maximum charge current (default 16A)