question

Patrick Zweekhorst avatar image
5 Likes"
Patrick Zweekhorst asked anthony.johnson edited

Get routing costs for AGV travel route

Hi @anthony.johnson

The new AGV features in 21.2 are really useful, so thank you for adding them to this release. We have one question about the route cost feature. Is there a user command to get the route cost between two points? So, a function similar to cpdistance, but than cproutecost or something.
If we want the AGV to go to the best task, we would like to sort the tasks based on their route costs (before this release we were sorting on travel distance, but the closest task might not be the fastest and might not be the lowest routing costs.)

Are their already some option to implement this in our models?

Thank you for your time,

Patrick

FlexSim 21.2.0
agvflexsim 21.2.0distancetotravelcpdistanceroute cost
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

·
anthony.johnson avatar image
4 Likes"
anthony.johnson answered anthony.johnson edited

Hey Patrick,

Sorry, we didn't get that one in. It was something Phil and I talked about. Given the new GIS module, we were going to create some kind of polymorphic navigator method, so that users could get it for any type of navigator. But, alas, it didn't get in. It's on our dev list. Hopefully we can put it in soon.

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

David Seo avatar image David Seo commented ·
The new 'routing cost multipliers' feature is not allowed to new version yet?

Or it is only usable in UI setting window? Not flexscript command?

And I want to know if it is usable only in GIS module or general AGV module.

According to the manual, it is usable in AGV module.

1 Like 1 ·
anthony.johnson avatar image anthony.johnson ♦♦ David Seo commented ·

The new 'routing cost multipliers' feature works correctly in 21.2. Patrick was asking if there is a way to programmatically query the routing cost from one point in the AGV network to another, and my answer was no, not yet. You can still create customized route costing mechanisms through 21.2's UI, so that AGVs will travel, for example, the fastest route instead of the shortest route. You just can't, as of 21.2, programmatically get that cost. Right now you just have distancetotravel(), which works both for the AGV module and for the GIS module (and cpdistance() just for AGV networks), but just returns a distance, not the "cost" value that is used in the routing algorithm.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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