Hello, Use traci.trafficlights.getPhase(). The returned integer corresponds to the order of the phases in the tlLogic definition (starting at 0). regards, Jakob
2015-05-05 7:26 GMT+02:00 amir nasiri <[email protected]>: > Hi everyone, > > I want to calculate the mean waiting time on the lanes related to a > junction and obtain the value of it at each phase of traffic light. For > example, If we have 4 phase, so I want to know in first phase, what is the > value of the waiting time and the second one and to the last one. I did it > by TraCI command (traci.lane.getWaitingTime(lane)) and aggregate it in that > interval, but I have problem in separate it for each phase. > > Have you any suggestion that help me to solve this problem? > > Best regards, > Amir > > -- > *Good luck to you.* > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
