question

MarianCretu avatar image
0 Likes"
MarianCretu asked Braydn T answered

How can a resource work on it's closest task

closesttask.fsmHell all,

I am trying to get the workers to load the closest box (relative to their positions).

How can I take from the task queue the closest task to the worker.

I have a resource activity with Count 2. Please see attached file.

Please advise. Thank you.

FlexSim 19.1.1
resource
closesttask.fsm (45.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.

1 Answer

Braydn T avatar image
0 Likes"
Braydn T answered

Hey @CRETU M

closest-process-flow.fsm

Here is a model that pulls the closest object. I have a trigger at each Decision Point that pushes the item to the list, then just a small modification to your existing process flow. Pull by distance is a built in query to the pull from list task.

Hope this helps.


5 |100000

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