question

Zan K avatar image
0 Likes"
Zan K asked Zan K commented

How can I process one item at a time, after batching in queue?

Hello,

I am trying to process one item at a time from a Batch.

I am batching 40 items in Queue1.

Then they have to move one item at a time from Queue1 to Rotacijski zalogovnik.

At any time there can be max 40 items in Queue1. But not less.

Trying to simulate a conveyor that moves incremental. just for a space for one item every time that comes an item from combiner (zakovanje).

Any Ideas? Thank you alot.

FlexSim 19.1.0
batch
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

Braydn T avatar image
0 Likes"
Braydn T answered Zan K commented

Hi @Zan K

Here is an example of what you were doing. I have a source create a token at 0 time that waits for Queue 1 to fill with 40 items. after that, it releases the token, and waits for another box to try and enter Queue 1. When that happens, it moves the item from Queue 1 to Queue 7, and then has a breathe of 0 time so that the 2 events don;t trigger at the same time. I put a processor in so you can see the boxes moving, because if it was just a queue it would move through them in 0 time and you would not be able to see them. You should be able to implement this as it and put anything before Queue1 and after Queue7.

converyorwqueues.fsm


· 4
5 |100000

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

Joseph Gillespie avatar image Joseph Gillespie commented ·

@Zan K

I checked Braydn's model and there was a small error that made it so that it didn't work as he wanted it to. This should work correctly: conveyorwqueuesupdated.fsm

Queue1 will fill up until it has 40 flow items and then each time an item enters it, it will release one item to Queue7 (Rotacijski zalogovnik). Let me know if this works for you!

1 Like 1 ·
Zan K avatar image Zan K Joseph Gillespie commented ·

Thank you. Now it works perfectly on my case.

0 Likes 0 ·
Zan K avatar image Zan K commented ·

sorry, but it does not work for me.

I just need the Item to go from Queue1 to Rotacijski zalogovnik one by one, after it reaches 40 pieces.

After Queue1 reaches 40 pieces simulatineus one piece enters Queue1 another one exits it.

If you have any ideas on how to reach this please help. I am losing my mind :)

0 Likes 0 ·
zacharyh avatar image zacharyh ♦ Zan K commented ·

@Zan K

Can you please send you current model?

0 Likes 0 ·