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 <[email protected]> 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 < > [email protected]>: > >> 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 >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
