VehicleEvConsumptionModel

data class VehicleEvConsumptionModel(val consumptionCurve: Set<VehicleEvSpeedConsumption>?) : Parcelable

Provides the parameters of the consumption model, which is used to estimate how much energy the vehicle requires for driving.

Parameters

consumptionCurve

The speed-dependent component of consumption, provided as a set of speed/consumption rate pairs. Can be null when this information is unknown.

Constructors

Link copied to clipboard
fun VehicleEvConsumptionModel(consumptionCurve: Set<VehicleEvSpeedConsumption>?)

Properties

Link copied to clipboard
val consumptionCurve: Set<VehicleEvSpeedConsumption>?

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)