# [OSRM-talk] mix kilometers and speed

Florian Lohoff f at zz.de
Mon Apr 7 11:44:42 UTC 2014

```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€

Flo
--
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20140407/83dd49f1/attachment.pgp>
```