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

Method GetPlanRequiredDuration

core/loadpoint/api.go:129–129  ·  view source on GitHub ↗

GetPlanRequiredDuration returns required duration of plan to reach the goal from current state

(goal, maxPower float64)

Source from the content-addressed store, hash-verified

127 GetPlanGoal() (float64, bool)
128 // GetPlanRequiredDuration returns required duration of plan to reach the goal from current state
129 GetPlanRequiredDuration(goal, maxPower float64) time.Duration
130 // GetPlanStrategy returns the plan strategy
131 GetPlanStrategy() api.PlanStrategy
132 // SetPlanStrategy sets the plan strategy

Callers 2

planHandlerFunction · 0.65
staticPlanPreviewHandlerFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected