question

Connor M2 avatar image
0 Likes"
Connor M2 asked Connor M2 commented

How to pull 2 operators from a list, and reference operators in process flow?

I'm looking to utilize the custom processors with operators. In order to pull the operators, I'd prefer them to be pulled from a list which is parametrized. As currently set up, the token pulls two operators and stores them in an array. However, later in the process flow, the label on the token is being referenced by its first index only.


See: When the operators are pulled, only one of them travels to the processor.


Is it possible to reference task executers in a token array similar to the fashion I'm trying to currently?

Is there a better way to reference global operators that what I'm trying?

See attached.
Pulling2OperatorsFromList.fsm

FlexSim 21.1.2
operatorsflexsim 21.1.2global listprocessorsmultiple operators
· 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.

1 Answer

Eric M avatar image
2 Likes"
Eric M answered Connor M2 commented

Hi @Connor M2, the easiest way to do this is with the "synchronize" activity in process flow. You can see I've added this to the first part of your model (you may need to move the operators so they're apart before running it to see how it works). I also changed the acquire resources to only pull 1 operator and changed the resource to reference the group of operators instead of the list. You can use this same process for using two operators to move the boxes from the processor too.

There's also a great tutorial in the manual that might be nice to look at if you would like.

pulling2operatorsfromlist_EM.fsm


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