Hi all,
I've got a vehicle on a fixed route that has a capacity greater than one. Each entity has a loading and unloading time of 15 seconds.
Now I want to let the vehicle dwell for 20 seconds at a node, but only if it has at least one pick-up or drop-off. When there is no pick-up or drop-off, there is no dwell time.
So, if the vehicle loads or unloads only one entity it takes 20 seconds. But loading/unloading multiple entities at one node takes the loading/unloading time required.
For a pick-up I can dwell only if the RidePickUpQueue of the current node is > 0. For a drop-off I'm however clueless what to put in the "dwell only if"
How to implement this logic?
Thanks!