<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with distancetotravel() in AGV network in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576702#M75773</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;This will be fixed in the next LTS release.&lt;/DIV&gt;</description>
    <pubDate>Fri, 12 May 2023 17:26:34 GMT</pubDate>
    <dc:creator>anthony_johnsonT83CM</dc:creator>
    <dc:date>2023-05-12T17:26:34Z</dc:date>
    <item>
      <title>Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576692#M75763</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.6 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;I was working on a model with a high number of AGVs using accumulation paths, where I need to know the distance remaining for the AGVs to complete a mission in order to assign missions optimally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;When working on this, I have noticed that on multiple occasions the value returned by the distancetotravel() function is infinite, making it impossible to efficiently assign missions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;I have created a small model where I replicate this case, where it is observed that it returns an infinite value while it is blocked by accumulation at a crosspaths, this occurs at second 435 approximately.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;Is this a bug? I understood that the distancetotravel() function is simply a distance check between the point where a traveler is and a destination in the same network, regardless of what happens in the network.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/66786-230-distancetotravel-problem.fsm" target="_blank"&gt;23.0 DistanceToTravel Problem.fsm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(55, 65, 81); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1680774069379.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516521i72965F8CDD2C1ABD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1680774069379.png" alt="1680774069379.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Apr 2023 09:45:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576692#M75763</guid>
      <dc:creator>iago_mf</dc:creator>
      <dc:date>2023-04-06T09:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576693#M75764</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/29093/iagomf.html" nodeid="29093"&gt;@Iago MF&lt;/A&gt;, the documentation for &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/23.0/Reference/CodingInFlexSim/CommandReference/Commands.html#distancetotravel" target="_blank"&gt;distancetotravel()&lt;/A&gt; states that it&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Returns the distance that a traveler (Operator, Transporter, etc) would need to travel in order to reach the given destination. If the object is connected to a network, then it will return &lt;STRONG&gt;the travel distance along the network&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Considering the route for the AGV at that time is blocked due to traffic and it cannot reverse its current path, it states it will take an infinite amount of time to reach its destination (which is currently unreachable). Once the path clears, the value changes back to normal distance to travel.&lt;/P&gt;&lt;P&gt;So I think this is working as intended and is not a bug. However, I could be wrong so I'll email dev and let you know what their thoughts are on how the function works.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Apr 2023 20:18:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576693#M75764</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-04-06T20:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576694#M75765</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; ,&lt;P&gt;I would expect the function to still return the travel distance. Although the path is blocked the distance that would need to be covered is still the same. The time needed to do this is unknown, but the distance will stay the same right? &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Apr 2023 06:56:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576694#M75765</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-04-07T06:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576695#M75766</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;The documentation doesn't say if it's the shortest distance (which as you say will not change) or the distance of a calculated viable route.  This needs clarifying.&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Apr 2023 12:03:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576695#M75766</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-07T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576696#M75767</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/751/patrick.z.html" nodeid="751"&gt;@Patrick Zweekhorst&lt;/A&gt;, it's true the distances will stay the same; however, there may be scenarios where this would be disadvantageous. Consider the case where the shortest path is blocked, but then another path opens up to the AGV. How do you choose? Do you stick to the shortest path (although currently blocked for an unknown amount of time) or do you switch to the newly opened path?&lt;/P&gt;&lt;P&gt;However, you're correct the distances will stay the same, and I agree with &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@Jason &lt;/A&gt;that the documentation should clarify this a bit. I'll make a note of this on the email I sent to dev. Thank you.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Apr 2023 15:12:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576696#M75767</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-04-07T15:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576697#M75768</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/29093/iagomf.html" nodeid="29093"&gt;@Iago MF&lt;/A&gt;, was Kavika F'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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Apr 2023 17:45:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576697#M75768</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-04-12T17:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576698#M75769</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/751/patrick.z.html" nodeid="751"&gt;@Patrick Zweekhorst&lt;/A&gt;, I discussed this matter with the dev team. This is in fact a bug. The distance shouldn't be affected by an AGV occupying the network. If a path is unreachable, then the distance will be infinite; however, if a path is simply blocked by another AGV for a moment, it shouldn't. We have added this to our dev list. Thank you for pointing it out to us!&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Apr 2023 19:27:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576698#M75769</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-04-12T19:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576699#M75770</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; , thank you for the feedback. Keep up the good work you are all doing improving the software&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Apr 2023 07:49:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576699#M75770</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-04-13T07:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576700#M75771</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hi Kavika!&lt;P&gt;Do you know if this bug is being fixed anytime soon?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 May 2023 07:56:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576700#M75771</guid>
      <dc:creator>iago_mf</dc:creator>
      <dc:date>2023-05-10T07:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576701#M75772</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/29093/iagomf.html" nodeid="29093"&gt;@Iago MF&lt;/A&gt;, there currently isn't any active development on this bug. I could talk to the dev team about increasing priority on this though.&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 May 2023 17:09:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576701#M75772</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-11T17:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576702#M75773</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;This will be fixed in the next LTS release.&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 May 2023 17:26:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576702#M75773</guid>
      <dc:creator>anthony_johnsonT83CM</dc:creator>
      <dc:date>2023-05-12T17:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576703#M75774</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Thanks Anthony!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 May 2023 06:53:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576703#M75774</guid>
      <dc:creator>iago_mf</dc:creator>
      <dc:date>2023-05-15T06:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576704#M75775</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/29093/iagomf.html" nodeid="29093"&gt;@Iago MF&lt;/A&gt; &lt;/P&gt;&lt;P id="isPasted"&gt;This issue is fixed in 23.0.9 and 23.1.3 released today.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Jun 2023 21:57:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576704#M75775</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2023-06-26T21:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with distancetotravel() in AGV network</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576705#M75776</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Thanks Matthew!&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:46:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-distancetotravel-in-agv-network/m-p/13576705#M75776</guid>
      <dc:creator>iago_mf</dc:creator>
      <dc:date>2023-06-27T06:46:35Z</dc:date>
    </item>
  </channel>
</rss>

