question

Mason W avatar image
0 Likes"
Mason W asked Kari Payton edited

Prioritize Resources by Process

Hi all,

I have a situation where I'm trying to prioritize processes for an individual resource using process flow. For example, there are two processes (A & B) and a single Resource. I would like the Resource to prioritize Process A.

Example of Current Flow:

1. Order comes in to complete Process A - Resource is Pulled to work through Process A

2. While Process A is being completed order comes in for Process B - Resource is unsuccessfully being Pulled

3. Second order arrives to complete Process A - Resource is unsuccessfully being Pulled

4. Resource Completes initial Process A

5. Since Process B tried to pull Resource first it pulls and begins to complete Process B

I would like Step 5 to be the Resource completes Process A again before moving to Process B

Basically, I want to know how to always prirotize the Pull Resource activity in Process A over Process B. Would I use Preemption or something else? I have no experience using Preemption so any advice would be greatly appreciated!

Thanks,

-Mason

FlexSim 18.0.7
prioritization
· 2
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

Kari Payton avatar image
2 Likes"
Kari Payton answered Kari Payton edited

16715-sample-solution.fsm

Hi @Mason W you can add a back order queue strategy on the resources list to read a label with the priority value.

First I put a label on Source A and Source B called priority. For the example Source A has priority 1 and source B has priority 2. Then in the Back Orders tab on the Resource properties made the queue strategy order by the priority label. Also click Allow Multiple pushes before back-order fulfillment.

This way the program will consider all values pushed before evaluating the query. I've attached an example.


help1.png (91.3 KiB)
5 |100000

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