Hello, you cannot currently retrieve this directly (which I've take up as a suggestion: http://sumo.dlr.de/trac.wsgi/ticket/2234). Indeed, you will have to check departure times against all running vehicles. For offline-retrieval you may use http://sumo.dlr.de/wiki/Simulation/Output/Summary regards, Jakob
2016-04-06 17:04 GMT+02:00 <[email protected]>: > Hello, > > > > I am wondering if there is any way to get the total number of vehicles who > are waiting to enter simulation network? > > > > I knew traci.simulation.getLoadedNumber tells how many vehicles will enter > the network, but this number include both waiting and not waiting vehicles. > The vehicle which is not waiting means the current simulation time step is > earlier than its departure time. > > > > The only way I can think of is to check every vehicles' departure time > against the IDs of vehicles in the network for each time step. > > > > Kind Regards, > > Rui > > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
