Hi, I think you are looking for the Induction Loops Detectors (E1). You can add them to your net and define the desired time interval with the parameter "freq". You can find more information here: https://sumo.dlr.de/docs/Simulation/Output/Induction_Loops_Detectors_(E1).html
Then if you want you can access the detector information with traci (https://sumo.dlr.de/docs/TraCI/Induction_Loop_Value_Retrieval.html). Regards, Giuliana -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of anilbaral Sent: Montag, 13. Juli 2020 22:18 To: [email protected] Subject: [sumo-user] No of vehicle passing through a detector using TRACI Hi all, I want to determine the total number of vehicles passing through a detector in a lane within a certain time interval, like the number of vehicles between time steps 0 to 10,000. I have used TRACI and I could determine the vehicle in each time step and then add all the vehicles in the time step(. This will give me a total vehicle. However, I don't want to run the entire time step and add it. Is TRACI able to provide all the vehicles passing through a certain detector for any time interval? -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ _______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user _______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
