question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Jason Lightfoot commented

AGV inheriting acceleration / deceleration

I attach a model.

The AGV moves by referring to the coordinate values and acceleration information in the global table.

My hope is to inherit the previous acceleration and accelerate more and more as we move toward the next coordinate value.

However, the model resets the acceleration as it moves toward the next coordinate value. Is it possible to set the operation that inherits the acceleration?

Acceleration_AGV.fsm

FlexSim 22.0.1
taskexecutoracceleration
· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
I don't see the problem as you're using task executer functionality, not AGVs, and the acceleration increases for each move and then descreases again for the second half. The variables are not being reset that I can see. Please provide specific events and values that you think are wrong.
0 Likes 0 ·
Ryusuke T avatar image Ryusuke T Jason Lightfoot ♦♦ commented ·

@Jason Lightfoot ,

Thank you for your reply.

In this model, as the process toward the next coordinate,

"Speed 0 => Acceleration => Maximum speed => Deceleration => Speed 0" I think that this is repeated every time you move to the coordinate value.

I reached the next coordinate value with "speed 0 => acceleration => maximum speed" without decelerating, and when moving at the next coordinate value, "taken maximum speed => acceleration => maximum speed" I want you to repeat.

Is it possible to do something like this?

0 Likes 0 ·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ryusuke T commented

To have the task executer move faster you (also) have to increase its maximum speed.

To not have the task executer stop after each travel task, you can use the 'Custom Task' activity to define the travel tasks. This lets you set the end speed. This is the speed the task executer will decelerate to at the end of the travel if it faster. It is also the starting speed of a subsequent travel task if there is no delay inbetween the two tasks.

1657616258335.png

(Normally, leaving the value at zero should be interpreted as 'use the max speed', but this only seems to work for 'normal' travel tasks to a destination object, not the travel to location).

acceleration-agv-fm.fsm


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

Ryusuke T avatar image Ryusuke T commented ·

@Felix Möhlmann ,

Thank you for the detailed answer and sample model.

This model has been very helpful to me.

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

To do this you need to use the Custom Task activity and select Travel To Loc as the task type. When you do this you'll see you have access to the EndSpeed which you should set 'high'.

1657616286471.png


1657616286471.png (15.0 KiB)
· 2
5 |100000

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

Ryusuke T avatar image Ryusuke T commented ·

Thank you for your reply.

I would like to learn a lot about custom task activities.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ryusuke T commented ·
All the Task Types are listed on this page. The CustomTask activity is how you access these types in process flow without using code, that's all.

Note that the use of Milestone tasks in particular are not 'out of the box' supported, in that you need to create a non-waiting set of tasks for that to work correctly.

0 Likes 0 ·