[OSRM-talk] mix kilometers and speed
didier2020 at free.fr
Mon Apr 7 14:29:53 UTC 2014
sorry for my poor english , the data in my example may be false ...
it's just to add différents amont which are not distance or time
like l/km, highway with fee=yes
is this possible or already integrated ?
Le lundi 07 avril 2014 à 13:44 +0200, Florian Lohoff a écrit :
> On Mon, Apr 07, 2014 at 11:06:51AM +0200, didier2020 wrote:
> > hi,
> > i wonder if osrm can mix kilometers and speed to calculate a route
> > exemple:
> > my car : 5l/100 km with 1l = 1.5 € => 0.075€ for one kilometer
> > me : my time can be arround 16€/h
> But this is not true for todays cars. Its consumption per km and
> travel speed. Yes - with the current downsizing of motors you get
> much lower fuel consumption on partial load e.g. the citys. But
> driving on the motorway you'll consume the same amount of fuel
> than having a 6 cylinder 3,5l engine. So its not fuel per time
> but fuel per km and road type.
> > so for a trip of 50 km, and 20 minutes
> > => (50*0.075) + (20/60*16) = 3.75 + 5.33 = 9.08€
More information about the OSRM-talk