question

Emmanuel GL avatar image
0 Likes"
Emmanuel GL asked Joerg Vogel answered

Vary number of operators/processors in experiment

How can I vary the number or operators or combiners or processors in an experiment?

FlexSim (other - please specify)
FlexSim (other)
experimenter variable selection
5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

The Experimenter varies discrete or continous numbers. You must check your model if there are structures that you can control by numbers. For example a dispatcher sends tasksequences to 5 Operators, then you can set the Pass To function to choose from an array of the output port numbers which operators are accessible in an Experimenter Run.

Or you can call a stop object at a reset trigger in your model to reduce the number of available processors or combiners on a simulation run. The stop ID is set to a value that you don't use in any other resume function in your model. The objects won't get to work then. You vary the objects by setting an Array of treenodes of them of the same class. Then you choose from the Array a number of entries which you call the stop object command on.

This number can you vary in the Experimenter.

How you choose and in which combination is up to you. You have to write a code or build a ProcessFlow for that.

Before you write the variations in the reset triggers of the experimenter, you should test your control mechanisms in single simulation runs. And you must be certain that your model still works with the reduced number of available processors, combiners and operators.

You won't find a switch or an option that you can set and FlexSim does what you want. You must prepare your model by yourself.

5 |100000

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

Suraj J avatar image
1 Like"
Suraj J answered Emmanuel GL commented

Please see this answer:

Experiment with operators

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

Emmanuel GL avatar image Emmanuel GL commented ·

Not helpful Problem was not solved. Still not working

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.