question

Zahra Z avatar image
1 Like"
Zahra Z asked Jeanette F commented

How to model lobby congestion?

I want to model a building with different patients per clinic types. We want to understand if any congestions happen in the lobby and estimate the number of patients walking in the lobby space per hour. I saw some posts about congestion but hey were for older flexsim models. I was thinking about creating a heatmap. But will it show congestion? Congestion happens when people move slowly as the spatial demand is higher than supply. It can also be measured by the amount of bumping/collision happening due to space restriction. Can you give me a general idea on how to do this?


FlexSim 21.2.2
collisoincongestion
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
1 Like"
Jeanette F answered Zahra Z commented

Hello @Zahra Z,

Collisions can be detected and calculated using proximity agent systems. Here is a video that goes over agent systems and here are the sample models from the video. The following post also uses the proximity system to place markers on the ground where a collision has occurred so you can visually see where collisions happen and where reoccurring collisions happen,

· 12
5 |100000

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

Zahra Z avatar image Zahra Z commented ·

Thanks @Jeanette F ! The tutorials were amazing and exciting! How do you assign patients with arrival tables to the agent systems!
@anthony.johnson great post! Can you describe the steps to create the proximity dashboards? I want to compare different layouts (locations) and average proximity of people in a particular room. Thanks

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Zahra Z commented ·

Hello @Zahra Z,

Here is a small model that shows you how to assign the patients as agents and activate the proximity behavior. It is just the two activities below the source.

1632273913796.png

Both activites are created from the drop options and then are edited to assign the patients as the object. (Open the edit scroll button in my model or the edit code to see exactly what I changed)

1632274034414.pngAssign Agent system.fsm

0 Likes 0 ·
Zahra Z avatar image Zahra Z Jeanette F ♦♦ commented ·
Thank you so much! This is very helpful!
0 Likes 0 ·
Show more comments
anthony.johnson avatar image anthony.johnson ♦♦ Zahra Z commented ·

I'm attaching a very simple model that does some proximity tracking. The main pieces are:

  1. I have an operator process that listens to the Agent OnProximityEnter and OnProximityExit events of the agent.
  2. I added a milestone statistics collector that tracks the enter and exit proximity events I added in the process flow.
  3. Once I added the milestone collector, I can add dashboard charts that reference that milestone collector.

See also: Agent System: Integrating with Other FlexSim Logic for more information.

JobShopWithProximityTracking.fsm

0 Likes 0 ·
Zahra Z avatar image Zahra Z anthony.johnson ♦♦ commented ·

Thanks @anthony.johnson

I tried your approach in the Flexsim Healthcare environment. The issue is that i want to assign the proximity calculator to patients not agents. @Jeanette F suggested some edits to make this work. I also included your trigger in this HC model. However, there are still issues. Please see the updated file. assign-agent-system.fsm

0 Likes 0 ·
Show more comments

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.