Hello, if you simply ignore the generate_routefile part, than the runner.py does give a fairly simple example of an actuated traffic light. https://svn.code.sf.net/p/sumo/code/trunk/sumo/tests/ complex/tutorial/traci_tls/runner.py How you simulate your network depends very much on what you mean be "traditional traff lights model": If your traditional traffic light model is static you do not even need to use traci. Refer to to http://sumo.dlr.de/wiki/Simulation/Traffic_Lights If you traffic light is traffic-actuated you may still be able to simulate without traci: http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Actuated_Traffic_Lights Otherwise you will have to design an actuation-program yourself. This likely requires some programming experience. regards, Jakob
2017-02-24 19:17 GMT+01:00 Sara el hamdani <[email protected]>: > >> I wan to simulate traditional traffic lights model of 30s in 9 road >> intersections. I created by hand all the xml files that I need "nod, edg, >> con, rou and typ". It was so easy to create them thanks of the clear >> tutorial "quickstart". >> >> I tried to add the traffic light model to my non-signalized intersections >> based on "TraCI4Traffic Lights" tutorial and the wiki page for TraCI. But, >> I couldn't undrstand the runner script. >> >> In the runner script of "TraCI 4 Traffic Lights" write in the rou file >> what >> i do not need to do. >> What is the simple code for a normal traffic light system in several >> intersection? >> -- >> *Best regards* >> >> >> *Sara EL HAMDANI* >> *Phd student -Umi University.* >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
