question

Oliver avatar image
0 Likes"
Oliver asked Oliver commented

How should query and object process flow be used properly for floor storage?

I am using queries to sort the flowitems into one bay only and it was working well for one floor storage. When I added another floor storage and attached the object to the process flow, twice the amount of flow items are being made. Also, the extra flow items are all just placed in the first slot. How would I fix this issue so that the correct amount of flow items are being made and the sorting works out properly like it did for when I only had one floor storage? I have tried using a general process flow instead of an object process flow, but the 3 parameter would not be recognized.

Test.fsm

FlexSim 21.0.0
flexsim 21.0.0
test.fsm (64.0 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

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Oliver commented

Yes, you've used an instanced process flow for processes that sound like they should only be done once - anything in an instanced process flow applies to all instances - of which you have 2 floorstorages. The AGV template also does this but has a trick to allow only one token to persist in certain parts of the flow. You could use that as an example or remove the parts of process that should be done once and put them in their own process flow.

The first thing to determine is which parts of your process should only be done once and ensure they only get one token (by the AGV technique or putting them in a general process flow).

You're only using current in one place, so you just need to replace that with some way of finding slots by token.StorageArea. You could put a label on the rack called StorageArea by which you could match the slot, or use the Address Scheme to identify by the AisleID or ZoneID. Or you could use port connections from some object to the racks to find the rack object based on token.StorageArea as a port number and then use that as a direct substitute for the 'current' parameter in the findSlot activity.

· 3
5 |100000

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

Oliver avatar image Oliver commented ·

Thanks for the response. I separated them into a general process flow and two object process flows and it is working. I was wondering if you could expand on the way to condense it because I am going to have roughly 20 storage areas.

Test.fsm

0 Likes 0 ·
test.fsm (73.4 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Oliver commented ·

If the object processes are identical then you can have multiple instances for that once process; refer to each object as 'current' within the process flow and refer to related objects using label pointers and/or connections.

0 Likes 0 ·
Oliver avatar image Oliver Jason Lightfoot ♦ commented ·

I got it to work, thanks so much.

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.