question

Anutt K avatar image
0 Likes"
Anutt K asked Anutt K commented

Set Priority for Acquire Resource

Hello, I have a question about priority of acquire a same resource in difference work station.

1670662073516.png

In this model it has 2 work station and use same Operator but an box are arrival to each station are difference.

Station 1

1670663592104.png

Station 2

1670663604629.png

When I use process flow to control the Operator.

That you can see in Station 1 a box will repeat arrival, so the Operator will working to load at this station always because a box is not arrival in Station 2 on the same time.

And when a box are arrival to Station 2 (in 6th second), the Operator will not go to work at Station 2 at immediately, I think it because a query of Token in Acquire : OP of Station 1 is in front of Token in Acquire : OP of Station 2.

So, If I want to set priority of Station 2 to query a Token for Acquire : OP in this station to make the Operator has immediately come to work at here always.

I'm nut sure I should to use Query in Acquire and Queue Strategy or Default Query in Resource. If I should, I'm not sure how can I use it, or it should using some other solution.

1670666277741.png


1670666299167.png

I has attached the model here. Thank You.

Acquire Resource Priorities.fsm

FlexSim 22.2.2
acquire resourcetask prioritypriority of workingtoken priority
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
1 Like"
Felix Möhlmann answered Anutt K commented

The order in which waiting tokens can acquire a resource is controlled by the "Queue Strategy".

In this case you could assign different priority values to a label on the tokens and then order by that label.

1670668008284.png

1670667993748.png

acquire-resource-priorities_1.fsm


· 6
5 |100000

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