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.

Denise H2 avatar image Denise H2 commented ·
load2items-autosave.fsm

Here you can find a simulation which shows my problem.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel commented ·

Your current model creates two tokens by the event Send To in your Separator. The first token takes in the next activity Acquire the only available operator. The second token is set to a back order. Your approach is inappropriate to the task you describe. You get into trouble if the first token will load already two items in the model, because what should the second back ordered token accomplish, when the resource gets available again.

0 Likes 0 ·
Denise H2 avatar image Denise H2 commented ·

Hey @Jörg Vogel!

Thank u for your fast answer. Can you tell me how to create just one token in the Seperator or another way how I can fix the problem?

0 Likes 0 ·
Raja Sekaran avatar image Raja Sekaran Denise H2 commented ·

@Denise H2

You can create token by listening to OnProcess Finish trigger in the separator. Here is the updated model. loadtwoitems-support.fsm

0 Likes 0 ·
Denise H2 avatar image Denise H2 commented ·
@Raja Sekaran

Perfect! Thank you, now it works :-)

0 Likes 0 ·

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.