<?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: Model simulation run slow on max runtime and hangs in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572227#M72212</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/42643/amitkumar.html" nodeid="42643"&gt;@AMIT KUMAR&lt;/A&gt;, was Felix Möhlmann'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, 22 Mar 2023 01:10:20 GMT</pubDate>
    <dc:creator>Jeanette_Fullmer</dc:creator>
    <dc:date>2023-03-22T01:10:20Z</dc:date>
    <item>
      <title>Model simulation run slow on max runtime and hangs</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572225#M72210</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/65756-06-copy.fsm" target="_blank"&gt;06 - Copy.fsm&lt;/A&gt;I am not able to simulate this model for 3-4 weeks. &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Mar 2023 06:10:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572225#M72210</guid>
      <dc:creator>AMITKUMAR</dc:creator>
      <dc:date>2023-03-16T06:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Model simulation run slow on max runtime and hangs</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572226#M72211</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You have a lot of instances where you needlessly send tokens around a loop up to a hundred times a second.&lt;/P&gt;&lt;P&gt;One example is the subflow for the operator breaks. As long as nothing can be acquired, the tokens loop around constantly due to the Max Wait Time setting.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1678951336844.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516074i70E1AFEA5ED7A689/image-size/large?v=v2&amp;amp;px=999" role="button" title="1678951336844.png" alt="1678951336844.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That setting is meant for cases where you want to have logic in the form of (Try to acquire X, if unsuccessful, do something else). There is no "do something else" here, the token can only continue to the activities below "Breaks Logic" once it acquired an operator. So using a Max Wait Time doesn't make sense in this case. You can just use a single activity and have the token wait until it acquired an operator.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1678952219537.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516076i9CEAA0B4D7BDF6BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1678952219537.png" alt="1678952219537.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As I said there are multiple instances of this in your model, some with Acquires/Resource and some with Pull from Lists/Lists. Example for a case with a list is shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1678952277718.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516077iEABD263F9AD44A0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1678952277718.png" alt="1678952277718.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;A similar thing happens at different points where the tokens constantly checks a value in a global table. Instead you should do the check and if the value is not "correct" yet, have the token wait until an event that (possibly) changes this value happens. Depending on where this value is set, this could a token exiting a certain activity or an item in the 3d model being moved in/out of a certain object.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1678952547929.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516078iBE23820A681E5F66/image-size/large?v=v2&amp;amp;px=999" role="button" title="1678952547929.png" alt="1678952547929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Mar 2023 07:43:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572226#M72211</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-03-16T07:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Model simulation run slow on max runtime and hangs</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572227#M72212</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/42643/amitkumar.html" nodeid="42643"&gt;@AMIT KUMAR&lt;/A&gt;, was Felix Möhlmann'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, 22 Mar 2023 01:10:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/model-simulation-run-slow-on-max-runtime-and-hangs/m-p/13572227#M72212</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-03-22T01:10:20Z</dc:date>
    </item>
  </channel>
</rss>

