I need to customize AStar behavior. I can add code into OnAStarBlock trigger. But I cannot figure out, how to reroute the traveler on a new path. Would you have example code, how to reroute a People to a new path if he/she is blocked.
I need to customize AStar behavior. I can add code into OnAStarBlock trigger. But I cannot figure out, how to reroute the traveler on a new path. Would you have example code, how to reroute a People to a new path if he/she is blocked.
The general idea is to add whatever is blocking the TE as a dynamic barrier, then dispatch a preempting task sequence to the TE, so that the travel task is restarted afterwards and a new path is calculated. Then the dynamic barrier can be removed again.
You can also look at the Kiva example model from Anthony for another example. There, whenever an item is placed in a slot, a check is done whether this blocks the path of active travel tasks and reroutes them as described above in that case.
https://answers.flexsim.com/articles/107103/example-kiva-system-model.html
11 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved