question

Adrian M avatar image
0 Likes"
Adrian M asked Felix Möhlmann answered

Objects Loaded and Unloaded Incorrectly

My objects are taken from one queue and incorrectly placed in another queue; however, I have verified most of the process flow logic is accurate and the objects are still loaded onto the operator and placed in a queue incorrectly.


In the first screenshot, I gave the token a label Transport3 which should have been generated and assigned at the event-triggered source. However, the location of the object, for some reason is at ATPTestInspection. Technically this token should have never been generated especially if the object is not at the Transport3Queue (event-triggered source).

1710272850702.png

The Load and Unload activities are calling out the locations the object needs to be at accurately.

1710272887302.png1710272909143.png

Also, if the object were to be placed in a completely different queue, then a unique label would be generated for it depending on which queue it entered since all my queues are set up the same way as demonstrated in the screenshots.

I believe the error message in the screenshot is due to this problem.


Here is another part of my model with the same logical approach that is working as it should be:

1710273187763.png

1710273215247.png

1710273232286.png


Will this problem occur due to the queues being stacked on top of each other? Essentially, in my model the queues are placed in the same location.

FlexSim 23.0.2
queueloadtokenobjectunload
1710272850702.png (149.5 KiB)
1710272887302.png (155.0 KiB)
1710272909143.png (151.9 KiB)
1710273187763.png (160.8 KiB)
1710273215247.png (165.6 KiB)
1710273232286.png (160.6 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
1 Like"
Felix Möhlmann answered

The error message might be caused by removing an item from a processor before the process time has elapsed. My guess would be that the "Wait for Event" activity might wait for any item to finish processing, resulting in the second token getting prematurely released together with the first.

The activity should wait for the specific item to finish processing. (See example screenshot)

capture1.png

Maybe this also causes the item to be in the wrong location, but I can't really say without seeing more of the model.

You probably can't upload the model, but seeing more settings of the Process Flow activities and the relevant section of the 3d model might give more insights.

If that would allow to upload the model, you can also make the question private so only direct FlexSim staff can see it.


capture1.png (11.1 KiB)
· 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.

Adrian M avatar image Adrian M commented ·
Thanks Felix! Your solution took care of my problem. I initially made everything assign but experienced some other problems, so I made it none.


After using match, it worked as intended and the model runs as it should now.
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.