question

Abhay Bajpai avatar image
0 Likes"
Abhay Bajpai asked Jeanette F commented

Prioritize token going into a process over others

Hello,


I have a logic where the process on the left "Other Cabinet Assembly" and right "Pantry Assembly" use 2 operators.

Problem: the "Operator 2" stops while trying to perform the "Pantry Assembly" process and waits until "Operator 1" shows up as it is a synchronized process.

Is there anyway i could make a logic which prioritizes "Pantry Assembly" process over the "Other Cabinet Assembly" so both the employees show up at the same time and hence the normal logic keeps running? If this idea is not good, please recommend something else.


1710727228303.pngCabinet Assembly Simulation_14.fsm

FlexSim 24.0.2
task 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 @Abhay Bajpai, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 Jason Lightfoot commented

There are two main options that you can use for this.

1) You can define a queue strategy for the Process Flow resources. This allows you go give certain tokens a higher priority to acquire a resource instead of having the acquisitions happen in a FIFO manner.

With the expression below, the token with the highest "priority" label would get to acquire the operator first.

1710745871206.png

This would mean that you could prioritize the pantry assembly, however if an operator is currently busy in another process, it would first finish it and then get acquired by the highest priority request.

2) You can also have the operators interrupt tasks if a task with a higher priority gets dispatched to them. For this you would need to remove the Acquire/Release activities and only use the priority values in the Create TS activities.

By selecting "Preempt Only" (since you wouldn't want to abort the other tasks, only interrupt them, the other options are not useful in this case), a task sequence with a higher priority value will interrupt the currently active one. Once the new seqeunce finishes the operator will get back reevaluate which task sequence to go back to based on their priority (if there are more than one).

1710746184361.pngSee the documentation for more information.

https://docs.flexsim.com/en/24.0/WorkingWithTasks/TaskPrioritiesPreemption/TaskPrioritiesPreemption.html


1710745871206.png (3.5 KiB)
1710746184361.png (6.0 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·
Note that any preempting task sequence will always preempt a PREEMPT_NOT task sequence, regardless of its priority.
0 Likes 0 ·

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.