question

sang avatar image
0 Likes"
sang asked Joerg Vogel commented

Tokens are multiplied by the number of operators

tokens problem.fsmIn my model, tokens are multiplied by the number of operators. but I just want to create the number of sources that i specify in the quantity tab(Source). It works fine in the Process Flow but tokens are multiplied when i used it in the TaskExecuter.


FlexSim 19.0.0
process flowflexsim 19.0.0
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

·
Jeanette F avatar image
1 Like"
Jeanette F answered Joerg Vogel commented

Hello @sang,

You are using a task executor process flow and have attached two operators to the flow. This means that each operator will carry out the process flow. So operator 1 will have two tokens created that then each create a flow item and then those items are carried by the operator.

I would recommend using the process flow tutorials and Dr. Allen Greenwood’s FlexSim Primer. They are great resources for learning.

· 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.

sang avatar image sang commented ·

Thank you for your comment! but I used the task executor process flow to command the operators in a single code using current (instances).

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel sang commented ·

@sang, Jeanettes' answer describe exactly what your model does! If you need a different logic, you have to change your logic.Please tell us, what you want to achieve in a new question. Thank you for your patience. Regards Jörg

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.