Re: [sumo-user] shortest path exercise

2024-04-18 Thread Jakob Erdmann via sumo-user
The router is known to underestimate waiting times at traffic lights if the
network doesn't have any other cars in it.
You can use duarouter with the same trips as input and it will tell you the
estimate traveltime, it should be lower for the route without a middle
point.
The next step would be to observe the trip in sumo-gui and check for any
delays en route.
The routeLength being higher without a middle point might be due to
different speed limits on the routes (the longer route with a higher speed
limit could be faster from the point of view of the router).
If you cannot figure it out, please provide the inputs for an investigation.




Am Do., 18. Apr. 2024 um 16:14 Uhr schrieb Joan Carmona Mercadé via
sumo-user :

> Hi,
>
>
>
> I'm trying to find the shortest path between points A and B. I got my
> network from OSM. Then I create a simulation with a unique trip between A
> and B with no middle edges.
>
>
>
> When I ask to Google, it gives me a route. But Sumo gives me a very
> different one. Then I modify the trip and add a middle edge from the route
> that Google gave to me. Then Sumo gives me the same route as Google.
>
>
>
> If I check the values of output variables routeLength and duration, both
> values are greater in the first case (with no middle point). So, I don't
> understand why Sumo is giving me that route if it is longer and takes more
> time that the one with the middle edge.
>
>
>
> What other parameters may I be forgetting?
>
>
>
> Thanks,
>
> Joan
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] shortest path exercise

2024-04-18 Thread Joan Carmona Mercadé via sumo-user
Hi,

I'm trying to find the shortest path between points A and B. I got my network 
from OSM. Then I create a simulation with a unique trip between A and B with no 
middle edges.

When I ask to Google, it gives me a route. But Sumo gives me a very different 
one. Then I modify the trip and add a middle edge from the route that Google 
gave to me. Then Sumo gives me the same route as Google.

If I check the values of output variables routeLength and duration, both values 
are greater in the first case (with no middle point). So, I don't understand 
why Sumo is giving me that route if it is longer and takes more time that the 
one with the middle edge.

What other parameters may I be forgetting?

Thanks,
Joan

___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user