question

Lars Jacobsen avatar image
0 Likes"
Lars Jacobsen asked Lars Jacobsen commented

Astar travel with and w/o Social Forces Behavior

When items (persons) travel using A star, everything works as expected. When I add the Agent System and use social forces, I do not understand why several flow items do not travel.

Without Agent System activated - Travels as expectedTest_2.fsm


With Agent System Activated - No movement


FlexSim 21.0.2
astarflexsim 21.0.2agent based modelling
1613037132944.png (62.2 KiB)
1613037217888.png (13.6 KiB)
test-2.fsm (158.0 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.

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Lars Jacobsen commented

Hello @Lars Christian J2,

From looking at the models given for demonstrating the Agent System, you are supposed to add the persons to the model and not the AStarNavigation. I believe the agent system automatically adds agents to the A Star Navigation when A* Travel Path social force is used.

The other problem was that the shapes that you have people's location set to was part of the A* FR members, so they were being positioned on an object that according to A* they are not supposed to on.

Here is your model.test-2_ v1.fsm

I would specifically look at the Room Evacuation Model from the link above. It does what you are trying to do, but in a simplified way.

Here is a video that goes over the different Agent system models and I found to be very helpful when exploring the Agent Module.


test-2-v1.fsm (157.8 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.

Lars Jacobsen avatar image Lars Jacobsen commented ·

Thanks!

0 Likes 0 ·