AGV travels to next parking point

AGV travels to next parking point

jmroberto12
Not applicable
124 Views
4 Replies
Message 1 of 5

AGV travels to next parking point

jmroberto12
Not applicable

[ FlexSim 23.0.4 ]

I am trying to get the AGV to get to control point 7 (which is a parking point) when it is open from the other AGV. Right now, If a AGV is parked at control point 51, then it will stay there until work is called. Is there a way to make the AGV go to control point 7 parking point when it is open?Simpllified model add test cells.fsm

0 Likes
Accepted solutions (1)
125 Views
4 Replies
Replies (4)
Message 2 of 5

kavika_faleumu
Autodesk
Autodesk
Accepted solution

Hey @Michael, I think I've got a solution that could work for you.

I started by making a subflow that checks to see if Control Point (CP) 7 is available. If it is, then pull it from the "Parking Spots" list and put the current CP (CP 51) back onto the list. I then reassign the "parkPoint" label to the pulled CP7 value.

1677712798945.png

In the Parking section of the AGV template, I modified it to make calls to this subflow. The circles in red are where tokens come to wait for jobs. If a job doesn't come within a certain amount of time (like 1 - 0.5 seconds), it will run the subflow. When the subflow is done, it will return to the top (blue circle). If a new CP was pulled, it will travel there; otherwise, it will stay where it is.

1677712897920.png

I did a similar thing with the Simulation Startup section since the Parking code doesn't get run until after an AGV has completed their first task.

You could refactor some of it so it doesn't make so many calls to charging and capacities.

0 Likes
Message 3 of 5

jmroberto12
Not applicable
Awesome. Thank you
0 Likes
Message 4 of 5

jmroberto12
Not applicable
could you add this sub flow to the attached file and upload it?


0 Likes
Message 5 of 5

kavika_faleumu
Autodesk
Autodesk
Unfortunately I cannot due to our academic integrity policies. I do believe I have shared enough to help you understand what you need to accomplish the task.
0 Likes