Using traci you can query the E2 detector (traci.lanearea.*) for the queue length in the last time step. You could also query the lane directly for all vehicles on it and then check the vehicles individually as to their speed or waitingTime.
Am Fr., 14. Juni 2019 um 02:08 Uhr schrieb Jane Cheung < [email protected]>: > Could I use Traci to get the results that I want while the simulation is > running? OR Could I use the Traci to get the E2 detector data in different > time during the simulation? > Best regards! > > > > Jane > > On Thu, Jun 13, 2019 at 6:28 PM Jakob Erdmann <[email protected]> > wrote: > >> see >> https://sumo.dlr.de/wiki/Simulation/Output/Traffic_Lights#Coupled_Lane_Area_Detectors >> >> Am Fr., 14. Juni 2019 um 00:56 Uhr schrieb Jane Cheung < >> [email protected]>: >> >>> Dear all, >>> >>> How could I get the total vehicle number that are waiting when the >>> traffic light phase is red? >>> Any kindly help would be appreciated! >>> >>> Jane >>> >>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
