ElectricVehicleConsumption

data class ElectricVehicleConsumption(val auxiliaryPower: Power? = null, val speedConsumption: Map<Speed, ElectricConsumption>)

Describes capacity and the consumption of the EV.

Parameters

auxiliaryPower

Specifies the amount of power consumed for sustaining auxiliary systems, in kilowatts (kW). It can be used to specify consumption due to devices and systems such as AC systems, radio, heating, etc. Applicable only for electric engines.

speedConsumption

Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in kWh pairs. Applicable only for electric engines.

Constructors

Link copied to clipboard
constructor(auxiliaryPower: Power? = null, speedConsumption: Map<Speed, ElectricConsumption>)

Properties

Link copied to clipboard
val auxiliaryPower: Power? = null
Link copied to clipboard
val speedConsumption: Map<Speed, ElectricConsumption>