timeLoss is in seconds. That was an error in the documentation, now fixed. Also, an error in the timeLoss computation of the E2Detector was discovered today. I advise to refrain from using it for your intended purpose until this is fixed.
regards, Jakob 2017-05-17 22:30 GMT+02:00 Rafael Melo <[email protected]>: > Hello, > > Thanks for the answer. The 'timeLoss' value is in [m/s] but I need a value > of time so it should be a value in [s]. I didn't understand how the value > 'timeLoss' is obtained to know if it's possible but there is some way of > obtain the value in [s]? Maybe with some calculation? > > regards, > Rafael > > 2017-05-17 4:40 GMT-03:00 Jakob Erdmann <[email protected]>: > >> 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 >>> >> >> > > > -- > *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
