<?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: How to solve deadlock problem? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581037#M79000</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/43717/penny.html" nodeid="43717"&gt;@mni_pei&lt;/A&gt;, there's a section &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.0/WorkingWithTasks/AGVNetworks/BuildingAGVLogic/BuildingAGVLogic.html#collisions" target="_blank"&gt;in the documentation&lt;/A&gt; that talks about preventing deadlocks in an AGV network. Your problem specifically occurs because of all the two-way paths. When an AGV is trying to route somewhere, it will choose the shortest path, which may be backwards. If you have another AGV right behind it (which is guaranteed in your model because they all start at the source of boxes), then you will get a deadlock.&lt;/P&gt;&lt;P&gt;I recommend restructuring your model to only use 1-way paths OR to increase the max-allocations at the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.0/Reference/3DObjects/AGV/ControlPoint/ControlPoint.html#app" target="_blank"&gt;Control Points&lt;/A&gt; so you can have multiple AGVs at one station and they can pass through each other.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 Apr 2024 15:49:10 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2024-04-09T15:49:10Z</dc:date>
    <item>
      <title>How to solve deadlock problem?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581036#M78999</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(51, 51, 51); font-family: "&gt;I have set up a model with several AGVs.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;SPAN id="isPasted"&gt;During traveling, two of AGVs will always deadlock on the one road.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;In this case, I want to &lt;SPAN id="isPasted" style="color: rgb(13, 13, 13); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "&gt;preempt both AGVs to stop at their current control point.&lt;/SPAN&gt; Then restore one of the AGVs first (maybe let the AGV move to the next two control points.), and then restore the second AGV after the first restored AGV leaves the area.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712520213746.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523321i1BF1B98CF7A67118/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712520213746.png" alt="1712520213746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;So I decided to use Process Flow to accomplish this.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712520813687.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523322iD9A05E6B11E4311D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712520813687.png" alt="1712520813687.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;But I don't know how to write my idea into code...&lt;/P&gt;
 &lt;P&gt;Can anyone help me complete this?&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/81212-deadlock.fsm" target="_blank"&gt;deadlock.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 07 Apr 2024 20:18:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581036#M78999</guid>
      <dc:creator>Penny1</dc:creator>
      <dc:date>2024-04-07T20:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve deadlock problem?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581037#M79000</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/43717/penny.html" nodeid="43717"&gt;@mni_pei&lt;/A&gt;, there's a section &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.0/WorkingWithTasks/AGVNetworks/BuildingAGVLogic/BuildingAGVLogic.html#collisions" target="_blank"&gt;in the documentation&lt;/A&gt; that talks about preventing deadlocks in an AGV network. Your problem specifically occurs because of all the two-way paths. When an AGV is trying to route somewhere, it will choose the shortest path, which may be backwards. If you have another AGV right behind it (which is guaranteed in your model because they all start at the source of boxes), then you will get a deadlock.&lt;/P&gt;&lt;P&gt;I recommend restructuring your model to only use 1-way paths OR to increase the max-allocations at the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.0/Reference/3DObjects/AGV/ControlPoint/ControlPoint.html#app" target="_blank"&gt;Control Points&lt;/A&gt; so you can have multiple AGVs at one station and they can pass through each other.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581037#M79000</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2024-04-09T15:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve deadlock problem?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581038#M79001</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43717/penny.html" nodeid="43717"&gt;@mni_pei&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 comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Apr 2024 15:21:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-solve-deadlock-problem/m-p/13581038#M79001</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-04-15T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

