Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evcc-io/evcc
/ Capacity
Method
Capacity
api/api.go:51–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
// BatteryCapacity provides a capacity in kWh
50
type
BatteryCapacity
interface
{
51
Capacity() float64
52
}
53
54
// BatteryPowerLimiter provides max AC charge- and discharge power in W
Callers
15
socBasedPlanning
Method · 0.65
minSocNotReached
Method · 0.65
publishSocAndRange
Method · 0.65
setActiveVehicle
Method · 0.65
TestMinSocNotReachedEnergyFallback
Function · 0.65
publishVehicles
Method · 0.65
getPlanRequiredDuration
Method · 0.65
expectVehiclePublish
Function · 0.65
TestPublishSocAndRangeVehiclesAndChargers
Function · 0.65
TestDefaultVehicle
Function · 0.65
optimizerUpdate
Method · 0.65
loadpointRequest
Method · 0.65
Implementers
7
charger
core/capable_test.go
MockVehicle
api/mock.go
MockVehicleMockRecorder
api/mock.go
iBatteryCapacity
api/implement/implementations.go
embed
vehicle/embed.go
StatusLatestResponse
vehicle/bluelink/types.go
StatusLatestResponseCCS
vehicle/bluelink/types.go
Calls
no outgoing calls
Tested by
7
TestMinSocNotReachedEnergyFallback
Function · 0.52
expectVehiclePublish
Function · 0.52
TestPublishSocAndRangeVehiclesAndChargers
Function · 0.52
TestDefaultVehicle
Function · 0.52
TestRemainingChargeDuration
Function · 0.52
TestSocEstimation
Function · 0.52
TestImprovedEstimatorRemainingChargeDuration
Function · 0.52