sdk-routing / com.tomtom.online.sdk.routing.route.vehicle / CombustionVehicleConsumption / <init>

<init>

CombustionVehicleConsumption(currentFuelInLiters: Double? = null, auxiliaryPowerInLitersPerHour: Double? = null, fuelEnergyDensityInMJoulesPerLiter: Double? = null, speedConsumptionInLitersPerHundredKm: Map<Double, Double>)

Describes parameters used to determine the vehicle power and consumption.

Parameters

currentFuelInLiters - Current fuel in liters.

auxiliaryPowerInLitersPerHour - Specifies the amount of fuel consumed for sustaining auxiliary systems of the vehicle, in liters per hour. It can be used to specify consumption due to devices and systems such as AC systems, radio, heating, etc. Applicable only for combustion engines.

fuelEnergyDensityInMJoulesPerLiter - Specifies the amount of chemical energy stored in one liter of fuel in megajoules (MJ). It is used in conjunction with the *Efficiency parameters for conversions between saved or consumed energy and fuel. For example, energy density is 34.2 MJ/l for gasoline, and 35.8 MJ/l for Diesel fuel. Applicable only for combustion engines.

speedConsumptionInLitersPerHundredKm - Map used to determine fuel consumption at different speeds.