question

Luis Adrian E avatar image
1 Like"
Luis Adrian E asked Jason Lightfoot commented

Experimenter with Process Flow

In the model there are two separate dispatchers, one for operators and one for task executers. The model uses Process Flow and works perfectly. However, when I try to use Experimenter to vary the number of task executers in any of the dispatchers, it seems like if the new task executers are not being used for the process. How can I get consistent results for the Experimenter and the 3D model? Am I defining wrong the variables in the Experimenter?

E_experimenter1.fsm

FlexSim 20.2.3
processflowexperimenterflexsim 20.2.3
e-experimenter1.fsm (76.3 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Luis Adrian E, was Jordan Johnson's answer helpful? If so, please click the red "Accept" button on one of their answers. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

I'm not sure how this happened, but Operator3 has a flowitemtype node. To remove that node, open a Script Window, paste in this script, and run it:

Object op3 = Model.find("Operator3");
if (op3.attrs.itemtype) {
    op3.attrs.itemtype.destroy();
}

Once you do this, the experiment variable works properly.

5 |100000

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

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

You have chosen a ligitimate option and set it correctly. However when you choose the defeault reset scenario you'll see that if you go to scenario 1 it will delete the other two operators, but going back to 3 it will not recreate them. And since we don't start all scenarios and have each proceed through the replications it means that all the replications start at one and remove the operators.

It looks like a bug to me - I'll flag it up.


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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Now it looks like a problem in your model as a simple test model doesn't suffer the same issue. Will investigate some more.

0 Likes 0 ·