Can we use optquest to max through put and min the waiting time of Queues1,2,3,4.
After processor 1 it neds to take a decison which queue to enter so that avg waiting time is min and maximizes the throughput
Can we use optquest to max through put and min the waiting time of Queues1,2,3,4.
After processor 1 it neds to take a decison which queue to enter so that avg waiting time is min and maximizes the throughput
After Processor 1 I need to choose out of 4 queues , one queue which ever queue is having less stay time average.
Can I choose option variable as shown in image. With four options to choose from ?
Below is the code I am trying to use for parameter in option variable
Model.find("Queue").as(Object).stats.staytime.average
How to proceed further in setting this parameter
Hi Sudheer, choosing the queue with the lowest average staytime is an algorithm, or logic built in to the model; it's not really an input parameter. If you have a group of queues, finding the queue with the lowest avg staytime can be done with code like this:
Array queues = Group("Group1").toFlatArray(); double minAvgStaytime = 0; treenode minQueue; for (int i = 1; i <= queues.length; i++) { Object queue = queues[i]; double avgStaytime = queue.stats.staytime.average; if (i == 1 || avgStaytime < minAvgStaytime) { minAvgStaytime = avgStaytime; minQueue = queue; } } return minQueue;
If Choose the Queue based on your logic, then we are automatically minimizing the avg staytime right then which in turn gives maximum through.
Then no need to use optquest in this scenario. Correct me if I am wrong
Of course you can. You need to somehow create a variable that models the criteria to choose which queue to take after Processor1. This variable will be your input parameter. Then you need to create two performance measures: throughput of the line and waiting time in Queues.
After that, you just need to set up the Optimization study. For more info you can check this out:
Exactely Roi I agree with this approach to find optimal solution using optquest. However I have a question about this new paradigm of Reinforcement learning and training the simulation model, I definetely do not understand why we need to use reinforcement learning to find optimlal solution while coupling simulation with optquest did provide good solution?
Hi @Salma F2,
Please post your question as a new post. This will make it easier for us to address your question. Please see Best practices for using this Answers site - FlexSim Community for more details.
Feel free to link to this post in your new question for clarity. Also feel free to use "@" to tag anyone on this post that you think would be able to help you answer your question. Thanks!
18 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved