VehicleEfficiency

data class VehicleEfficiency(    val uphillEfficiency: Double? = null,     val downhillEfficiency: Double? = null,     val accelerationEfficiency: Double? = null,     val decelerationEfficiency: Double? = null)

Specifies the efficiency of the vehicle.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

uphillEfficiency

Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation.

downhillEfficiency

Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation.

accelerationEfficiency

Specifies the efficiency of converting chemical energy stored in fuel to kinetic energy when the vehicle accelerates.

decelerationEfficiency

Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates.

Constructors

Link copied to clipboard
fun VehicleEfficiency(    uphillEfficiency: Double? = null,     downhillEfficiency: Double? = null,     accelerationEfficiency: Double? = null,     decelerationEfficiency: Double? = null)

Properties

Link copied to clipboard
val accelerationEfficiency: Double? = null
Link copied to clipboard
val decelerationEfficiency: Double? = null
Link copied to clipboard
val downhillEfficiency: Double? = null
Link copied to clipboard
val uphillEfficiency: Double? = null