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

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

zan_k
Not applicable
126 Views
5 Replies
Message 1 of 6

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

zan_k
Not applicable

[ FlexSim 19.1.0 ]

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.

19819-2019-06-11-21h27-14.png

0 Likes
Accepted solutions (1)
127 Views
5 Replies
Replies (5)
Message 2 of 6

braydn_t
Not applicable
Accepted solution

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

0 Likes
Message 3 of 6

zan_k
Not applicable

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
Message 4 of 6

zac_h_adsk
Autodesk
Autodesk

@Zan K

Can you please send you current model?

0 Likes
Message 5 of 6

joseph_g3
Not applicable

@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!

Message 6 of 6

zan_k
Not applicable

Thank you. Now it works perfectly on my case.

0 Likes