question

Meng,Li avatar image
0 Likes"
Meng,Li asked Benjamin W2 commented

Access to more control points when On Pre-Arrival trigger get fired.

AGV stop to rotate.fsm

I use a interval timer to simulate the situation where an AGV rotate at a crossroad.The AGV needs to decide whether it should rotate before arriving the crossroad as that it takes time for AGV to decelerate to a stop. If it is a yes,then AGV slow down and stop and prepare for rotation, on the contrary, AGV keep going without deceleration.

As in my model, i need to figure out AGV's nextCP when the On Pre-Arrival trigger is fired, but i failed. Is there a method to accomplish this?

FlexSim 19.2.3
Choose One
flexsim 19.2.3
· 1
5 |100000

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

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @meng L, was phil.bobo's answer helpful? If so, please click the red "Accept" button on their answer!

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Meng,Li commented

@meng L

You can solve this situation easily by simply moving your control point onto the intersection path instead of the straight path. That way, the On Pre-Arrival only fires if the AGV is going to turn. If the AGV is going straight, then it doesn't even fire.

agv-stop-to-rotate_1.fsm


· 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.

Meng,Li avatar image Meng,Li commented ·

In this sample model, yes, the method you mentioned works well. But in a more intricate route map like this :

the small difference between two pictures(02&03) below will matter a lot.

Put control points on the route that agv will travel to may lead to deadlock like this:

And i can not unlock it.

If i put control points on the route that agv is now traveling and of cause deadlock may occur too, but i can unlock it to make model keep running by redirecting AGV1 to CP1 if CP1 is available or AGV3 to CP2 if CP2 is available.

After the demonstration above, i think you may understand my purpose in this question. Precisely i just need two nextCPs(the nextCP and the CP next nextCP) when the On Pre-Arrival trigger get fired.

Look forward to your reply.

0 Likes 0 ·
01.png (107.7 KiB)
02.png (12.6 KiB)
03.png (8.6 KiB)
04.png (24.1 KiB)
05.png (22.2 KiB)
Phil BoBo avatar image Phil BoBo ♦♦ Meng,Li commented ·

You can solve the gridlock issue with a Control Area, or by checking the allocations on the other control points and redirecting.

In your "more intricate route map," you can still solve each individual intersection the same way as I described in the smaller case.

The only case where the original solution wouldn't work is a 4-way intersection. You could solve that by adding small curved paths at the intersection and put the waypoints on those paths so that it goes through those waypoints when turning, but not when going straight.

All of the intersections in your "more intricate route map" can be solved by simply positioning the control points and paths in such a way that you get the behavior you want.

It is way easier to simply solve your problem by adjusting the paths and positioning of your control points instead of trying to interrogate the internal workings of the AGV routing system.

Yes, I "understand [your] purpose in this question," but I'm trying to explain to you that you can solve your problems much easier than how you are trying to solve them.

If there's a particular case where you can't solve the issue by appropriately arranging your control points and paths, please post another small example of that type of intersection, and we can explain how to get the behavior you want.

0 Likes 0 ·
Meng,Li avatar image Meng,Li Phil BoBo ♦♦ commented ·

OK, i get it.Maybe the function that makes users able to get access to more control points should be put into your or your colleague's dev list. If this function be added to future version Flexsim, then the time-comsuming "adding small curved paths" or " adjusting the paths and control points" will no longer be necessary.Don't you think so?

Best Regards!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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