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.

tannerp avatar image tannerp commented ·

Hi @Mason W,

Could you upload an example model that shows the layout of what you're trying to accomplish? Then we can help add the Process Flow logic you're looking for. Thanks!

0 Likes 0 ·
Mason W avatar image Mason W tannerp commented ·

@Tanner Poulton

Attached is a very simple example of the issue. In the example, there is an order available to be processed by the time the initial Process A is complete. I want the Resource to work on Process A again rather than on Process B as it does currently. And only when there are no orders available to be processed move to Process B.

Hope this makes sense, but let me know if you have more questions.

sample.fsm

0 Likes 0 ·
sample.fsm (23.3 KiB)

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.