question

Yu-Jie avatar image
0 Likes"
Yu-Jie asked Yu-Jie commented

The AGV doesn't move between floorCP by AGV Elevator PF

Hello, I'm testing AGV elevator PF.

When AGV using the elevator to a different floor should show up between the floorCP, but it still returns to the first floorCP doesn't transform to the other floorCP.

When I was trying to use a different layout, it even didn't use an elevator just go by the path.

I want to know if there is something to adjust. Many thanks for your help.

Elevator_AGV.fsm

FlexSim 21.1.2
agvflexsim 21.1.2agv elevator
elevator-agv.fsm (151.0 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.

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Yu-Jie commented

Hello @Yu-Jie ,

I found that in the following pull from list it seemed to be pulling the furthest instead of the closest control point when using ascending order (ASC). When I switched it to descending (DESC) it worked. However, I believe the correct way is ASC to place the shortest distance first on the list.

elevator-agv (2).fsm


1620876475685.png (51.3 KiB)
elevator-agv-2.fsm (151.7 KiB)
· 3
5 |100000

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

Yu-Jie avatar image Yu-Jie commented ·

Many thanks for your help!
You are right, the correct way should be ASC, because when I trying to add an extra floor. The AGV would not able to go to the correct level (be pulled to the farthest level).

I check the list "ElevatorFloorCP", maybe the "distance" (ORDER BY distance ASC) is a better way for the order.

Now, even with multi-floor, the AGV can move correctly.

If you have any suggestions, please let me know. Thanks a lot!

elevator-agv-3.fsm

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Yu-Jie commented ·

I found out that the cpdistance takes into account the direction of the paths. So, from control point 2 to control point 6 is the closest distance when considering the path direction.

So instead let's assume that redirectCP's (CP with purple connection to elevator) will always be closest to their corresponding floorCP (orange connection to elevator) and that the redirectCP is behind the floorCP when looking at the direction of the path.

We can then use the same pull from list activity that looks for the closest FloorCP except the Puller is the redirectCP which can be written as...

Does this work in your multi floor model?

elevator-agv (2)_1.fsm

0 Likes 0 ·
1621290025682.png (53.6 KiB)
1621290190863.png (42.9 KiB)
elevator-agv-2-1.fsm (151.8 KiB)
Yu-Jie avatar image Yu-Jie Jeanette F ♦♦ commented ·

Yes! That can work correctly. Thank you so much.

It makes me more understand how does it work!

0 Likes 0 ·