How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
[ FlexSim 21.1.3 ]
As you can see in below image there are AGVs and pedestrians crossing at intersection. I am using agent model proximity triggers to control.
Agvs has to wait for pedestrians to cross.
But the triggers like On Enter Proximity and On Exit Proximity are not firing.
I am attaching the model for reference.
Solved! Go to Solution.
@anthony.johnson any feedback on this, how to model this agent system
There are a few problems with your model.
agent.activateBehavior("Proximity Behavior");
Even when you do these things though, I don't think the result is perfect for what you want. It seems the "viewAngle" i.e. the amount that the person is "in front of" the AGV, which decides whether to stop the AGV or not, is a hard value to get right, and I still get some instances where they overlap.
Instead, I would suggest a different approach that uses a control point as the "agent" that is detecting proximity with people. I added this second option to the model. The control point keeps track of how many people are in its zone. Then a process flow will detect its AGV pre-arrival event, and if the control point has people in its zone when an AGV arrives, it will stop the AGV and wait until the people in its zone get back to zero. The relevant elements for this part of the model are the the CPxPersonProximity process flow, the ControlPoint5 Process Flow, and the ProximitySystem2 agent system.
I subsequently have made more improvements to the original mechanism. I realized that the proximity system had an "Only When Traveling" active rule that was messing the detection: when I preempt the AGV to stop, it's no longer traveling, so it misses some proximity detection.
The attached model fixes that. I also tried a different "viewAngle" calculation: instead of checking the angle to the object, just see if the localized x position (the x position projected onto the AGV's coordinate system) is within a certain range. Don't know if that will scale up do other scenarios, but it does seem to make it better for this scenario.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name