question

Dominik K avatar image
0 Likes"
Dominik K asked Braydn T answered

How can I make a processor start, when a badge is ready?

Hi! I am new to FlexSim and find it hard to find exact answers to my problems..
I have a Process (provision) that only should start, when 50 items are in front of the queue.
I differentiate 5 items which are created randomly. Now how can I say, that the process (provision) only starts when 50 products (random products) are in the queue? After going through the process (provision), they then should be brought to different new queues, sorted by product-type.

How can I implement this?

Thank you very much!

FlexSim 18.2.3
queueflexsim 18.2.3batch processingbatch sizeproducts
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

@Dominik K

Have you gone through our in software tutorials? The Process Flow ones would be very useful for all your questions. If I were modeling this, I would have a queue and a processor. I would have a scheduled source in Process Flow that fired at time 0, and a custum code block to close the queue's output port. Then, I would have an event triggered source that listened to the queue, and fired onContentChange. The specific trigger would be increase to or through value, and you could set that value to 50. After the source fires, you can have a custom code block to open the queues output port. The custom code blocks have an option under control in the drop down to open/close ports, so you don't have to write the code yourself.

5 |100000

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