question

Howard avatar image
0 Likes"
Howard asked Jeanette F commented

How to add priority item to group processor

I want type=5 (Priority=20) to process by operators before type=10 (Priority=10).

1737486784594.png

The Dispatcher1 sends operators to processor whenever the item is available.

What is the best approach to get the item priority to work so the item with the highest priority gets to process before lower priority item gets process?

Add item priority to group processors.fsm

FlexSim 24.1.1
task prioritygroup processorprocess item priority
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

In the "Operator" field, choose the "Task Sequence Example" option. Instead of the utilize task sequence being created in the background, that now happens in this code, allowing you to customize the task sequence.

In line 16 of the generated code, replace the default expression for reading the priority from the property field, by reading it from the item label.

1737530243251.png

If the operators should interrupt their current task to work on a new task with a higher priority, also change the preemption setting to "Preempt Only".

I am curious: What is the reason the operators are walking at a speed of 2 ft/h?


1737530243251.png (24.3 KiB)
· 4
5 |100000

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