SpeedConsumptionProperty
data class SpeedConsumptionProperty(@Size(min = 1, max = 25) val speedConsumption: Map<Speed, ElectricConsumption>) : ElectricEngineProperty
Represents ElectricVehicleConsumption.speedConsumption property of the ElectricEngine model.
Used for updating the energy consumption depending on the speed of the vehicle via VehicleProvider.updateVehicle
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
speedConsumption
Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate pairs.