question

TalHzf avatar image
0 Likes"
TalHzf asked TalHzf commented

waiting in Queue untill the desired quantity reached

Hi all,

I am doing a simulation for a Rework-Process for the modell attached and I have some questions:

1. I need to send the Items from Processor 2 to the Queue by Type( Type1,2 and 3)and wait untill I have 2 boxes in every queue and then I can send it to the next operation.

2. The Cell1 and Cell2 represent the same Machine but every Cell has it own Processing time, The problem is that I can't release The Box from Cell2 untill the ende of the Processing time in Cell1.


Thank you so much

Model Kd test.fsm

FlexSim 22.2.0
reworkitem release
model-kd-test.fsm (35.6 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered TalHzf commented

1. Would the queues be closed for further input until the six items have moved on? Or is it more of an ongoing condition (only release if there are at least two in each)?

2. This can be done by opening/closing the output of the second cell. Close it when an item enters cell2 (On Entry trigger) and open it again when an item finishes processing on cell 1 (On Process Finish trigger)

· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

TalHzf avatar image TalHzf commented ·

Hi @Felix Möhlmann ,

Thank you for Your answer.

1. The boxes schould be processed two by two, it means that I can only send when at least 2 boxes from the same type are in the queue.

2. I tried opening/closing the output , but It didn't work, I don't know why. I just want to mention that when the Processing time in Cell1 < Cell 2 we don't need triggers, but when the Processing time in Cell1 > Cell 2 , Cell 2 should wait untill ende of Cell1.


Thank you

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann TalHzf commented ·

1. Then you can just set the queues to use batching behaviour. In order to make sure that the pairs don't get mixec up, I would have the queues push them to a list. The processor can then pull them off in the correct order.

2. Another question would be if this applies always (an item can never leave cell2 without an item waiting at the end of cell1) or only pair wise (the first item in a pair has to wait for the second, but the second can continue immediately).

The difference between the two would be a condition that the output of cell2 is only closed for every second entry.

model-kd-test(1).fsm

I've build a faster scale example so the logic is quicker to observe.

0 Likes 0 ·
model-kd-test1.fsm (39.7 KiB)
TalHzf avatar image TalHzf Felix Möhlmann commented ·
Hi @Felix Möhlmann ,

I think I didn't explain good my case.

I have a machine which is simulated with 2 processors, the doors of the machine open once when the biggest processing time Cell is finished.Sometimes the Cell2 is bigger than Cell 1 and in this case there is no problem, because the item in Cell1 is waiting. But when the Processing time in Cell1 is bigger than processing time in Cell2, Cell 2 should wait because the machine open its doors at one time.

I hope I coould good explain my case , Thank you so much for your help

0 Likes 0 ·
Show more comments