Hello,
E2 is fine for the job. There is a script for automatically generating the
necessary objects in sumo/tools/output/generateTLSE2Detectors.py
The delay time (due to halting or driving slowly) is written to the
'timeLoss' value.
The number of stops is in 'startedHalts'. Note, that a vehicle may stop
multiple time especially for left turns (once on first approach and then
again when waiting within the intersection for oncoming vehicles).
Since these detectors aggregate their values over a specified interval, a
distinction is made between collected values that apply just for that
interval or values that count multiple intervals (i.e. waiting time for a
vehicle that waits more than one interval).
The former may be summed up over all intervals while the latter would lead
to some double counting when summed up.
If you set the interval ('freq' attribute) to cover the whole simulation,
this is not an issue.
regards,
Jakob
2017-05-16 23:06 GMT+02:00 Rafael Melo <[email protected]>:
> Hey everybody
>
> I need to know the mean number of stops in traffic lights in the simulation
> and the mean waiting time (the delay time) of vehicles and I'm not sure of
> which variables I should use to calculate the values I need. I think I have
> to use the Lane Area Detector/E2 Detector but I'm confused about the
> variables.
>
> --
> *Rafael Melo Silva*
> Programa de Educação Tutorial - CompPET
> Faculdade de Computação - 55ª turma de Ciência da Computação
> UFU - Universidade Federal de Uberlândia
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user