question

David Chan avatar image
0 Likes"
David Chan asked Felix Möhlmann answered

Pull by weight and whole discrete quantity

packing logic.fsmHi I am using List to model a packing operation. The item to be packed come with weight. The carton box required certain minimum total weight of the item.

The question are

1. how do I include the last token into pulled item? In the model enclosed, my last token is in the array of the pulled but visually the token still at the Push to List.

1665637602145.png

2. In addition to weight requirement, how do I add a minimum quantity in the carton as the requirement? that is say the first criterion is minimum weight is 50 kg, the second criterion is the minimum number of token needed to pulled is minimally 10.


Looking forward to your help


David

FlexSim 22.2.2
listpull by weight and qty
1665637602145.png (81.1 KiB)
packing-logic.fsm (39.1 KiB)
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

I don't think you can do both at the same time in a single action (not with the standard activities anyway). My suggestion would be to incrementally pull tokens until both condition are fulfilled.

1665652461816.png


1665652461816.png (20.7 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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