How do I set Dispatcher to make each operator to load 4 items?

How do I set Dispatcher to make each operator to load 4 items?

jie_j_l
Not applicable
0 Views
3 Replies
Message 1 of 4

How do I set Dispatcher to make each operator to load 4 items?

jie_j_l
Not applicable

[ FlexSim 17.2.5 ]

There three operators.Each operator load 4 items. But when I use Dispatcher,each operator just load one item.How do I set Dispatcher to make each operator to load 4 items?

0 Likes
Accepted solutions (1)
1 View
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

I use the dispatchers' On Receive Tasksequence trigger to push the ongoing tasksequence to a global list in a source code.

List("TSList1").push(ts);

A process flow watches this list. Each time an entry occurs a token is created. A batch activity collects 4 tokens and releases one token. This token pulls 4 tasksequences from the list as an array called pulled and aquires an operator as a resource. Then a Call Sub Flow activity dispatches the 4 taskseqeunces to the resource. After the resource gets available again, the transports have been finished, the resource is released.

26663-transport-4-items.jpg

load-4-items.fsm

0 Likes
Message 3 of 4

joerg_vogel_HsH
Mentor
Mentor

The attached model dispatches 4 transport tasksequences in a cluster of 4 intermediate dispatcher for one operator.

26674-hardcoded-dispatching-tasksequences.jpg

I use source code loops to open and close the input and output of the dispatcher in the cluster. You can replace the cluster by one dispatcher, if you count the incoming tasksequences. You close the input, if such a dispatcher received 4 tasksequences.

transport4items.fsm

0 Likes
Message 4 of 4

jie_j_l
Not applicable

Thanks, Jörg Vogel.It's useful and provide a new idea of modeling.Thanks

0 Likes