question

jfoster avatar image
0 Likes"
jfoster asked Jeanette F commented

AMR costs for turning

Is there a way to add costs for turning?

  • For instance, a path with two 90-degree turns is less desirable than a path with zero 90 degree turns.
  • Furthermore, a path with the same number 90-degree turns but one path is in the opposite direction of the vehicle orientation so it would require an additional 180-degree turn, how do I account for this cost?
FlexSim 25.0.1
agvroutingamrpathfinding
· 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.

Hi @jfoster, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

As long as the time loss due to deceleration/acceleration at turning points is small compared to the loss due to the rotation time itself, simply using the "Divide By Speed" option in the AGV Network properties (General tab) will take care of that.

1736769339771.png


1736769339771.png (4.4 KiB)
· 4
5 |100000

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

jfoster avatar image jfoster commented ·
Does this take into account the current orientation of the vehicle when determining the path? Two paths may be equal in terms of distance/rotation however the current orientation of the vehicle is important since the vehicle always wants to travel forward. A path that requires no initial rotation is more desirable than a path that requires a 180 degree rotation initially.
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann jfoster commented ·
Yes, you can easily test this by building two routes to a destination, one where the TE needs to turn around first and one where it doesn't. It will prefer the second one, even if the distance is slightly longer (up until the basic math during routing will determine that turning around is better).
0 Likes 0 ·
jfoster avatar image jfoster Felix Möhlmann commented ·

flexsimex.jpg

In the image you can see the red path takes longer since the turning/rotation required is greater than the turning/rotation required for the blue. However, from the first pickup the vehicle actually takes the red path instead of the blue path. I cannot figure out why. I implemented you suggestion by checking the "Divide by speed" box but nothing changed. Here is the model amr.fsm

0 Likes 0 ·
flexsimex.jpg (58.1 KiB)
Show more comments