Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Randomtrips: How to generate another randomtrips with different routes?

I changed the code to 
python randomTrips.py -n osm.net.xml -r map.rou.xml -e 500 –l --random  and it worked. I really appreciate the help,

On Mon, Apr 26, 2021 at 12:13 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Add randomTrips option --seed with a different value on each call or add option --random.

Am So., 25. Apr. 2021 um 13:40 Uhr schrieb 5umO5imul8er123 <b0b123school@xxxxxxxxx>:
Good morning, I am using SUMO 1.7.0. I never touched computer coding prior to
using SUMO. Therefore, I apologize if my question sounds easy. Currently,
what I want to do is simulate the traffic for the selected network randomly
while using 'flow' to insert vehicles into route A. I want to take note how
long it takes for route A to jam up and then take an average which is why I
need to simulate using randomtrips a few times. I used the command "python
randomTrips.py -n osm.net.xml -r output.rou.xml -e 100 –p 1" for my
simulation. The problem is, the route file in simulation 1 and 2 are exactly
the same. *How can I make it so that I can simulate using randomtrips 5
times but for 5 simulations, the routes taken for all vehicles are
different?* I remember that I could have different route files if I were to
create new folder. but that doesn't seem to work anymore. Thanks for reading
and your help.



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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