Hello,
I have a simple model with 1 source, 2 processors, 4 queues and a sink. The source is creating items to the queue called "order arrival" with 2 different item types by percentage ( 60% -> Type=1, 40% -> Type=2). The sequence of other queues, processors and the sink is as follows:
Queue1 - Processor1 - Queue3 - Processor2 - Queue4 - Sink. I create objects on the three queues (Queue1, Queue3, Queue4) at the beginning of the simulation with "create object" elements in the process flow. 50 items are created on Queue1, 20 items are created on Queue3, and 20 items are created on Queue4. These items are also getting labels as item type on entry to the queues by percentages ( like order arrival 60% -> Type=1, 40% -> Type=2). The issue I could not solve is that when an order arrives at the "order arrival" queue and if its type is 1, then firstly I want my operator to get an item from Queue4 with item type equal to 1, and put it to sink. Then, the operator has to take an item from Queue3 with item type equal to 1, put it to processor 2, wait until process is finished and then take the item and put it to Queue4. After this, operator needs to take an item from Queue1 with item type equal to 1, put it to processor1, wait until process finish, then take the item and put it to Queue3. I think I created the most of the necessary elements in the process flow. However, I could not link or make the relation of the item types between the "order arrival" queue and other queues. Therefore, I could not make my model work. My flexsim file is in the attachments.
If someone can help me with this problem, I would be appreciated.