question

Kris Geisberger avatar image
3 Likes"
Kris Geisberger asked Kris Geisberger commented

Rack with Dwell SendToPort - Use List and Transport

In the attached model a turquoise item arrives at the rack at time 143.60 (Type 10), dwells for 1 sec, then is pushed to a list partitioned by Type. A turquoise token in the process flow pulls the item and then releases it using releaseitem(item,1), the item is selected red in the same code. Unfortunately the ASRS transports a purple item next, which is still on the list. How can this be?

sendtoport-use-list-and-transport.fsm

FlexSim 18.1.1
listsrackssend to portuse transport
· 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.

Kris Geisberger avatar image
2 Likes"
Kris Geisberger answered Kris Geisberger commented

I changed the return value of the Send to Port "Push to Item List" pick option to -1, now the model works as expected. Only items that have been released are transported. WHEN and HOW a given item is transported is governed by the availability of resources and default port connection logic. Which is great, because it saves the user a lot of work involving some more challenging concepts. This is a common system of pulling inventory based on orders.

Now I ask: How does the FlexSim interpret these return values differently? (-1 vs a non-valid port) Should this pick option be changed to return -1?

sendtoport-use-list-and-transport-queue-2.fsm


· 2
5 |100000

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

Joshua S avatar image
-4 Likes"
Joshua S answered Kris Geisberger commented

So what was happening is that there was a mismatch of the "Type" label between your tokens and your items being pushed to the list. So when it pulled from the list, the token wouldn't match the item you wanted to pull, so it would wait till there was an item of that Type available. In the file I uploaded I have a token created when your item is created with a matching Type label, so you will see it begins pulling in order of what was placed in the rack. Tokens are also now colored coded to match the item. See if the modified model is what you are looking for.

11900-sendtoport-use-list-and-transport-fix.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.