question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Matthew Gillespie answered

Loading the items looks strange looks like bug?

As shown in below image, In Load , the Item is /Rack1/Tote/Product and you can see the Run Time is 10.32

Now in this Image Run Time is 17.95, In Load , the Item is still /Rack1/Tote/Product. Where as all the previous Items which are waiting at Enter Zone are Loaded but still this is showing at Load activity.

Token with Item Label /Rack1/Tote/Product is first to enter the Zone, but even after the previous tokens are exiting still this token with Item Label is /Rack1/Tote/Product is at Load activity.

Could some one explain how this logic is working. I am attaching the model for reference. 24061-model1-simplified.fsm

FlexSim 19.0.0
load
doubt1-li.jpg (812.0 KiB)
doubt2.png (128.8 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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

I'm not really sure what your concern is, but I'll try to explain what's happening.

First of all, all of the boxes have the same name, "Product", which can get a little confusing, but the item will also have a number after the name if it's not the first item with a duplicate name. So when the first token is in the load you'll notice that the token.Item is /Rack1/Tote/Product and the tokens on the Enter Zone activity have their Item labels set to /Rack1/Tote/Product~2, /Rack1/Tote/Product~3, etc. So the first token is pointing at the first box in the tote, the second token is pointing at the second, the third at the third, etc.

Now, put a Delay activity after the Load activity and run the model until the first token gets to the Delay activity. Now that token has an Item label set to /Operator1/Product. The tokens on the Enter Zone activity have their Item labels set to /Rack1/Tote/Product, /Rack1/Tote/Product~2, etc. So the first item in the box got moved into the operator and now the tokens in the Enter Zone are pointing at the new first item in the box, the new second item in the box, etc.

5 |100000

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