question

Mohamed Eldakroury avatar image
0 Likes"
Mohamed Eldakroury asked Mohamed Eldakroury commented

Acquire multiple operators from a resource list

Hello,


I need to a acquire multiple operators and assign the same tasksequence to all of them. It seems like a token is able to acquire the resources needed and assign them to a label called "resource". "resource" is an array of all the operators acquired. However, when I use the "resource" label for subsequent tasks, only the first operator in the array gets assigned things to do while the rest are marked as idle.


Is there a way I can reference the whole array of operators in subsequent tasks?


This is a model that was posted by @Jeanette F that I'm trying to build on and learn how to create my own custom basic FR.


Acquire Multiple Operators.fsm

FlexSim 23.2.0
processs flowcustom object
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

Paula LG avatar image
0 Likes"
Paula LG answered Mohamed Eldakroury commented

Hi Mohamed,

There are several ways of doing what you asked. One easy option is creating a SubFlow where you send a quantity of tokens (in this case, the quantity would be NumOperators parameter), so that each one of them can handle its own resource.

I attach your modified model here: acquire-multiple-operators.fsm. Take a look at it and let me know if this is something that could work for you.

I hope it helps!


· 6
5 |100000

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