Hello Marcus
That would be even better. I think it's possible to tell Traci not to execute the GUI. I learned this while working with the "traci_tls" example, but I still don't know how to use the commands for Traci. I assume somebody has done it already, but given that the SUMO's main page it's still under construction and that I'm new to Python, I would need the steps needed for run Traci with the requirements mentioned in my first post. Regards, Alex > From: [email protected] > Subject: Re: [sumo-user] Automate Traci > Date: Fri, 17 Oct 2014 19:39:35 +0200 > To: [email protected] > > Hi Alex, > > I would also like to learn how/whether this can be done with GUI. You could > start without gui which immediately starts the simulation. There is also a > config parameter you can set to automatically close after simulation. > You can enable this in the GUI and check the config for the exact xml-tag > name. > Sorry that that I don't have it on my mind right now. > > Regards, > > Marcus > > > Am 17.10.2014 um 18:57 schrieb Manuel Montero perarnau montero > > <[email protected]>: > > > > Hello SUMO > > users > > > > > > My > > simulation consist on a highway from which I know very few flows across it. > > I > > have to assume some flows and turns probabilities, so I need SUMO to run > > with > > different combinations until it finds the solution. > > > > > > I'm trying > > to automate SUMO via Traci in a way that it creates a rou file, opens the > > simulator, runs it, closes it, saves the values from the detectors, creates > > another rou file with other parameters (I'm using JTRrouter for that) and > > starts > > the process again. I already have a way to update the rou file after each > > run, > > but I have questions: > > > > > > -I know how to start the SUMO-gui > > with Traci, but how can I tell the simulation to start on its own, run > > and then (when finished) close? > > > > -Is there a way to save the > > output from every run so as to use the info for analysis? > > > > -Where can I find the commands > > inside Traci that can control it? > > > > > > Thank you for > > your help. > > > > > > Regards, > > > > > > 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 ------------------------------------------------------------------------------ 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
