How to avoid being affected by two agents with walls between them

How to avoid being affected by two agents with walls between them

kim_j6
Not applicable
13 Views
4 Replies
Message 1 of 5

How to avoid being affected by two agents with walls between them

kim_j6
Not applicable

[ FlexSim 22.2.2 ]

Hello.

I have a question about the agent.


I want to make sure that the two agents with the wall between them are not influenced by each other by Proximity or Social Force.


Among the questions posted the other day, I saw an answer that the function would be added through an update, but I wonder if it is not possible to do it yet.


Thank you.


Jerry.

0 Likes
Accepted solutions (1)
14 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
I think you can apply it by testing a label mutual set by approaching such a wall segment on both involved agents.
0 Likes
Message 3 of 5

moehlmann_fe
Observer
Observer
Accepted solution

I don't think such an option has been added yet.

Similar to Jörg's comment, an idea would be to use planes (or other objects) to define regions in your model. Each plane has a unique region number. Via a proximity system, that number is copied to agents in that plane. You can then use the "Matching Label" rule to only apply social forces if the agents are in the same region.

The attached model is a simple example with two planes. An attractive force between the two operators is only active if they are located on the same plane.

forcebyregion.gif

ForceByRegion.fsm

For proximity behaviours, you can wrap any added option in an if-condition that checks if the labels are matching.

Message 4 of 5

kim_j6
Not applicable

Thank you so much for answering my various questions 🙂

0 Likes
Message 5 of 5

kim_j6
Not applicable

That's exactly how I wanted it to be. Thank you.

0 Likes