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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ivo PC,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark commented ·

Hi @Ivo PC,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

1 Answer

·
sachin T3 avatar image
0 Likes"
sachin T3 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.

Ivo PC avatar image Ivo PC commented ·

I understand what you are proposing, however, when I tried to do it in my model I could not get it to work. As I said before, I tried to use the incremental counter, but it did not work.

Maybe it is due to the structure of my process flow.

Thank you very much anyway!

0 Likes 0 ·

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.