question

Michiel T2 avatar image
0 Likes"
Michiel T2 asked Michiel T2 commented

AGV push to list

Hello,

I have an AGV network with a 2 sources and 1 sink, I want use an AGV to bring the flowitem from the sources to the sink. But I want to work with a list, the AGV needs first to perform the job that is the closest to his location, how can I solve this problem?

Best regard,

Michiel

FlexSim 7.5.4
agv path
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

·
Mischa Spelt avatar image
4 Likes"
Mischa Spelt answered Michiel T2 commented

Hi Michiel,

The quickest way is using the default drop down options provided: on the Sources, check "Use Transport". From the corresponding dropdown, select "Use List" and "Push to Task Sequence List". From the settings panel that pops up, create a new list (e.g. TSList).

Open the AGV's properties and go to the Triggers tab. In the "OnResourceAvailable" trigger, select "Use List" again, then "Pull from Task Sequence List". Select the existing list to pull from, and for the query enter the following expression that uses the default "distance" field on a Task Sequence List to find the task sequence closest to the current location of the AGV:

ORDER BY distance ASC

I have created a demo model. I just noticed that you are using FlexSim 7.5 which I no longer have installed, but hopefully you will be able to open the model with an Express version of FlexSim 17.2: agv-with-list.fsm.


agv-with-list.png (36.5 KiB)
agv-with-list.fsm (17.5 KiB)
· 1
5 |100000

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

Michiel T2 avatar image Michiel T2 commented ·

Thank you very much Mischa.

Best regards,

Michiel

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.