MCPcopy Create free account
hub / github.com/evcc-io/evcc / EffectiveMinPower

Method EffectiveMinPower

core/loadpoint_effective.go:223–227  ·  view source on GitHub ↗

EffectiveMinPower returns the effective min power for the minimum active phases

()

Source from the content-addressed store, hash-verified

221
222// EffectiveMinPower returns the effective min power for the minimum active phases
223func (lp *Loadpoint) EffectiveMinPower() float64 {
224 lp.RLock()
225 defer lp.RUnlock()
226 return Voltage * lp.effectiveMinCurrent() * float64(lp.minActivePhases())
227}
228
229// EffectiveMaxPower returns the effective max power taking vehicle capabilities,
230// phase scaling and load management power limits into account

Callers 1

Calls 4

RLockMethod · 0.95
RUnlockMethod · 0.95
effectiveMinCurrentMethod · 0.95
minActivePhasesMethod · 0.95

Tested by

no test coverage detected