<?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 travels to next parking point in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556857#M60240</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/42603/jmroberto12.html" nodeid="42603"&gt;@Michael&lt;/A&gt;, I think I've got a solution that could work for you.&lt;/P&gt;&lt;P&gt;I started by making a subflow that checks to see if Control Point (CP) 7 is available. If it is, then pull it from the "Parking Spots" list and put the current CP (CP 51) back onto the list. I then reassign the "parkPoint" label to the pulled CP7 value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1677712798945.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515693i5EC9D9AD3BA38B97/image-size/large?v=v2&amp;amp;px=999" role="button" title="1677712798945.png" alt="1677712798945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Parking section of the AGV template, I modified it to make calls to this subflow. The circles in red are where tokens come to wait for jobs. If a job doesn't come within a certain amount of time (like 1 - 0.5 seconds), it will run the subflow. When the subflow is done, it will return to the top (blue circle). If a new CP was pulled, it will travel there; otherwise, it will stay where it is.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1677712897920.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515694i0B3035D5A6E135CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1677712897920.png" alt="1677712897920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did a similar thing with the Simulation Startup section since the Parking code doesn't get run until after an AGV has completed their first task.&lt;/P&gt;&lt;P&gt;You could refactor some of it so it doesn't make so many calls to charging and capacities.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 01 Mar 2023 23:39:52 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2023-03-01T23:39:52Z</dc:date>
    <item>
      <title>AGV travels to next parking point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556856#M60239</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I am trying to get the AGV to get to control point 7 (which is a parking point) when it is open from the other AGV. Right now, If a AGV is parked at control point 51, then it will stay there until work is called. Is there a way to make the AGV go to control point 7 parking point when it is open?&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64894-simpllified-model-add-test-cells.fsm" target="_blank"&gt;Simpllified model add test cells.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:56:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556856#M60239</guid>
      <dc:creator>jmroberto12</dc:creator>
      <dc:date>2023-02-28T16:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: AGV travels to next parking point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556857#M60240</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/42603/jmroberto12.html" nodeid="42603"&gt;@Michael&lt;/A&gt;, I think I've got a solution that could work for you.&lt;/P&gt;&lt;P&gt;I started by making a subflow that checks to see if Control Point (CP) 7 is available. If it is, then pull it from the "Parking Spots" list and put the current CP (CP 51) back onto the list. I then reassign the "parkPoint" label to the pulled CP7 value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1677712798945.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515693i5EC9D9AD3BA38B97/image-size/large?v=v2&amp;amp;px=999" role="button" title="1677712798945.png" alt="1677712798945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Parking section of the AGV template, I modified it to make calls to this subflow. The circles in red are where tokens come to wait for jobs. If a job doesn't come within a certain amount of time (like 1 - 0.5 seconds), it will run the subflow. When the subflow is done, it will return to the top (blue circle). If a new CP was pulled, it will travel there; otherwise, it will stay where it is.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1677712897920.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515694i0B3035D5A6E135CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1677712897920.png" alt="1677712897920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did a similar thing with the Simulation Startup section since the Parking code doesn't get run until after an AGV has completed their first task.&lt;/P&gt;&lt;P&gt;You could refactor some of it so it doesn't make so many calls to charging and capacities.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Mar 2023 23:39:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556857#M60240</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-03-01T23:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: AGV travels to next parking point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556858#M60241</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Awesome. Thank you
&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2023 04:26:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556858#M60241</guid>
      <dc:creator>jmroberto12</dc:creator>
      <dc:date>2023-03-02T04:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: AGV travels to next parking point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556859#M60242</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 could you add this sub flow to the attached file and upload it?
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2023 04:38:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556859#M60242</guid>
      <dc:creator>jmroberto12</dc:creator>
      <dc:date>2023-03-02T04:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: AGV travels to next parking point</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556860#M60243</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Unfortunately I cannot due to our &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/articles/78339/flexsims-policy-on-academic-integrity-best-practic.html" target="_blank"&gt;academic integrity&lt;/A&gt; policies. I do believe I have shared enough to help you understand what you need to accomplish the task.&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2023 16:07:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-travels-to-next-parking-point/m-p/13556860#M60243</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-03-02T16:07:53Z</dc:date>
    </item>
  </channel>
</rss>

