question

Ivo PC avatar image
0 Likes"
Ivo PC asked Ryan Clark commented

Create loop in process flow

Hello everyone! I would like to know if you can help me to create a loop in the process flow to make the simulation repeat as many times as I want.

I have tried with subprocesses and counters (incrementable labels) but I can't get it to work.

Any recommendations?

Thanks.

example_1.fsm

FlexSim 19.2.4
process flowflexsim 19.2.4loop
example-1.fsm (58.9 KiB)
· 2
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

10Dulkar avatar image
0 Likes"
10Dulkar answered Ivo PC commented

i used decide object to do that. basically tier down the basic functionality of a loop, you need an increment, you need a condition to see if your incremented values is exceeding and the body.

1631125530943.png


1631125530943.png (46.1 KiB)
· 1
5 |100000

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