question

Andreas R avatar image
0 Likes"
Andreas R asked Ralf Gruber answered

modify the source output

How can I stop the source producing parts after 120 pieces by using inter-arrival-time? It must be inter-arrival because i need the adjustment "uniform" for the randomly producing items in a time range.

Thank you.

FlexSim 19.0.2
source
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

·
Ralf Gruber avatar image
1 Like"
Ralf Gruber answered

Andreas,

you can limit the output by adding an Exit Trigger to the Source, that stops the output of the source. To limit the output to 120, you have to check if 119 item already have exited, when the 120th wants to exit so the output is closed after that one.

Add the Exit trigger and choose the pick option "Control/Close and Open Ports" and change the condition as in the picture below:


5 |100000

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

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.