I have a simulation model with a Process Flow resource called Operators set to numeric mode with a count of 3. Is there a way to get and set a label for the index that represents which number out of the three operators that a token has acquired? Here is an example of what I am trying to achieve:
- At the beginning of the model, the operator resource has a count of 3 that are all available.
- Token 1 would acquire the first operator out of the three, so it would set a resource index label value of 1 to represent this.
- Token 2 would acquire the second operator out of the three available, so it would set a resource index label value of 2.
- Token 3 would acquire the last available operator, and would set a resource index label value of 3.
- Token 4 arrives while all operators are acquired, so it would wait to get the next available operator. For example, token 2 releases the operator soonest, so that freed up the second resource and then token 4 would have a resource index label of 2.
- Token 3 finishes and releases the operator resource.
- Token 5 arrives, acquires an operator resource, and would set a resource index label of 3.
The FlexSim documentation says, "If the Resource is in numeric mode, the label will be assigned the quantity acquired which will always be the same as the Quantity box." I'm looking not for the quantity acquired but for which of the three operators is being assigned when the resource acquisition happens.
Please let me know if you have any questions. Thanks in advance for your help.