accumulatedWaiting time is only the waiting time within the last 100s (time window configurable with option --waiting-time-memory). For total waitingTime, use the tripinfo value (or maybe https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html).
Am Di., 13. Dez. 2022 um 07:07 Uhr schrieb Hager Radi < hagerrady...@gmail.com>: > Thank you so much for your reply. I have one more follow-up question. I > tried using getAccumulatedWaitingTime to collect the total waiting time of > a vehicle throughout the simulation. This should match the waitingTime > reported in trip_info by the end of simulation. However, these two don't > always match and trip_info can get a larger waitingTime. Is there a > justification for this? Which of these would be the accurate one? > > Thanks, > > On Wed, Dec 7, 2022 at 11:26 PM Jakob Erdmann <namdre.s...@gmail.com> > wrote: > >> - departDelay is the time a vehicle has been waiting in a virtual queue >> before it is inserted >> - in tripinfo-output, 'depart' is the actual time of insertion (desired >> departure + departDelay) >> - timeLoss only concerns the loss after actual departure so it is often a >> useful metric to add timeLoss and departDelay >> For this reason, statistic-output includes >> >> Note, that tripinfo-output only contains arrived vehicles by default. To >> ensure counting all vehicles, you can set the options >> --tripinfo-output.write-unfinished >> --tripinfo-output.write-undeparted (these will only serve to add more >> departDelay since they never actually departed)) >> >> >> Am Do., 8. Dez. 2022 um 00:23 Uhr schrieb Hager Radi < >> hagerrady...@gmail.com>: >> >>> Hello, >>> >>> I am trying to capture the total delay of a vehicle from source to >>> destination. I have seen that trip_info includes the time_loss and also >>> depart_delay. >>> >>> - Is depart_delay the time a vehicle has been waiting in a virtual queue >>> before it is inserted? >>> - Does depart (the time it is inserted) take into consideration this >>> delay or is it the ideal departure time that a vehicle should have followed? >>> - Can you confirm that time_loss includes only the delay from actual >>> insertion to arrival? >>> >>> Thanks, >>> _______________________________________________ >>> sumo-user mailing list >>> sumo-user@eclipse.org >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> sumo-user@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user