<?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: AGV Deadlock Avoidance in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541351#M48011</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;One possible solution is to add a conditional to a path so that it can only be traveled if a certain requirement is met (i.e., an AGV is loaded). Here's an example (gif below):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="agv-path-conditional.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511706i3E92C6B6C16E082E/image-size/large?v=v2&amp;amp;px=999" role="button" title="agv-path-conditional.gif" alt="agv-path-conditional.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The AGVs can only go on that middle path if they have a load, otherwise they have to take the longer path around. You could do something similar and only allocate the path if there are no agvs on it (i.e., set a CP at the beginning of the path to "enter the zone" and then only allow AGVs onto the path after the current AGV has "exited the zone"). That will force AGVs to go around the path and look for an alternate route rather than deadlock.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 01 Aug 2022 18:29:00 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2022-08-01T18:29:00Z</dc:date>
    <item>
      <title>AGV Deadlock Avoidance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541348#M48008</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi, I am using Advanced AGV PF.&lt;/P&gt;
 &lt;P&gt;Due to layout limit, the AGV paths are designed as shown. And it probably will have deadlock when there are 3 AGVs.&lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;AGV is required to transport item from Queue A to Queue IN. Then, from Queue OUT to Queue E.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;To solve the deadlock, I have an idea that create a list named "NextPoints" in AGVNetwork and hope to direct the AGVs to the NextPoints when there is deadlock. Is it possible to make changes in the Advanced AGV PF or I will need to create another Object Process Flow?&lt;/P&gt;
 &lt;P&gt;My idea: Wait for event (AGV On Collision) &amp;gt; Pull From List (NextPoints List) &amp;gt; Travel (Travel to the nearest NextPoints)&lt;/P&gt;
 &lt;P&gt;Any help and suggestions will be much appreciated!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jul 2022 06:28:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541348#M48008</guid>
      <dc:creator>e_yiing98</dc:creator>
      <dc:date>2022-07-26T06:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: AGV Deadlock Avoidance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541349#M48009</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/28926/emilyk.html" nodeid="28926"&gt;@Emily K&lt;/A&gt;, there's &lt;A href="https://answers.flexsim.com/questions/124960/view.html?overrideforward=1"&gt;currently no way&lt;/A&gt; to check for deadlock, but there will be a way starting in next year's release (v.23.x.x). Something you could do right now to avoid collisions is to add more control points to decrease the likelihood of two AGVs competing for the same CP. You can also add a second "lane" next to the current one and make them unidirectional so two AGVs will never run into each other on those paths.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1658950272608.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511698iE1207439EEA42280/image-size/large?v=v2&amp;amp;px=999" role="button" title="1658950272608.png" alt="1658950272608.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;AGVs will have a travel task that moves them from CP to CP along the paths. That CP will tell the AGV if it is currently allocated or not. If it is, then it will wait at its current CP for the desired CP to deallocate and become available. Here's a scenario where deadlocks will occur: you have AGV1, AGV2, CP1, and CP2; AGV1 is on CP1 and AGV2 is on CP2. AGV1 is trying to get to CP2 and AGV2 is trying to get to CP1, but they wont leave their current places until the next CP is deallocated - hence the deadlock.&lt;/P&gt;&lt;P&gt;Avoiding deadlock comes down to good paths and enough CPs to allow AGVs to move when they need to. Changing the Deallocation Type may help a bit too to help them move along:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1658950789513.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511699iC085C56EDC99B2AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1658950789513.png" alt="1658950789513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Jul 2022 19:39:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541349#M48009</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2022-07-27T19:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: AGV Deadlock Avoidance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541350#M48010</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;I have changed all the path into Two Way, &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"&gt;I found that sometimes the deadlock is supposed to be avoided if AGV not choosing the shortest path?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Is it possible to make any changes to let AGV choose the feasible path instead of the shortest path?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Jul 2022 06:20:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541350#M48010</guid>
      <dc:creator>e_yiing98</dc:creator>
      <dc:date>2022-07-29T06:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: AGV Deadlock Avoidance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541351#M48011</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;One possible solution is to add a conditional to a path so that it can only be traveled if a certain requirement is met (i.e., an AGV is loaded). Here's an example (gif below):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="agv-path-conditional.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511706i3E92C6B6C16E082E/image-size/large?v=v2&amp;amp;px=999" role="button" title="agv-path-conditional.gif" alt="agv-path-conditional.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The AGVs can only go on that middle path if they have a load, otherwise they have to take the longer path around. You could do something similar and only allocate the path if there are no agvs on it (i.e., set a CP at the beginning of the path to "enter the zone" and then only allow AGVs onto the path after the current AGV has "exited the zone"). That will force AGVs to go around the path and look for an alternate route rather than deadlock.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 01 Aug 2022 18:29:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541351#M48011</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2022-08-01T18:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: AGV Deadlock Avoidance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541352#M48012</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Wow, thanks for providing such great idea!
&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 Aug 2022 03:01:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-deadlock-avoidance/m-p/13541352#M48012</guid>
      <dc:creator>e_yiing98</dc:creator>
      <dc:date>2022-08-03T03:01:19Z</dc:date>
    </item>
  </channel>
</rss>

