Hi everyone,
I'm working on an AGV-network for a project. I'd call myself a FlexSim newbie.
Nevertheless I couldn't find anything online that matches our problem.
A quick overview to the AGV network:
AGVs should collect boxes(FlowItems) that are created and pushed to a list. The AGVs pull the boxes from the list in a separate ProcessFlow. The AGV performs a type of batching by waiting until there are a total of 10 boxes of one color, before the AGV starts travelling. This is done with a simple decide checking a Global Table. This works, as long as we have one AGV per process flow. (aka, one AGV per color).
As soon as we add a second AGV to the same ProcessFlow, the corresponding tokens simultaneously go through the process flow, and thus both decide to leave when the threshold of 10 boxes is reached, even if only one AGV would be sufficient.
What I want to achieve, is to have the second AGV wait and decide to travel based on whether or not the capacity of the first AGV (which is 20 boxes) + the general threshold of 10 boxes is surpassed. So I need to be able to address the AGV tokens individually (via labels or ids?) and access the state and the location of the first AGV, and decide depending on those variables.
What would be a good way to implement this conditional behaviour?
Perhaps separating the AGVs into different Process Flows to avoid the problem is simpler?
Thank you!