question

anon-user avatar image
1 Like"
anon-user asked Phil BoBo commented

GIS module route costs

Hi , can someone point me to the info on how the routing costs are derived for the GIS module for air /truck/ sea /train routes ? Is there a possibility to adjust them ? Thanks

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

Nathan B14 avatar image Nathan B14 commented ·

Hi anonymous user was Phil's answer helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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 unaccept and comment back to reopen your question

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo commented

"For driving roads, these values will be queried from a routing server using the URL specified on the GIS Navigator. For rhumb lines and flight paths, these values will be calculated mathematically based on the average air speed and cost settings on the GIS Navigator."

https://docs.flexsim.com/en/21.2/Reference/PropertiesPanels/GISPanels/Route/Route.html

https://docs.flexsim.com/en/21.2/Reference/Tools/GIS/

Yes, you can adjust the costs. You can enter whatever value you want for the cost of each route.

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

anon-user avatar image anon-user commented ·

Hi Phil,

Thanks for the answers. I presume that the duration and distance is queried from routing server. However I don't understand how the Route costs are derived. Ie. what is the rate used ? and where is this rate located .

For Example

Duration 13815.7 * X = Route costs 13815.7

or

Distance 283480.2 * X = Route Costs 13815.7 .

Where and what is this X ? is it configurable ?

Thanks

Tom

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ anon-user commented ·

The duration, distance, and route cost are all queried from the routing server.

The Route Cost is not a financial cost. It is a weighting value to determine which route to take when traveling from one point to another. In determining a path to take, the traveler will choose whatever path has the lowest path edge cost. See Dijkstra's algorithm - Wikipedia

If you cost by duration, then it will take the fastest path. If you cost by distance, then it will take the shortest path. Or you can enter your own cost values if you want to directly control the routing using some other criteria.

In determining route costs, the routing server primarily accounts for duration so that it returns the fastest paths, but it also accounts for other meta-data about the roads, so the cost value isn't always exactly equal to the duration.

0 Likes 0 ·

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.