Search the Community
Showing results for 'entity or vehicle'.
-
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!
-
Hey guys, first of all, thanks for the contribution on these forums, I have learned a lot from the SimBit solutions along with forum threads. Herewith my first post/question: Based on the Vehicle Fixed Route SimBit, I've set up the following model: There are specific pickup/drop-off locations in each of the vehicles' fixed routes. Entities entering at the various Sources will each be allocated a destination location Sinks randomly (ie. at Source_1 Output Node the destination is randomly selected from a DestinationList, which contains all destination nodes). Enities in the right-side loop are only picked up by Vehicle 1, and entities in the left-hand loop are picked up by Vehicle 2. Sequence Allocated to Vehicle 1: Output@Source_1 -- Input@Sink_1 -- Input@Sink_3 -- Input@Sink_5 -- TransferNode1 Sequence Allocated to Vehicle 2: Output@Source_2 -- Input@Sink_2 -- TransferNode1 -- Input@Sink_4 Of course some entities' destinations in the right-hand loop are set to destination sinks on the left-hand loop, i.e. Source 1 entity destination is set to Sink 4, and vv. In this case I would like Vehicle 1 to transfer this specific entity to Vehicle 2 via TransferNode1, after which Vehicle 2 can drop the entity off at Sink 4. There can even be sort of a "swap" of entities which need to go to destinations not in its original vehicle's route/sequence. I've tried setting up a process where Vehicle 1 stops at TransferNode1, checks if entities need to be transferred, and if so, waits for Vehicle 2 which then picks up the entity from TransferNode1. Actually I don't know where to start with this process, or if I'm even thinking in the correct direction? Any ideas? Thanks in advance