question

Axel Kohonen avatar image
4 Likes"
Axel Kohonen asked Axel Kohonen commented

What is the acceleration on the AStar network?

Hi,

I have a model in FlexSim 16.2 where I use the AStar navigator (astaracceleration.fsm). It seems that the acceleration and deceleration values given to a task executer are not used with AStar. There is nothing about this in the manual that I can find though.

Am I correct in my observations? And is there some way to get around this if I want an operator to have super high acceleration and deceleration. And how does AStar figure out the travel time? It seems to be using some acceleration/deceleration value/time behind the scenes.

Thank you!

Kind regards,

Axel

FlexSim 16.2.0
astaracceleration
astaracceleration.fsm (150.9 KiB)
· 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.

Matt Long avatar image Matt Long commented ·
0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered Axel Kohonen commented

AStar builds kinematics, which is how it gives the travel path to a TaskExecutor. Those kinematics don't use acceleration (the addkinematic() command sets acceleration and deceleration to 0). @anthony.johnson may know more about this. For now, however, the acceleration and deceleration are not configurable on AStar.

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

Axel Kohonen avatar image Axel Kohonen commented ·

Hi @jordan.johnson

Thank you for the explanation! That makes sense. Would be good to get a line or two about this in the user manual. As well as an explanation on what kind of acceleration/deceleration kind of ramp the kinematics use with AStar. As There is some time added as the travel time is longer than the distance/max speed.

In some cases it is much easier to use AStar than to define network paths or so, but to get exactly the travel times that one wants (and generally acceleration/deceleration values are not known, but only max speed) it would be great if one could set AStar to use instantaneous (or almost) acceleration. Or at least know exactly what AStar does behind the scenes.

Thank you!

Axel

1 Like 1 ·
Phil BoBo avatar image Phil BoBo ♦♦ Axel Kohonen commented ·

AStar has no acceleration/deceleration.

"As there is some time added as the travel time is longer than the distance/max speed." This is an incorrect statement.

The only times where acceleration/deceleration are used in the model you attached are in the offset tasks, which are not being done by the AStar Navigator.

In your operator's properties, select "Do not travel offsets for load/unload tasks." Then it will behave exactly as you want it to, with instantaneous acceleration and deceleration.

Attached is an example model that shows that this is the case.

The operator has a max speed of 1 meter/second, travels exactly 15 meters, and takes exactly 15 seconds.

If you change the operator's max speed to 3 meters/second, it will travel exactly 15 meters and take exactly 5 seconds.

2 Likes 2 ·
Axel Kohonen avatar image Axel Kohonen Phil BoBo ♦♦ commented ·

Hi Phil,

Thank you! That makes sense. I had obviously misunderstood where the extra time came from.

0 Likes 0 ·