question

Jouky D avatar image
0 Likes"
Jouky D asked Jouky D commented

Change Acceleration and Deceleration AGV Network?

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


FlexSim 23.1.2
agvnetworkagv pathsagv acceleration
1686126396579.png (12.6 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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jouky D commented

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.

· 5
5 |100000

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

Jouky D avatar image Jouky D commented ·
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 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jouky D commented ·

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 0 ·
Jouky D avatar image Jouky D Jason Lightfoot ♦♦ commented ·
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 0 ·
Show more comments