question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Felix Möhlmann answered

Optquest to choose best route for the product

Below image shows different routes for the product . I need to find which route gives high throughput for product

Total 9 routes are there to choose from for the product to travel.

Each route is shown in the picture.

Each processor has different process time.

I am trying to use Optquest to solve this.

How to formulate this one in optQuest.

Any feedback on this is?

I am attaching the model for reference

BestRoute.fsm

1631090089077.png


FlexSim 21.1.3
optquestflexsim 21.1.3
1631090089077.png (86.1 KiB)
bestroute.fsm (137.2 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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered SudheerReddy commented

The optimizer needs two things: Parameters to vary between the replications and one or more performance measures to indicate how "good" a chosen set of parameter value is.

The performance measure in this case could simply be chosen as the input of the sink (how many items were processed during the replication run).

The parameters have to control the path the items take. In this case, I would add two parameters. The first controls which processor the items go to first (1, 2 or 3) and the second parameter the next one (4, 5 or 6).

There are numerous ways of how to build the model so the parameters decide where the items go. In the attached example I opted to use port-connections between the processors and have the parameters control the output port number in the "Send to Port" option. Thus, both parameters can take values between 1 and 3.

In the experimenter/optimizer window, activate both parameters in the list on the left side of the "Szenarios" tab.

1631100531340.png

Then, set the objective to maximize the performance measure you created (Throughput).

1631100582830.png

If you run the optimizer now, the result will tell you that it's best to send the items to the first processor first and then either processor 4 or 6 (as both have a lower or equal process time compared to processor1).

bestroute_fm.fsm


1631100531340.png (7.0 KiB)
1631100582830.png (5.1 KiB)
bestroute-fm.fsm (210.3 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.