<?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: Charging Problem of AGV in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571438#M71653</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you so much for your help! It is very useful! But as I run through the model you provided, there's an error of the custom code. Which does not exist in my initial model. The error is as below, I am wondering if I mistake the syntax here. Thank you so much for your help!&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692165425109.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519037iCA0EB7A2FBB50006/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692165425109.jpg" alt="1692165425109.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692166957874.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519038i19D958AE25C20100/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692166957874.jpg" alt="1692166957874.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 16 Aug 2023 06:23:39 GMT</pubDate>
    <dc:creator>ged0313</dc:creator>
    <dc:date>2023-08-16T06:23:39Z</dc:date>
    <item>
      <title>Charging Problem of AGV</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571436#M71651</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.9 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello,&lt;/P&gt;
 &lt;P&gt;I've encounter some problem when building up the agv charge function. The logic is that when the agv is below certain battery level, it will go to the charging station.&lt;/P&gt;
 &lt;P&gt;In my model, there are two agvs and I set the charging level as 90 percent and 85 percent separately.&lt;/P&gt;
 &lt;P&gt;My problem is that:&lt;/P&gt;
 &lt;P&gt;Even though I set the wait for event activity to when the agv is charging to 100 percent. The car is not running properly. That, it will not stay at the charging station till it is charging to 100 percent. And the battery will increase while it's moving.&lt;/P&gt;
 &lt;P&gt;I'm wondering if there is a conflict between setting this up in general flow and the agv object flow. I am also wondering how to fix this. Thank you so much for any of your assistance!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;my model: &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72616-charge-station.fsm" target="_blank"&gt;charge station.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Aug 2023 02:50:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571436#M71651</guid>
      <dc:creator>ged0313</dc:creator>
      <dc:date>2023-08-16T02:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Charging Problem of AGV</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571437#M71652</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/43030/ged0313.html" nodeid="43030"&gt;@ged0313&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You would benefit from learning about &lt;A href="https://docs.flexsim.com/en/23.0/Reference/ProcessFlowObjects/TaskSequences/CreateTaskSequence/CreateTaskSequence.html#app"&gt;task sequences&lt;/A&gt; (&lt;A href="https://docs.flexsim.com/en/23.0/Tutorials/TaskLogic/Tutorial1TaskLogicTools/1-2TasksProcessFlow/1-2TasksProcessFlow.html"&gt;tutorial&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;When you don't use a task sequence the task activities are just executed as they are sent. In the case of having two process flow sending tasks, you have tasks begin executed from both flows which is creating the odd behavior you described. To fix this, you will want to implement task sequences. I only created task sequences for your recharge logic and I encourage you to evaluate if your AGV logic would benefit from it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692160245748.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519036i9D42197CB26FC615/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692160245748.png" alt="1692160245748.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did notice an off phenomenon where two tokens are being created when the AGV reaches the specified battery level. I am sending this into our Dev team for them to take a look at why that might be happening. With setting a priority on your task sequence this is not an issue for you currently.&lt;/P&gt;&lt;P&gt;Please take care of all exceptions before posting a model unless the exception are related to your question. It makes it difficult for us to prove that our solution is working well for you while exceptions that are not related to the solution are occurring.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72631-charge-station-2.fsm" target="_blank"&gt;charge-station_2.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Aug 2023 04:30:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571437#M71652</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-08-16T04:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Charging Problem of AGV</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571438#M71653</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you so much for your help! It is very useful! But as I run through the model you provided, there's an error of the custom code. Which does not exist in my initial model. The error is as below, I am wondering if I mistake the syntax here. Thank you so much for your help!&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692165425109.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519037iCA0EB7A2FBB50006/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692165425109.jpg" alt="1692165425109.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692166957874.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519038i19D958AE25C20100/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692166957874.jpg" alt="1692166957874.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Aug 2023 06:23:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571438#M71653</guid>
      <dc:creator>ged0313</dc:creator>
      <dc:date>2023-08-16T06:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Charging Problem of AGV</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571439#M71654</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;What error? There is a circular Deadlock that you will need to sort through but I do not see an error with the custom code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692200783625.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519039i79B9A5E3E19541FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692200783625.png" alt="1692200783625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; In your photo there is a breakpoint in your custom code that you can remove.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:45:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/charging-problem-of-agv/m-p/13571439#M71654</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-08-16T15:45:35Z</dc:date>
    </item>
  </channel>
</rss>

