question

Horn H avatar image
0 Likes"
Horn H asked Horn H commented

Optimize the numbers of TaskExecuters

In my attached model latest.fsm 1.) I try to optimize the number of TaskExecuters to make each Harvester has highest capability (%) by following any constraints in model.

2.) If I need each Harvester has output 25000 within running 100 days ( 144000 minutes),How many TaskExecuters that will be added? I try to use Experimenter to find the solution. I need help to solve it ,and also looking for Experiment and Optimizer tutorial. .

Thanks,

FlexSim 19.1.1
theexperimenter and optimizer
latest.fsm (201.6 KiB)
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

Braydn T avatar image
0 Likes"
Braydn T answered Horn H commented

The Experimenter and Optimizer tutorials are available here.

You will need to use the Optimizer to get the result you are looking for.

As I am sure you know, the Optimizer is not available in FlexSim without an additional License.

In the Experimenter you put in the values you want to change and then see the results. The Optimizer is given values it is allowed to change and then tries to work towards a goal that you give it. One suggestion I would give is to have the Task Executors in a group, and have the Experimenter/Optimizer change the size of the group. Like the tutorials note, you will set up some of the things you need for the Optimizer in the Experimenter.

· 3
5 |100000

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

Horn H avatar image Horn H commented ·

I have read ,and practiced in Run Experiment,run replication on my model.But I don't understand how to set up in Optimizer Design to apply what I need as my description above .I need helps for this.Please assist me !

Kind regards,

Thanks

0 Likes 0 ·
Braydn T avatar image Braydn T Horn H commented ·

The first thing I would do is get working runs in the experimenter with the variable you want to change. Then, I would create a variable that represents the number you want to optimize. In your case, that would be "Harvester Capability" (I am not sure what that is). You will likely need to create global variables that represent these things. Global variables are created in the Toolbox, and those are added to the Optimizer/Experimenter in the Scenarios Tab. Make sure when running your experiments that changing the number of the variable you created impacts the Harvester Capability Variable.

Once you have running experiments, You can go to the Optimizer Design Tab. Since you are changing the number of Task Executors, you will select that Variable and make its type Integer. You will add an upper and lower bound, likely defined by the maximum number of AGV's your real world network can support, or the business can afford. Likely if given no upper limit, the Optimizer would choose a very high number that would not be feasible to purchase in real life.

Next you choose your objective, which in your case is "Harvester Capability". You can choose to maximize or minimize this variable. If this is the only variable you want to optimize, you will choose single for search mode.

After this, your Optimizer should be ready to run. If your model does not have statistical distributions, you can see when your model ends and put that for your run time. If it has statistical distributions, I would check the run multiple replications per solution box, and add a big cushion for the amount of run time.

I hope this clarifies what the tutorials have said.

0 Likes 0 ·
Horn H avatar image Horn H Braydn T commented ·

@Braydn T Your explanation above helps me a lot,Thanks in advance for your helps.

0 Likes 0 ·