Hello, 1) its not quite clear what you mean. If you just want to edit the duration, open up the file in your favorite text editor. If you need something done automatically you will have to do some programming or find someone else who can do it for you. 2) maybe this helps you: http://sumo.dlr.de/wiki/Tools/Xml#xml2csv.py regards, Jakob
2017-07-11 21:56 GMT+02:00 Liao Jian Ting via sumo-user < [email protected]>: > Hello, I'm trying to edit the traffic light phase duration to evaluate the > traffic flow in my plan. > > I have two questions and don't find the answers. > > > (1) Because I need to execute my process to produce new phase duration > more times, I just want to edit the traffic light duration in additional > file then the sumo can load it to change the phase duration. Is there any > easy way to edit it in add.xml automatically? > > ex: <phase duration="25" state="GGrr"/> > > > (2) I need some output data in tripinfo.xml, is there any easy way to > obtain it? > > ex: <tripinfo id="1_5_20" depart="0.00" departLane="D1_0" > departPos="5.10" departSpeed="0.00" departDelay="0.00" arrival="39.00" > arrivalLane="D5_0" arrivalPos="238.65" arrivalSpeed="13.10" > duration="39.00" routeLength="480.11" waitSteps="0" timeLoss="4.26" > rerouteNo="0" devices="tripinfo_1_5_20" vType="passenger" vaporized=""/> > > > Thank for help. > ------------------------------------------------------------ > ------------------ > 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
