user 22115
user 22115

Reputation: 1

Multiple agents with same order number

How to pick up multiple agents with same order number in Anylogic?

For example- my arriving agents have order number in the following order: A,A,B,C,A,B,C Then I want 3 agents with order number should be pickup together and move ahead and similarly with B and C.

Upvotes: 0

Views: 193

Answers (1)

Christian Fikar
Christian Fikar

Reputation: 46

There are various ways to do this. You could batch your agents depending on your order number before pickup or use the pickup condition, e.g. pick all agents up with the same id than the first one in the queue.

See here for the help:

Batch - https://help.anylogic.com/index.jsp?topic=%2Fcom.anylogic.help%2Fhtml%2F_ProcessModeling%2FPickup.html

Pickup - https://help.anylogic.com/index.jsp?topic=%2Fcom.anylogic.help%2Fhtml%2F_ProcessModeling%2FPickup.html

Upvotes: 1

Related Questions