question

Patrick Cloutier avatar image
1 Like"
Patrick Cloutier asked Felix Möhlmann answered

Select rack from rack list by shortest distance

Hello, I'm trying to select a rack from a rack list by shortest distance.

But the distance field in my list doesn't update. It says "Puller required". I specify that the puller is token.item in the Pull from list.

So it always goes to the first rack in the list and it's not the closest.

What am I doing wrong?

This might seem like a complicated way of doing this but in my real model there are other conditions involved in the rack selection process so I think it needs to be a list.

Order by Distance.fsm


FlexSim 21.2.4
listsql query
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

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

In your pull query you use a capital "D" in distance. The list field starts with a small "d". The crane moves the items correctly into Queue3 when this is fixed.

order-by-distance_1.fsm


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.