Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] No routes

The easiest solution is to generate additional random trips. By default 3600 trips are created (1 per s until the default end time of 3600s). By setting attribute -e (--end) to a higher value you can get more routes.
If that still doesn't help, try to check whether these edges could ever be plausibly part of a route between fringe edges. If not, run randomTrips a second time with a different --fringe-factor option or create some routes manually and add them along with the original routes to your routeSampler command (routeSampler can load multiple route files).

regards,
Jakob

Am Sa., 8. Nov. 2025 um 01:35 Uhr schrieb Pedro Oliveira via sumo-user <sumo-user@xxxxxxxxxxx>:
Good evening!

I'm inserting traffic data using routesampler. To obtain the initial routes, I used randomtrips.py with marouter, like this:
"%SUMO_HOME%/tools/randomTrips.py" -n REDE.net.xml -r rotas.rou.xml --marouter --fringe-factor max

Then routesampler is executed:
"%SUMO_HOME%/tools/routeSampler.py" -a "type=\"carro\" departLane=\"best\" departSpeed=\"max\"" --turn-files InterCCV.xml --turn-attribute count_car --prefix ca -o cars.rou.xml -r rotas.rou.xml --turn-max-gap 12

When executing routesampler, I received the following warning:
WhatsApp Image 2025-11-07 at 11.56.18.jpeg

How can this problem be solved so that it can have routes in this sequence of edges?
Thank you very much for your attention.

Thank you in advance for your help.

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top