VehicleEfficiency

data class VehicleEfficiency

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.

Types

Link copied to clipboard
class Builder

Builder used to create an instance of VehicleEfficiency. Once constructed, the user cannot change the field values.

Properties

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