question

h3xod avatar image
0 Likes"
h3xod asked Long G commented

Pulling a specific item from a list and send it to a processor

Hello,

I am trying to pull an item from a list that is generated on a storage. From this list i am selecting an item based on a specific value to send it to a processor. After the process, i assign a label to specify that the item has been processed (it returns to storage), and loop continues to "scan" the storage list in order to send any new corresponding items to be processed.

i have tried to this in so many ways in the process flow, and i cant get this to work. My latest try is uploaded in this question along with the flexsim model i am using.


Cheers.

ProdTest.fsm

2023-02-09 18_34_42-FlexSim 2023.fsm.png

FlexSim 23.0.3
itemlist and processflow
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

·
Long G avatar image
2 Likes"
Long G answered Long G commented

In your picture,these points should be changed.

1.Pull from List :'WHERE' not 'where'

2.Move Object & Assign Labels :'token.pulled' not 'token'

· 7
5 |100000

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

h3xod avatar image h3xod commented ·

Thanks @Long G , i have made the changes but it does not resolve my issues.

0 Likes 0 ·
Long G avatar image Long G h3xod commented ·

oh,i forget tell you insert Delay with 0s .It always useful.

2023210-155739.png

23.1.fsm

2 Likes 2 ·
2023210-155739.png (104.7 KiB)
231.fsm (71.8 KiB)
Felix Möhlmann avatar image Felix Möhlmann Long G commented ·

Furthermore, you should disconnect the queue "StockCentral" from the Picking queues. Otherwise what happens is this: An item gets created, moves through Picking1 into Debit1 then gets moved back to a Picking queue by the Process Flow. This leaves pending events on Debit1 for items that are now at other points in the system which leads to errors or weird behaviour later on.

Also, what is the function of the separators supposed to be? They currently do the same thing as a processor would, since they are set to unpack but the items do not have any subnodes.

And finally, with your current logic you end up with items where Famille = Frappe not on the list while all others stay on it. Is this wanted behaviour. Otherwise, you could add the "Fichage" label to the list and add it to the query to only pull correct items to begin with.

prodtest_fm.fsm

1 Like 1 ·
prodtest-fm.fsm (69.7 KiB)
Show more comments
Show more comments

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.