question

Pinakin K avatar image
0 Likes"
Pinakin K asked Regan Blackett answered

Alternate operators are acquired instead of Idle operators

I have a simple pick and place model, where I am using global table cell as a reference to the count of the operators used. The Resource asset, houses this count.

Every time the operator is acquired, for the same activity second operator is acquired, even if the other operator is idle and standing next to it

Below is the attached model

operator-movement.fsm

FlexSim 18.1.1
operatorsshared assets
· 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.

tannerp avatar image tannerp commented ·

After watching your model run for a bit, I think your model is using the first available operator by default. I'm not sure if this is your question, but are you hoping they would alternate using Process Flow?

0 Likes 0 ·
Pinakin K avatar image Pinakin K tannerp commented ·

I don't want to alternate the operators, I want to use the operator that is closest to the process.

0 Likes 0 ·
tannerp avatar image tannerp Pinakin K commented ·

I don't think I quite understand - what determines how close the Operators are to the process? They're on the same node, so it will just pick whichever is easiest, but they're equally close so it will choose the first available.

1 Like 1 ·

1 Answer

Regan Blackett avatar image
0 Likes"
Regan Blackett answered

If you give the two operators different colored shirts you will see they are actually alternating because that's how the resource works behind the scenes; the resource that has been waiting to be acquired the longest is the next chosen.


But I agree with Tanner that, choosing the closest one in this case is mostly meaningless since as they finish their travel they are on the same network node so as far as distance is concerned they are equally far away from whatever may call them.

You could do it though using the Acquire activity's Queue Strategy if you really want to.

First go to your Resource's properties and click Advanced, this will give you access to the List interface behind the Resource. Click the '+' button and add an Expression field. Call the Field 'Distance' or some other meaningful name. In the Expression field, put:

distancetotravel(value, model().find("Queue2"))

And click the Dynamic checkbox.

Then in Your Acquire activity, use an ORDER BY Query on Distance ASC, like so:

But again this will just have the default effect in your model since they are always standing with each other, after they each carry one batch of flowitems


resourcelist.png (47.6 KiB)
acquire.png (18.7 KiB)
5 |100000

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