I forgot to mention that I set --waiting-time-memory to the simulation end time in seconds. This means that accumulatedWaitingTime should match the WaitingTime in trip_info, does it?
accumulatedWaiting time is only the waiting time within the last 100s (time window configurable with option --waiting-time-memory). 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,
- 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))
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
_______________________________________________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