question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Ryan Clark commented

Using AStar to model Tuggers w Dollies

I am modeling a system with multiple tuggers that each pull up to 3 dollies around the plant. I need to use AStar because my customer requires a heat map of congested areas.

How do I show the tuggers pulling the dollies? I have done it before using an AGV network, but none of that logic seems to work with AStar.

The only way I can think of is to load the dollies into the tugger and then just manipulate the location and rotation of the dolly using "Change Visual" PF blocks, but then the dollies are "stiff" when going round corners.

Does anyone know a way to use the "Attach Trailer" logic in AStar?


Thanks!

FlexSim 21.2.4
astar navigatorattach trailertuggers
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

Ryan Clark avatar image
0 Likes"
Ryan Clark answered Ryan Clark commented

Hi @Claire Krupp,

Unfortunately, there is no direct way to use the attachtrailer() command while using the A* Navigator. As you can see on FlexScript Class - AGV (flexsim.com), the AGV class can only reference, "A TaskExecuter that is connected to the AGV network as an AGV Traveler."

And attachtrailer() is a command that only works for the AGV class. There is also currently no way to use two navigators at the same time, so the task executer cannot be connected to both networks. You can see the example models that I made below:

agv-trailer-test-rc.fsm (AGV Network)

agv-trailer-test-astar-rc.fsm (A* Navigator)

As you can see after running the second model, the Attach Trailer code throws an error since the TaskExecuter is not attached as an AGV traveler to a network.

Alternatively, you could try using the AGV Network along with a different method of creating a heat map. See the links below for possible solutions:

How to show the heat map by myself? - FlexSim Community

Heat Map Feature For Network Node and AGV Navigator - FlexSim Community

Sample Model Tracking Social Distancing Metrics - FlexSim Community

I hope this helps! Please let us know if you have further questions!


· 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.

Claire Krupp avatar image Claire Krupp commented ·

Hi @Ryan Clark , thanks for your comprehensive answer. I will look into creating a heat map on an AGV network for future projects.

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark Claire Krupp commented ·
You're welcome! Glad to help!
0 Likes 0 ·