question

Martina K avatar image
0 Likes"
Martina K asked Martina K commented

Can we combine social force with people movement?

Great that social force was developed.
We want to mimic people in an office keeping their distance.
If we use social force, then the people in the model do not sit down at a desk, do not understand a waiting line and sometimes walk over each other.
If we use people options in Flexsim, then they do a lot of things well, but they do not keep their distance.
In the model hallwaytravel_11.fsmin the ProcessFlow you can either connect the source block directly to the "acquire desk" block or you can route it via Social force.

Any tips on how to get the best of both worlds?

FlexSim 20.1.2
social forcepeople process flow
· 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.

Braydn T avatar image Braydn T commented ·

@anthony.johnson would you mind taking a look at this?

0 Likes 0 ·

1 Answer

·
anthony.johnson avatar image
0 Likes"
anthony.johnson answered Martina K commented

@Martina K This appears to be several issues, some of which need changes in the Agent module. First, you should make all of your social forces have an "Only When Traveling" active rule. If all of your social forces have this rule, then it will only apply social forces when the objects are actively doing travel tasks. This means that when they are doing other things, like waiting in a line, the social forces will not be applied and the line's update logic will take over. This is a simple solution. If you need it to be more complex, then you should specifically define when forces should be applied and when they shouldn't. This can be done by setting label values on the objects at certain points, and then using the "Label Value" active rule option for each social force.

That said, even when I make this change in your model, it's still not working as it should. This is because the social force logic was defined assuming that all objects are in the main model layer. However, the people module activities move objects into and out of other model objects, like the waiting lines. This messes up the social force behavior assumptions, and causes weird issues where the Agent system thinks they are in the incorrect location. This could be solved if you could make sure the objects are always in the main model layer when they travel, but I've tried this myself and it appears the objects are moved into other objects even when I try to avoid it. So this will need to be a change to the agent module to take these factors into account.

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

Martina K avatar image Martina K commented ·

Hi Anthony,
thank you for explaining why agents and people don't combine well.
Please keep us informed of any changes to the agent system, that enable agents and people to work together .
Regards,
Martina

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.