question

mary avatar image
0 Likes"
mary asked mary commented

Arrival part query

Hello,

I have a model where I want to send 4 quantities of first part. Consider part AA(mentioned in source), the first quantity should be sent to Queue1 and 2nd quantity should be sent to Queue2, 3rd quantity should be sent to Queue3 , and 4th quantity should be sent to Queue4. Then the 2nd part AA (mentioned in source) should move to the other 3 buffers same as above.

No part should be sent until all the parts are consumed in Processor 2 and Processor 3. Once part exits from Processor 2 and 3, next part BB (mentioned in source) should enter in the same order given above. Consider all the buffer capacity as 1.

1662612824463.png


Model Name : dummy_model.fsm

FlexSim 20.0.10
queueprocessor
1662612824463.png (140.5 KiB)
· 1
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

Kavika F avatar image
1 Like"
Kavika F answered mary commented

Hey @mary, here's a model that may work for your problem.

It makes tokens at the farther Queues (5, 2, and 1). If they're empty, then they create a box there. Since all the Queues are hooked up sequentially, you only need to add boxes to the last one and they'll naturally flow toward the Processor. Then I batch them all to make sure all of the boxes in a single line are finished. Once all lines are finished processing, then I create more tokens to spawn more boxes. Here's what the process flow looks like.

1662667543505.png


1662667543505.png (73.5 KiB)
· 1
5 |100000

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