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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Howard, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

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.

Howard avatar image Howard commented ·

Hi @Felix Möhlmann ,

Can you clarify which the "Operator" field are you referring to?

The reason the operators are walking at a speed of 2 ft/hr is that I am trying to simulate the movement speed of very heavy parts.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Howard commented ·

This one, below the Process Time.

1737624142361.png

0 Likes 0 ·
1737624142361.png (27.7 KiB)
Howard avatar image Howard Felix Möhlmann commented ·

Hi @Felix Möhlmann ,

This method seems to work but the model lost the function to call out the number of operators from Global Table look up at each process's Setup Time code.

1737992502703.png

Add item priority to group processors and split 20250127.fsm

Thanks,

Howard

0 Likes 0 ·
Show more comments