question

Denise H2 avatar image
0 Likes"
Denise H2 asked Denise H2 commented

Operator loading two items at once via PF

Hey!

How do I make the operator loading two items at once after a separator split a item into two? Do the items have the same label? Because the operator in my simulation just picks up 1 item.. The capacity of the operator is already 2.

Thank u!

operatorload multiple item
· 5
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Here is what I tested. You create two tokens by your chosen event. That is OK. You get at each token the reference to the box to tranport. The next activity is a Batch activity. You add at Label Aggregation by the plus icon a new row.

  • From Label you set your assigned label name of the Event-Triggered Source
  • To Label the same name or different this Label contain the references to load items.
  • Aggregation set Make Array of option list

The batch activity contains by default the parameters to join 2 tokens into one. This token will contain at its label an array of two entries. - I assume you use the same name as firstly assigned ("Seperated") - . Then the tokens enters the Acquire activity and will acquire the operator.

You need to change the reference at the load and unload activities, because the label contains an array.

  • token.Seperated[1] is the reference of the second box at the queue.
  • token.Seperated[2] is the reference of the first box in the queue.
At each activity you load one item by the direct reference.
5 |100000

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