question

christoph gruber avatar image
0 Likes"
christoph gruber asked christoph gruber commented

find next door

Sombody have an idea or a feature for me that the people in the model below finde the next door (in case of an firealarme) and people should leave the room to the same time? In my model only 3 people leave the room in series (because the release Location).

Should I put the 3 doors with there coordinates to a table and than I have to calculate the distance from every person to the doors? I don´t know what is the best or a good solution!?

Thanks in advance for every reference

roomcrowd-1.fsm

FlexSim 19.2.3
astar navigatorpeople module
peoplecrowd.png (101.9 KiB)
roomcrowd-1.fsm (53.0 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.

1 Answer

·
Ralf Gruber avatar image
1 Like"
Ralf Gruber answered christoph gruber commented

Christoph,

have you tried to put all three doors on a list and whenever a person is looking for the closest door, you sort the list by distance? You will have to leave the entries on the list of course :)

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

christoph gruber avatar image christoph gruber commented ·

@Ralf Gruber

thank you Ralf for the idea ;-) here is the model, it seems that works!

roomcrowd-2.fsm

0 Likes 0 ·
roomcrowd-2.fsm (55.6 KiB)

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.