Jump to content

Entities not Unloading the Transporter (urgent)


Recommended Posts

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.

imagem_2024-10-10_013404686.png

imagem_2024-10-10_013812822.png

imagem_2024-10-10_013838469.png

Link to comment
Share on other sites

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

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 by ViniciusF
Link to comment
Share on other sites

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

×
×
  • Create New...