question

Thin Tn avatar image
0 Likes"
Thin Tn asked Thin Tn commented

Query all of the same types of various racks in a list

Hello, esteemed teachers and everyone, I am working on a model for a component manufacturing plant. I am implementing the process for operators to pull materials according to item type from pallets on the rack. The operator's activities are running smoothly, but my model stops at time 9407. I think this is because the forklift cannot find the item on the created item list, as the WHERE ItemTypeM == puller.Type command only requests the types on the current level and cannot pull the same type items on other levels and racks. My model may be difficult to understand due to the amount of information, so I would like to ask how I can query all items of the same type on all racks to reference for the forklift's load operation. I sincerely hope for everyone's help in the community. Thank you all.findtypeitem.fsmz4468338176674-9f9a49436357dce9b99dd4093e888eb4.jpg

FlexSim 19.0.0
list querycall flowitem in listitem types
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 Thin Tn commented

You can create an expression field that reads the Type of the items on the pallet (in this case from the first item, since there are no mixed pallets). Note that the expression field is dynamic and checks if there actually are any items on the pallet. This is needed because the pallets are created empty inside the rack. If you first create the pallet, then fill them with items and only then move them into the racks this would not be needed.

1687871597316.png

Then you can query directly for the type.

1687871638515.png

The model still stops because there simply aren't any more items of type 1 in the rack.

findtypeitem_1.fsm


· 1
5 |100000

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

Thin Tn avatar image Thin Tn commented ·

Thank you for your help, it is very useful for me.

0 Likes 0 ·

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.