@Beta(2020, 12) data class VehicleEfficiency
Specifies the efficiency of the vehicle.
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.
class Builder
Builder used to create an instance of VehicleEfficiency. Once constructed, the user cannot change the field values. |
val accelerationEfficiency: Double?
Specifies the efficiency of converting chemical energy stored in fuel to kinetic energy when the vehicle accelerates. |
|
val decelerationEfficiency: Double?
Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates. |
|
val downhillEfficiency: Double?
Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation. |
|
val uphillEfficiency: Double?
Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation. |