question

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

Resource Activity : Queue Strategy Logic

From my previous question. I can use Resource Queue Strategy field for sorting (ORDER by) label : Priority to assigned by assign label in 2D logic of 2 Station logic order.

In this Video, you can see priority of Work Station 2 is higher than the Work Station 1.

In moment at item arrival at Station 2 operator will come to load at Station always, and If moment at item are arrival at Station 2 more than 1 box, such as 2 or 3 or more box the operator will load at Station 2 always, unless Queue of Station 2 will available the operator will go to load at Station 1 as before.t

My Question is : In case of Station 2 it has item more than 1 box along with Station 1, How can I assign logic for operator are take turn (swap) to load between 2 Station.

My main purpose to find this solution are apply to use for create elevator logic of Automatic Garage. It will be bring Car to go down and then elevator down it have Car they want to go up, the elevator will be bring Car up. The issue is, If I use ORDER by Priority only, It will bring Car up always.

1671423544864.png1671423570540.png1671423606152.png

I has attached model file here. Thank You a lot.

Example Model : Acquire Resource Priorities_2.fsm

Main Model (Automatic Garage) : Western All.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

·
Kavika F avatar image
0 Likes"
Kavika F answered Anutt K commented

Hey @Anutt K, it sounds like you want a "Round Robin if Available" type of behavior. Here's a sample model where I implemented that using what you provided.

acquire-resource-priorities-2_1.fsm

Basically, I push boxes onto a list as they enter their Stations. Then, I have a group of activities that act as the "brains" of the Operator, driving their decision to pick a Station. They start by picking a box from Station1. I switch a label on their token to pick Station2 next, but if there's no box there, then I simply go back to picking Station1.


· 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.

Anutt K avatar image Anutt K commented ·
Sorry for late reply, from my day off.

Yes, you are correct from my question if will be like round robin if available. I will take your advice to apply to use. I will update result later. Thank You So Much.

1 Like 1 ·

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.