1

I know that for an object to be removed from a pallet rack you need "Rack Pick". However, in one of my models, I have a different configuration where I am using pick up:

Step 1: 10 agents are in the rack

enter image description here

Step 2: Another agent picks them up enter image description here

The way AnyLogic understands the above is that the rack still holds 10 agents, so I get the error eventually that the pallet rack is full. Is there a simple turnaround for this?

Emile Zankoul
  • 2,161
  • 2
  • 6
  • 18

1 Answers1

1

you have to remove the agents from cells with this line of code

palletRack.remove(agent);

put it to your pickup block, "on pickup" trigger.