question

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

How to use a list to display the current items in a Queue

Hi, I am a beginner, and I would like to use a list to store and access the items in my Queue (2340_output1), where different colors represent different types of materials.

I tried using "push to list" on entry and "pull from list" on exit, but the result was not what I expected. I would like my list to show only the current state of the items in the Queue.

Could you please let me know how I can achieve this? I would greatly appreciate your help. Thank you very much!

1739810988653.png

FlexSim 24.2.2
listprocesss flowlist pull from list
1739810988653.png (87.9 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
0 Likes"
Felix Möhlmann answered

Your approach should work. Without looking at the model I can't say what setting is wrong, though.

Here's a working example.

queue-list.fsm


queue-list.fsm (36.2 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.