question

Jim Counts avatar image
0 Likes"
Jim Counts asked Jim Counts commented

Can i make the people not stand on top one another?

I'm trying to get a decent visual for shooting of a video that shows what an elevator lobby would "look" like at various levels of hospital census. When using the elevators, a waiting line, and upstairs acquirable resources, things act as they should statistically....however, once a resource is able to acquire their location upstairs, they'll leave the waiting line and stand in front of an elevator car....but everyone else that gets their resource as well will also do this and they all stand on top one another. Is there an "easy" way to get them to spread out a bit and respect each others space a bit without delving into the agent module? Thanks in advance!

FlexSim 22.1.1
astarpeople moduleelevator bank
· 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.

Phil BoBo avatar image
1 Like"
Phil BoBo answered Jim Counts commented

Attached is your example model, modified to have the people spread out a bit when they arrive at the elevator bank.

body-stackers_1.fsm

spread-people.gif

It uses an Event-Triggered Source listening to On Traveler Arrival, then a Custom Code activity to add kinematics to the traveler to move around a bit.

When the elevator arrives, those kinematics will be re-initialized to move them from wherever they ended up to where they want to be on the elevator using the Entry/Exit Time, so this shouldn't affect the simulation results at all, just the animation.


spread-people.gif (2.0 MiB)
body-stackers-1.fsm (136.3 KiB)
· 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.

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Jim Counts commented

Depending on how you model a situation, there may be some model-specific things we can do to make things look a bit better.

But in general, no, there's not a way to do that without using the Agent module. There is one checkbox on the AStar navigator that says "Ignore inactive members." Basically, this makes it so that people who aren't travelling don't cause collisions or re-routes. Perhaps try unchecking that box? Note that this can make deadlock issues more likely, and they probably won't act like a natural crowd. If it's a critical component of the simulation, then using Agent is the way to go for now.

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