question

William Proctor avatar image
0 Likes"
William Proctor asked William Proctor answered

Hospital AStar Issue

I am defining a hospital and having patients arrive from parking lot elevators (represented by locations). I have defined an enclosed, limited building space that guests and patients can travel to get to registration, a first floor clinic, and other elevators in the hospital. My issue is that the AStar boundary grid can't seem to identify the enclosed area as spaces for traveling. It tries to take the patients outside and around the grid (and I can see that it does not want to recognize the enclosed area for traveling). Is there something that I need to do to designate the enclosed area as the travel space?

FlexSim 21.2.4
astar navigator
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·
@William Proctor Can you attach the model? Or a sample model of your issue?
0 Likes 0 ·
William Proctor avatar image
0 Likes"
William Proctor answered

Thank you all for your suggestions! I went through the tutorial again and realized that I did not do a perimeter boundary around the operations. Once I put the perimeter in, it fixed the issue.

5 |100000

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

Diego VG avatar image
0 Likes"
Diego VG answered

Dear William,

If the patients are ignoring the Astar grid and they are created on runtime it may be necessary to link them to the AStar navigator the moment they are created. You could try with this code to be added to your process flow in a snipplet

1637676706982.png


1637676706982.png (14.5 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.