0
votes

It appears that when an agent is picked up by the "container" at point A and delivered to Point B, internally it remains at Point A. I have fought with trying to Dropoff agents at Point B in several models and then move it from Point B, only to realize that when it moves it moves from Point A. I took Felipe's model "Transporting Boxes - Batch and Pickup" and just put a simple move to action after the dropoff, and the agent was moved from the original location A. This behavior cannot be right. What purpose is the dropoff block if the agent stays at the original location? You can see the modified model here See Modified Transporting Boxes to show agent location

Is there a way for the model to actually move with the container and be dropped off and show up at that location? Or would i have to just do a dedicated moveTo block for just the agent? Also even if you specify "Agent Location" in all the queue and delay blocks as the destination, it doesnt appear to show up.

1

1 Answers

1
votes

This is not a bug, the problem is that the default value for the properties for each block is "restore agent location on exit" as you can see in the figure: restore agent location

In the queue after the dropoff if you have that checked, the agent will return to the previous location, which is the node before getting picked up...

Just uncheck that box, and everything will work as you planned... I think you can do that either in the queue block or the moveTo block, it won't make any difference