In the model attached below, how do I give the priority for BufferM1 over BufferM123?
I want to achieve the following. If there is BatchX planned via the delivery tables for the corresponding machines, then the Machine should process it over the BatchY, which is delivered from Buffer123.
BatchY should wait until one of the machines is free. If more than one is free, then should choose it randomly.
Is there a way to achieve this via Pull Control or Exit Control?
Thanks in advance
Solved! Go to Solution.
please start with the following example of the Example collection on the Start Page:
Category "Discrete material flow", Topic "Pull control".
For your problem we use a pull control of the stations M1, M2 and M3.
The blocking list can contain one or two movable units (MU).
The MUs of the class BatchX have higher priority.
For the verification I recommend to use 3:00:00 for the value SourceY.Interval.
Then you will see the event when two MUs are waiting for a free machine M1, M2 or M3.
The attached model is for Plant Simulation 12.0 or later.
This is the program for the pull control:
if BlockTable.yDim = 1 then
if BlockTable[1,1].class.name = "BatchX" then