Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Run simulation multiple times in traCI

You do not need manual control when running a traci script (let traci start 'sumo' instead of 'sumo-gui' to make it run automatically).
In you traci script, you can put a loop around your existing program to do the same thing as before but repeat it 1000 times. Also, see http://sumo.dlr.de/wiki/Simulation/Output#Seperating_outputs_of_repeated_runs

regards,
Jakob

Am Di., 8. Jan. 2019 um 12:46 Uhr schrieb Zheya <fzheya@xxxxxxxxx>:
Hi, every one,

Now I'm using traCI to control the actions of vehicles. I need to execute
the simulation manually everytime.
I know we can make it run automatically with command line, but in this way
we can't control the behavior of vehicles(??).

I wonder is there a way in SUMO to run the simulation for like 1000 times
automatically in traCI?

Thanks in advance!
Zheya



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top