Change Acceleration and Deceleration AGV Network?

Change Acceleration and Deceleration AGV Network?

jouky_d
Not applicable
191 Views
6 Replies
Message 1 of 7

Change Acceleration and Deceleration AGV Network?

jouky_d
Not applicable

[ FlexSim 23.1.2 ]

Hello everyone,

I am trying to change the acceleration and deceleration of agv network depending on the path class as we can for speed.

1686126396579.png

One possibility I tried was to change the value acc and dec on treenode using setsdtvalue. Even if the acc value change, the real acceleration of AGV does not change. I've also tried on changing acc value for the actual path, but it does not work. Does someone know how to deal with it?

Thank you!:D


0 Likes
Accepted solutions (1)
192 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Here's a post explaining how to edit the table in code.

With standard AGV behavior, you cannot separate the acceleration value by path class currently as you can see no new values for acceleration are added when you can a new class.

0 Likes
Message 3 of 7

jouky_d
Not applicable
I need to do it. I have two different paths with different acceleration. Do you know how I could change it. I thought using treenode I could, when I change the acc and dec of the path AGV is in there sometimes works sometimes not. I don't know if there is a robust way to do so.
0 Likes
Message 4 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

To implement this well you'd probably need to use the AGV Customization Delegate.

You might be able to fudge the standard behavior for a single journey by setting different load types with the different accelerations/decelerations and then use the Initialize Travel code to choose which column it uses - but it would depend on your network as to whether this works well.

Another way might be to do a similar thing by creating more AGV types to represent the path classes and change the AGV type dynamically.

Neither of those simpler approaches may work well or at all as they're outside of the AGV system's standard behavoir.



0 Likes
Message 5 of 7

jouky_d
Not applicable
Why FlexSim does not have the same option as the Speed property in acceleration and deceleration?


I tried the first option, however, it's what you are saying, you have to initialize travel very time, and sometimes it could not work depending on my AGV Network.

I can't see the difference between the first option and the second one. On the second option, do I have to initialize travel again to execute the code to read the correct column to execute the correct acceleration?

0 Likes
Message 6 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

You have to get it to reinitialize the travel which can be done by issuing a preempting delay task (duration zero seconds).

Attached is an example changing the type at the pre-arrival of the middle control point.

DynamicChangeAGVtypeOnPreArrival.fsm

0 Likes
Message 7 of 7

jouky_d
Not applicable
Thank you!
0 Likes