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.updateVehicleProperties
Parameters
speedConsumption
Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate pairs.