mateus Posted October 10 Share Posted October 10 Hello, I have a model like the one showed in the picture. I have defined the sequence table for the bus to always do the defined route, and I have the output nodes of every source defined as RideOnTransporter Always, with the transporter being Bus. I also define from a NodeList that contains the 4 stops the destination node for every entity created in every source (I have also tried to define the sinks as the destinations, didn't work). However, when the bus reaches the destination nodes, the entites are not unloading (the users are not leaving the bus towards the respective sink). What is wrong with my logic? This is an urgent matter because it is for my master's thesis, to be delivered in a few weeks! Thank you for your help. Link to comment Share on other sites More sharing options...
ttarkan Posted October 11 Share Posted October 11 Hi Mateus, I see you assigned a route to the bus vehicle but as I see you haven't assigned the destination to entities. In order to assign the destination to entity you can use the "set node" step in process tab. I haven't used a sequence based vehicle before so I am not sure if it will solve the problem alone. But if it doesn't solve you may use transfer step to transfer entities from vehicle.Ridestation to your desired destination when the bus arrives there. Also pay attention to transfer one entity at a time and then repeat the loop or else you can batch a bunch of entities first then transfer them. Also you might need end transfer step to end the entity being at transferring stage if you have defined a custom station that you are transfer the entities to. Link to comment Share on other sites More sharing options...
ViniciusF Posted October 11 Share Posted October 11 (edited) Ok, just to be sure: Entities on stop1 cannot choose stop1 as a destination, entities on stop 2 cannot choose either stop1 or stop2, and so on. Is your logic already doing that? Personally, I would create a node just before each "Stop" node (which I'm assuming are the nodes of the sources). I would drop the entities there, sending them to their sink (you can use by link weight here, with "!Is.Vehicle" so the entities go to the sink). If the process of loading/unloading is necesseraly simultaneous you need to take some care with what happens if the bus arrives full, but has some entities to drop/pick-up. If you want, dm me with the model, I could help. Edited October 11 by ViniciusF Link to comment Share on other sites More sharing options...
mateus Posted October 14 Author Share Posted October 14 On 10/11/2024 at 3:24 PM, ViniciusF said: Ok, just to be sure: Entities on stop1 cannot choose stop1 as a destination, entities on stop 2 cannot choose either stop1 or stop2, and so on. Is your logic already doing that? Personally, I would create a node just before each "Stop" node (which I'm assuming are the nodes of the sources). I would drop the entities there, sending them to their sink (you can use by link weight here, with "!Is.Vehicle" so the entities go to the sink). If the process of loading/unloading is necesseraly simultaneous you need to take some care with what happens if the bus arrives full, but has some entities to drop/pick-up. If you want, dm me with the model, I could help. This worked! Thank you so much Link to comment Share on other sites More sharing options...
Recommended Posts