question

Omar Aguilera Rico avatar image
0 Likes"
Omar Aguilera Rico asked Jordan Johnson answered

Add members to the A * Star running the simulation

Hi. I tell you a little about what I'm trying to do. Annex the following model. As you can see, a forklift transports the product to a Queue. When a Queue has a product, it is added to the A * Star. So I ask you, is it possible that the A * Star recalculates the routes each member adds when the simulation is running? I thought that every member who adds a member refresh, but I do not know how to do that. I was checking the code

Collision of people

but I have not achieved it, and I do not know if it is possible.

navigator.fsm

FlexSim 18.2.2
astaradd member
navigator.fsm (26.9 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.

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

A* is not designed to have barriers added or changed during the model run. This includes Fixed Resources that are attached to the A* object. Only barrier that are present before the model is reset will affect the grid.

5 |100000

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

Joshua S avatar image
0 Likes"
Joshua S answered Joshua S commented

A* recalculates a new route every time a task executor receives a task to go from one point to another. It also adjusts along the way if another operator gets in the way. It works by calculating a route, then tries to acquire each node along the path it found, and if something else currently has acquired the node it wanted, it recalculates again. In the visuals tab on the A* object you can select "Show Allocations" to see a better visual of the acquiring of nodes and the path the task executor plans to take. If you are dynamically adding Queues, I would suggest laying out the boundaries of your area using barriers because the creation of nodes is already set at the beginning of the model and doesn't change when you run the model.

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

Omar Aguilera Rico avatar image Omar Aguilera Rico commented ·

Now assign the limits of the nodes, but as the simulation runs the Queue are added to the AStar members but the forklift passes over the Queue. Annex the model.

navigator-1.fsm

0 Likes 0 ·
navigator-1.fsm (27.8 KiB)

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.