question

April Zwerneman avatar image
3 Likes"
April Zwerneman asked April Zwerneman commented

Busy process flow resource acquired twice

My question is similar to this one: https://answers.flexsim.com/questions/21559/process-flow-using-groups.html

I have two tokens that are both acquiring the same resource, 1 via GroupA and 1 via GroupC. The two task sequences are not performed at the same time, but I'm not sure why it is okay that they have both acquired it at the same time. I would prefer the second token to keep its resource label empty in case another resource in GroupC becomes available.

I tried adding a back order reevaluation event, as suggested in the post above, but nothing changed. Perhaps this is because the resource was acquired after the operator's status changed to busy? Why is it allowed to acquire a busy operator at all?

FlexSim 16.0.0
process flowgroupsresources
· 3
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

Brandon Peterson avatar image
3 Likes"
Brandon Peterson answered April Zwerneman commented

April,

The problems that you are having are a result of how the resource blocks work / manage resources. Basically the resource block is managing the resources very similarly to how a list works. You can think of acquiring as being equivalent to pulling the resource from the list and releasing as being equivalent to pushing the resource back to the list.

Lists do not manage an object/token/resource/etc. in any capacity more than informing it that it has been pulled or that its request has been filled. This means that lists act independently from one another and pulling or pushing a token from a list does not have any affect on any other lists that the token may be associated with. Similarly, resource blocks act independently from one another and acquiring or releasing an object from one will not affect the others. This is where your are running into problems.

In your model you have placed operators (via groups) into multiple resource blocks. Because the resource blocks act independently from one another tokens are able to acquire the same operator from different resource blocks at the same time.

There will be many different ways to get around this problem. As your model gets more complicated you may find it advantageous to represent the operators in the model with tokens that have their own process flow path. This will allow you to have the operators choose which task they do next as opposed to having the token/task choose for the operator.

Good Luck,

Brandon

· 5
5 |100000

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