VehicleEfficiency

fun VehicleEfficiency(    uphillEfficiency: Double? = null,     downhillEfficiency: Double? = null,     accelerationEfficiency: Double? = null,     decelerationEfficiency: Double? = null)

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.