question

Marc K avatar image
0 Likes"
Marc K asked Joseph Gillespie commented

How to Control Staff Resource until all tokens are gone?

See attached demo. I have multiple staff in one group. When a task comes up I want to pull from that group a single resource (single staff) and use that resource until all the tokens are gone from the process flow. Right now all staff in group go to move objects (tokens).people-resource-control.fsm

FlexSim 19.1.1
resource management
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

Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered Joseph Gillespie commented

@Marc K

Here's an updated version of your model that I think does what you are looking for: peopleresourcecontrolanswer.fsm

It works by only having one token which acquires an operator from your operator group, then enters a loop in which it pulls an item from the queue (through a list), loads the item, unloads it at queue2, and then repeats.

I hope this helps!


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

Marc K avatar image Marc K commented ·

Thank you. How then does the resource get released if the token keeps looping without seeing a release tag? Is there a way to have a conditional expression that states when the list is empty release the resource (Staff)?

0 Likes 0 ·
Joseph Gillespie avatar image Joseph Gillespie Marc K commented ·

@Marc K

I assumed from your demo model that the 5 items you had set to arrive were the only ones. From what I understand, you will actually be having multiple batches of items arriving, and for each batch you would like to acquire one operator, have them transport all the items in the batch, and then get released. Then, at the next batch repeat the process. Is that correct?

0 Likes 0 ·
Joseph Gillespie avatar image Joseph Gillespie Marc K commented ·

@Marc K

Anyway, here is an updated model that has a "Max Wait Timer" on the "Pull from List" activity that will send the token to a "release" activity if there is nothing to pull from the list.

peopleresourcecontrolanswer2.fsm

0 Likes 0 ·
Marc K avatar image Marc K Joseph Gillespie commented ·

Thank you. I was looking for just a way to release.

0 Likes 0 ·
Show more comments