question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Joshua S answered

People flow deadlock with AStar

I have a hospital people flow model where the I have hundreds of patients and employees walking all over the place with Astar. I need to simulate a whole day to make stats on corridor occupation. However after a little while I get:

time: 5212.683077 exception: Unrecoverable deadlock encountered for Person male1. Model stopped

First question is that I have no way to know who Person male1 is. No person in the model has that name. They are all named Person123, Person124, etc. Even the staff because I create them as needed with CreatePerson. Is there a way to know who that Person male1 is?

Second and more important question, is there a way to prevent the deadlock in the Astar settings or any other way. I suspect the problem is in this area of the model. See picture below taken at 5212.68 seconds. I can't make the corridor wider because that's the real width. The whole point of the simulation is identifying these problem areas. But since I can't run the whole day, I'm stuck.

Thanks a lot for any suggestions and ideas.

FlexSim 18.1.2
astarpeople flowdeadlock
capture.jpg (58.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.

1 Answer

Joshua S avatar image
0 Likes"
Joshua S answered

Try using preferred paths, this will push people to one or the other side of the corridor.


pic1.png (20.1 KiB)
5 |100000

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