I am working on a model with 3 agents : ULDs, Boxes and Forklifts. The ULDs are bringing a given amount of boxes that the Forklifts have to take to a storage zone. Sometimes, these Boxes go through a no read zone, where they drop the box for a few seconds before taking it back to the storage zone.
The issue is that when a Forklift is waiting in the no read zone, and a ULD brings new boxes, even if the forklift is linked to its box, it will exit the zone, go to store the new box and after that come back to store the box that its linked with.
I wanted to know how to make it like the Forklift is forced to first take care of its linked box before going for an other one.
no read zone logic
moveby logic
no read store logic
store when the box doesn’t go to no read zone logic
I tried to modify the forced pushing and preemption parameters of the moveby and store blocks, but it doesn’t work