question

Jerry avatar image
0 Likes"
Jerry asked Jerry edited

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

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.

FlexSim 22.2.2
wallssocial forceproximityagents
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
I think you can apply it by testing a label mutual set by approaching such a wall segment on both involved agents.
0 Likes 0 ·
Jerry avatar image Jerry Joerg Vogel commented ·

Thank you so much for answering my various questions :)

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Jerry edited

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.


forcebyregion.gif (610.4 KiB)
forcebyregion.fsm (36.0 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.

Jerry avatar image Jerry commented ·

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

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.