question

Abdalla O avatar image
0 Likes"
Abdalla O asked Abdalla O commented

how to control the amount of items releasing from queue

hello,

i'm trying to simulate a sample supply chain,i have one supplier that provide items in uniform distribution and it stores the items created in 's inventory' then i want it to send a specific quantity Qf once lets say 100 items to 'RAW M inv' when the quantity in the previous one is a specific quantity Qo lets say 20 items

FlexSim 17.2.5
queue contentinventory controlsupply chian
untitled.png (143.9 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

·
Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Abdalla O commented

For logic like what you ask, it is usually best to use Process Flow. In the attached model (supply-chain-demo.fsm), I made the following 3D model:

Notice that the first Queue is not connected to the second. That is because as long as they are connected, the first Queue will simply send its items downstream.

Now, however, we need to find a way to move the items when we want. For this purpose, I made the following Process Flow:

The basic idea is that all inventory items are pushed to a list as soon as they arrive. The token that comes from the Replenish Control source waits for Queue2 to get to 20 items or less, and then tries to get 100 items from the list. Once the token has acquired up to 100 items, it then moves those items to the second queue, and goes back to waiting. In this way, the Process Flow defines the logic of the model, while the 3D objects define the layout.


· 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.

Abdalla O avatar image Abdalla O commented ·

thank you very much

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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