I am modeling order picking in anylogic: At the moment I create a population of agents and give them to the enter-block via an event. This block is connected with a rackstore block and puts the agents in the racksystem. In a statechart of a person (when the person arrives at the agent location), the agent is taken and put into another enterblock, which is just connected with a sink -> the agent is removed from the racksystem.
Problem: If I want to store agents in the racksystem again, the cells (where agents where before) are occupied. I think the reservation of the cell is not discarded. How can I solve the problem?
Or: Is there a better solution to store and/or remove the agents ? Maybe without using flowcharts at all?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…