Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] (no subject)

Good evening SUMO community!

How are you all? I hope you're doing well!

We are developing a microsimulation and to generate the initial routes to be used by routesampler.py we use the following script:

"%SUMO_HOME%/tools/randomTrips.py" -n REDE.net.xml --marouter --fringe-factor max -e 3600 -r rotas.rou.xml

We have a situation in the network where there is a service road parallel to the highway, as in the example shown below.
image.png

In this case, when running routesampler.py, it was warned that it was not possible to place traffic on the service road because there are no routes. I believe the reason is that the speed on the highway is higher, so when using marouter it wouldn't make sense to generate trips parallel to the highway, but I'm not sure if my reasoning is correct.

Is there any way, still using randomtrips, to generate traffic on the service road so that there are routes?

Another interesting point I'd like to mention is that when generating randomtrips in the following sequence:
"%SUMO_HOME%/tools/randomTrips.py" -n REDE.net.xml -r rotas.rou.xml --marouter --fringe-factor max -e 3600

It returns an error: unrecognized arguments: --fringe-factor max

As a solution, I simply changed the order of the arguments and it worked:

"%SUMO_HOME%/tools/randomTrips.py" -n REDE.net.xml --marouter --fringe-factor max -e 3600 -r rotas.rou.xml

Is there any logic to that?

Thank you in advance.

Não contém vírus.www.avast.com

Back to the top