How to control a group of operators in process flow ?

How to control a group of operators in process flow ?

wei594055
Not applicable
45 Views
2 Replies
Message 1 of 3

How to control a group of operators in process flow ?

wei594055
Not applicable

[ FlexSim 22.1.0 ]

Hello,
I want to make a group of operator to load boxes,but it keep running task error,that i cant find where is the problem.

Please see the attached .fsm file.
pull-by-globaltable-jn1.5.fsm

Regards,

Shawn



0 Likes
Accepted solutions (1)
46 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Participant
Participant
Accepted solution

After the first batch of items is transported to Queue1, both operators will start to work at the same time. In your process flow, you tell them to always load the first item from the queue. This causes both operators to want to load the same item, meaning on operator will 'steal' it from the other, leaving them with only four items loaded. The process flow assumes that they will always load 5 items, so the last token in the unload usb flow causes an error, because there is no more item to unload on one of the operators.

To prevent this, you should tell the operators which items to load, so they don't interfere with each other. You can do this by assigning a reference to the item in the event triggered source and then aggregate those references into an array in the batch activity. Using the creation rank of the subflow tokens, each token holds information about which exact item should be loaded.

1652078220524.png

pull-by-globaltable-jn15-fm.fsm

0 Likes
Message 3 of 3

wei594055
Not applicable

Got it! Now I know how to worked!
Thanks for your answer.

0 Likes