question

Josué Islas avatar image
0 Likes"
Josué Islas asked Felix Möhlmann answered

Change order of items by type prior to being taken by an operator

Cross-Docking-Case1-Processflow v12.fsmHi, I want in my global list named "Mercancia" to be able to reorder the priority to be taken by "Operador" based on the token with the lowest value of the Type label. For example in the image I show, I am watching that the input queue number 3, the token with label type number 7 is being taken first than a token with label type number 4, I require the activity to be the other way around.change-order.png

FlexSim 23.2.1
process flowqueueglobal listreorder
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

The list doesn't have anything to do with the transport order in your model currently. Each time an item enters a queue and is thus pushed to the list, a token is created for this item. This token then acquires a task executer (in FIFO order) which transports it to its destination.

Ordering by type is much easier if you switch the logic around: Have tokens that represent the task executers pull from the item list in the correct order.

See the model in the answer to the post of your peer (I assume). All that's missing there is an ORDER BY clause in the pull query.

https://answers.flexsim.com/questions/162610/cross-docking-simulation-with-tasksequence.html

5 |100000

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

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.