question

ejust avatar image
0 Likes"
ejust asked Jason Lightfoot edited

How to end simulation run after last flow item being processed?

I have this model that a specific number of orders created in an OrderQueue < picked by operators to processors < finished processing < transported to conveyor/dispatcher.

I want my model run to stop once the last order is dispatched. I need this for my statistics.

FlexSim 22.2.0
run timesimulation run
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Call endreplication() when you evaluate the stop condition to be true.

· 3
5 |100000

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