a queue have 10 item and i want send 3 item to port 1 and 7 item to port 2
a queue have 10 item and i want send 3 item to port 1 and 7 item to port 2
Hi @Nguyen Thai , was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.
In a given order or at random?
In both cases I would first initialize an array with the distribution of port numbers (7 ones and 3 twos).
If the order is fixed, the array should contain the port numbers in that order and you call them according to the output stat of the queue.
If random, pick and remove a random entry from the array and send the item there.
thanks for your help
flow item similar to my attached file mophong cell 4 buoc_autosave.fsm
but layout look quite complicated
How can i make it look simpler.
And have a problem at the end order, because batch at queue 1 is 10 due to some WIP inventory at queue, i want it go to queue next
Other than that you would need a way to determine that no more items are expected to arrive. If the source creates a fixed number of items, you could alter the batch quantity after all full batches have been released.
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved