question

David Seo avatar image
0 Likes"
David Seo asked Phil BoBo edited

Where can I find the distance/routing table of DefaultNetworkNavigator ?

The manual explains the DefaultNetworkNavigator will build a distance/routing table for all network nodes in the model when using networknode.

I want to know what is the table structure and where can I find it?

My issue is the link of https://answers.flexsim.com/questions/46731/how-to-dynamically-modify-the-agv-route-in-the-net.html.

1) A traveler arrives at the network node and when the shortest to-edge number is closed using closenodeedge command in 'On Arrival' trigger, the traveler automatically try to find the other shortest to-edge number? Or should I set the other to-edge number using command?

2) If so, which command can be used for it?

3) If the routing/distance table is not found, the table can be recorded using script?

FlexSim 18.0.1
a distance tablerouting table defaultnetworknavigator
· 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.

David Seo avatar image David Seo commented ·

I found the distance/routing table in the tree but I thought the table has the shortest traveling route table of the traveler. It was only my mistaken.

After closenodeedge and optimizenetwork() command, the traveler should find the next shortest next network node. But it can't do it. Flexsim has a bug in optimizenetwork() command?

0 Likes 0 ·

1 Answer

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

Whether a node's edge is open or closed has no effect on the distance table. The distance table stores the distance from each node to each other node in the network. You don't need to use optimizenetwork() for what you are doing because you aren't dynamically changing the distances between nodes by moving them or adding/removing connections.

You can return a value in the OnArrival trigger of a NetworkNode to tell the traveler which edge to traverse next. After it goes through that edge, it will continue towards its destination along the shortest path from there.

5 |100000

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

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.