fun withDownhillEfficiency(downhillEfficiency: Double): RouteQueryBuilder
Overrides IRouteQuery.withDownhillEfficiency
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.
downhillEfficiency
- valid values: 0.0,1/uphillEfficiency
Return
reference to the common params object