question

Cameron Pluim avatar image
1 Like"
Cameron Pluim asked Jacob Gillespie answered

Area Restriction with Astar

Is there a way to limit the number of travelers allowed within an barrier within Astar? I have paths within my warehouse that I only want 1 vehicle down at a time, and I figured with the new ability to add conditions to barriers that I could limit the number of travelers in the area as well.

FlexSim 19.0.2
astararea restriction
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

Jacob Gillespie avatar image
1 Like"
Jacob Gillespie answered

The conditional barrier doesn't work very well for this since the condition is evaluated at the beginning of the travel. It might work if you start the travel right next to the conditional barrier. However you would be taking over the routing a little more by telling the traveler to go to the edge of the conditional barrier before deciding if it is too full or not.

5 |100000

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