Hello, I have a model with a buffer "RackFinal" that has an entrance control method. Currently, I set the source of MUs to produce 50 parts, the capacity of the buffer to 50 and the entrance control method starts with
if RackFinal.NumMU = RackFinal.Capacity
because I want it to be triggered once there's no more parts to arrive. But I want to make it independent of the buffer capacity or the number of parts produced so I need to replace the code above for something that translates to "start after there's no more parts to arrive".
Please let me know if the problem isn't very clear or if you need me to attach my model.
Solved! Go to Solution.
IF your source simply produces a limited amount of parts then this should work:
if Buffer.NumMU = Source.Number then