sdk-routing / com.tomtom.online.sdk.data.reachablerange / ReachableRangeQueryBuilder / withDecelerationEfficiency

withDecelerationEfficiency

fun withDecelerationEfficiency(decelerationEfficiency: Double): ReachableRangeQueryBuilder

Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates (i.e., ChemicalEnergySaved/KineticEnergyLost). ChemicalEnergySaved is obtained by converting saved (not consumed) fuel to energy using fuelEnergyDensityInMJoulesPerLiter.