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

withDownhillEfficiency

fun withDownhillEfficiency(downhillEfficiency: Double): ReachableRangeQueryBuilder

Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation (i.e. ChemicalEnergySaved/PotentialEnergyLost). ChemicalEnergySaved is obtained by converting saved (not consumed) fuel to energy using fuelEnergyDensityInMJoulesPerLiter. Applicable only for combustion engines. If used at all, must be used in conjunction with .withUphillEfficiency. If used, .withVehicleWeightInKg has to be used as well.

Parameters

downhillEfficiency - valid values: 0.0,1/uphillEfficiency.

Return
reference to the common params object.