Has anyone
made a python script to run Traci several times? 
I have a scenario where some
flows and turn definitions are unknown, so I need to guess these parameters,
run the simulation and compare that with the base case.


This
iteration will take a lot of time, so I'm using Traci to start the simulation
for me, change the parameters, run it, extract the data, close it and do it
again. You can give Traci the option from the command line using --start and
--quit-on-end, but could it be possible to give this orders inside the same 
python
script.

Because the
main page of SUMO is still down and the Wiki page isn't as intuitive, I am
really lost with this. Is there a working scenario, code lines or a python
scrip that I could get to make sense of all this?


I've read
this link:


http://sumo.dlr.de/wiki/TraCI/Control-related_commands

And I can't
for the life of me understand how do you suppose to insert the parameters or
commands (as soon as the GUI opens, run it and then close it once finished) into
the cmd window or python scrip. Also I had this link:


http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python

Which was a
lot more helpful, so I will be using that as a base. How can I tell Traci what
I need it to do?  Which of these classes (if
that's the name) should I use:


http://sumo.dlr.de/daily/pydoc/traci.html


Thank your
for your time and patience


Alex                                      
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to