fun withAccelerationEfficiency(accelerationEfficiency: Double): RouteQueryBuilder
Overrides IRouteQuery.withAccelerationEfficiency
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. Applicable only for combustion engines. If used at all, must be used in conjunction with .withAccelerationEfficiency. If used, .withVehicleWeightInKg has to be used as well.
decelerationEfficiency
- valid values: 0.0,1/accelerationEfficiency
Return
reference to the common params object