fix: bufferStartSoc 100% never triggers auto-start charging (#27922)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: naltatis <152287+naltatis@users.noreply.github.com>
This commit is contained in:
parent
2610f30520
commit
3428ddf2c2
1 changed files with 1 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ func (site *Site) sitePower(totalChargePower, flexiblePower float64) (float64, b
|
|||
} else {
|
||||
// if battery is above bufferSoc allow using it for charging
|
||||
batteryBuffered = site.bufferSoc > 0 && site.battery.Soc > site.bufferSoc
|
||||
batteryStart = site.bufferStartSoc > 0 && site.battery.Soc > site.bufferStartSoc
|
||||
batteryStart = site.bufferStartSoc > 0 && site.battery.Soc >= site.bufferStartSoc
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue