question

Raja Sekaran avatar image
2 Likes"
Raja Sekaran asked Raja Sekaran commented

How to create multiple scenario for process flow model?

In my model, how to run multiple scenario analysis for Nurse,Physician,Receptionist based on the global table value in process flow model.Here i have attached my model.health-care-processs-flow.fsm

(NOTE : Using this scenario analysis,I want to know the best combination of resources to get maximum throughput) .Any help is appreciated.

FlexSim 16.1.0
process flow for combiner
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

·
Sam Stubbs avatar image
1 Like"
Sam Stubbs answered Raja Sekaran commented

Actually for your experimenter it should be fairly straight forward. For each of your resources it looks like the number of resources is referencing a table value. So in the experimenter you can just add a new variable for each of the resources you're looking at, and just have the variable reference the table value. (For example with your Physicians, simply click on the green '+' sign to add a new variable to the experimenter, and select Value from a Global Table. Then pick your table name, "number of physician," and the row and column number.)

If any of your resources are not pulling from a table, what you may want to do instead is create that value as a global variable or a Process Flow variable, and have the resource reference that number. Then in your experimenter you can create a variable that references the variable you created.

Finally as for you ultimate goal of finding the best throughput. You could of course run several scenarios in the experimenter till you find what you're looking for. However, FlexSim also has a tool called OptQuest, which is designed to find an optimal set of scenarios based on whichever criteria / variable you're trying to achieve. I unfortunately am not as familiar with OptQuest, so you'll want to read up on it in the documentation. (It's found under the "Optimization in Flexsim" section of the manual.) and of course you can always ask people here on the forums for help.

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

Raja Sekaran avatar image Raja Sekaran commented ·

@Sam Stubbs Thank you four your reply. I have added scenarios to variable for the resources that i am looking at, like you have mentioned above. After running the replication, experimenter does not show up any result related to that scenario. I have attached the result for the scenario for your reference. Is there any way to overcome this problem?

healthcare.fsm

2 Likes 2 ·
healthcare.fsm (45.4 KiB)
experimenter-1.png (28.5 KiB)
Sam Stubbs avatar image Sam Stubbs ♦ Raja Sekaran commented ·

So after running the experimenter, I found that your experimenter was working by putting the full gettable() commands as strings into the tables rather than executing them. So it seems that the scenarios table will only take what ever is in the cell directly, and it won't run any commands or flexscript. I was mistaken earlier. I entered all of the numbers into the cells based on your tables and it worked.

I've reattached your model below:

2527-healthcare-autosave.fsm

0 Likes 0 ·
Raja Sekaran avatar image Raja Sekaran Sam Stubbs ♦ commented ·

Thank you @Sam Stubbs it works perfectly.

2 Likes 2 ·

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.