Hi, I installed a detector in a lane edge and I added this line in additionnal file. There is a big blue line on that lane on the GUI and it seems to correspond to the sensor surface. OK
<laneAreaDetector id="det-S11" lane="-S11_0" pos="-120" length="119" freq="2000" file="result_lane_detector.xml" friendlyPos="x"/> Within results , there is the haltingDurationSum : The sum of all halting durations of vehicles that entered the area and are still inside or have left the area within the reported interval. I have also created before a file that shows the results of each edge. http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures WaitingTime : The total number of seconds vehicles were considered stopped in a edge If the detector covers a whole section (edge), I understand that haltingDurationSum and waitingTime should give similar results. If this is the case, there is too much difference between the two results and I do not understand why. Regards François ________________________________________ De : François Vaudrin [[email protected]] Envoyé : 22 juillet 2015 13:33 À : Michael Behrisch Cc : [email protected] Objet : Re: [sumo-user] The longest vehicule waiting time for every edge Danke Michael, I think it should suit my needs. Regards François ________________________________________ De : Michael Behrisch <[email protected]> Envoyé : 22 juillet 2015 07:45 À : François Vaudrin Cc : [email protected] Objet : Re: [sumo-user] The longest vehicule waiting time for every edge Hi François, Am 2015-07-22 06:47, schrieb François Vaudrin: > Is there a function to know what was the the longest waiting time in > each edge during simulation ? For example , if there have been 200 > vehicles that traveled in edge_x and the one that waited the longest > time is 83 seconds, is it possible to have this data directly or we > must calculate it ? I do not need the vehicle ID, only the waiting > time of the one who has waited the longest time in every edge. Lane Area detectors could do the trick, they output a maxHaltingDuration http://sumo.dlr.de/wiki/Simulation/Output/Lanearea_Detectors_%28E2%29 Regards, Michael ------------------------------------------------------------------------------ _______________________________________________ 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
