question

HUNGKUAN W avatar image
0 Likes"
HUNGKUAN W asked tannerp commented

How to compute distance between objects ?

Hi , my question is , I have some stations and each will need a worker to transport an item to another station when a request is created , after finishing the job , the worker will stay there until next request is created . I want to assign a worker which is nearest to the station to do the job , In the model I have consider each worker a token , and they will wait until they can pull a request from a list , so if more than two worker are waiting , I think I can use back order strategy to do it , but having troubles to compute the distance between the workers and stations .

FlexSim 18.1.1
distance
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

·
Joshua S avatar image
0 Likes"
Joshua S answered

You can do all of this from querying in your pull from list. Lists have it built in so that when pulling it gets the distance between the item on the list and the puller. so You can order them from shortest to longest distance, and have it pull the shortest distance item, or person


pic1.png (14.8 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.

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.