question

Pinakin K avatar image
0 Likes"
Pinakin K asked Jason Lightfoot commented

How to Acquire resource in processflow, closest to the location?

I want to acquire the resource which is closest to the processor or a queue, using processflow

FlexSim 20.2.3
flexsim 20.2.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

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

You might find it more obvious to push and pull to lists and use the distance from puller that is standard in the item, fixed resource and task executer list types. Lists also don't restrict you on which token can push to a list.

That said, when you use a query to choose a resource the resource uses the list behind it as described here - and you can add field via the advanced tab:

The problem with this is that the puller is predefined as the token and not the object to which you want to find the distance and so some rewriting of the distance expression is needed to use a label on the puller.



1620954415293.png (28.7 KiB)
· 2
5 |100000

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

Pinakin K avatar image Pinakin K commented ·

@jason.lightfoot Thanks makes sense pushing to the list. So just to understand this, the distance is just based of the coordinates of the object and the resource right?


0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Pinakin K commented ·

Yes, unless you know it's an AGV for example in which case you could alter it to be the distance between control points.

0 Likes 0 ·

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.