question

Leo L6 avatar image
0 Likes"
Leo L6 asked Andrew O commented

Social Force Selective Wall Repulsion

Hello,

I am trying to create a model where the A* barriers are selectively recognized as walls in the social force system. For example in the room evacuation example attached I would like the middle barrier to either act as a wall and repulse people OR act as if there is no wall at all and freely let people through based on some variable. For example, only let people through the barrier if time is >200. The only way I can think of to start this would be to use the "neighbors with label value" rule and set the barrier label to be either off or on according to a condition, although I'm not sure how to get started with this. Attached the model for reference.

Thanks, Leo

roomevacuation.fsm

FlexSim 21.1.5
a staragent moduleagent based modellingsocial force
roomevacuation.fsm (34.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.

Andrew O avatar image Andrew O commented ·

Hi @Leo L6, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

While dividers normally don't support labels, you can (apparently) still manually add a labels node in their tree. The labels in the node will be readable through the normal syntax and even cause the labels panel to appear in the properties window.

1658994956167.png

1658994980356.png

I can't guarantee that this won't cause any issues but it seems to work so far.

roomevacuation-fm.fsm


5 |100000

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

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.