<?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: Experimenter only working for first 8 runs? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530615#M39536</link>
    <description>&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/744/craig.d.html" nodeid="744"&gt;@Craig DIckson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Were you able to find a solution to this? If not, please reply with your model and tag me and Jordan to help you find a solution. &lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 15:01:43 GMT</pubDate>
    <dc:creator>braydn_t</dc:creator>
    <dc:date>2019-06-26T15:01:43Z</dc:date>
    <item>
      <title>Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530610#M39531</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I have a model that behaving strangely in the experimenter. As long as the number of runs in my experiment is not greater than the number of cores in my machine, it works correctly. (My computer has 8 cores). But if it has more than 8 runs, the second pas through for runs &amp;gt; 8 run almost instantaneously and return no results. So if I have 6 scenarios and 1 replication, or 4 scenarios with 2 replications, it's fine. But if I have 9 scenarios with 1 rep, or 6 scenarios with 2 reps, the last runs don't work. &lt;/P&gt;
&lt;P&gt;I saw a similar question earlier in the forums, but the suggestion was to check "Restore original state after each replication", and it was already checked in this model.(I actually tried it both ways and neither worked. Also, I tried on a different model to see if it was a FS2019 bug, but the other model seems fine.&lt;/P&gt;
&lt;P&gt;The pictures below show the problem:&lt;/P&gt;
&lt;P&gt;Six scenarios, 1 rep, all ok:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18868-6-scenarios-1-repok.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499079iA5B8B0CBEA9BF65B/image-size/large?v=v2&amp;amp;px=999" role="button" title="18868-6-scenarios-1-repok.png" alt="18868-6-scenarios-1-repok.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;6 scenarios 2 reps: the first 4 scenarios worked; the last 2 scenarios failed. This was run immediately after the above, changing only the number of reps (from 1 to 2):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18869-6-sceanrios-2-repsfailed.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499080iEDE204E46DC0095E/image-size/large?v=v2&amp;amp;px=999" role="button" title="18869-6-sceanrios-2-repsfailed.png" alt="18869-6-sceanrios-2-repsfailed.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;9 scenarios: the first 8 scenarios worked, the 9th rep failed:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18870-9-scenarios-1-repfailed.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499081i0FB1CD13731792B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="18870-9-scenarios-1-repfailed.png" alt="18870-9-scenarios-1-repfailed.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Experimenter config:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18871-experimentrun-config.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499082iBB658212791699C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="18871-experimentrun-config.png" alt="18871-experimentrun-config.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Scenarios are pretty simple, just a global variable:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18872-scenarios.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499083i496E343A083714E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="18872-scenarios.png" alt="18872-scenarios.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 23:57:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530610#M39531</guid>
      <dc:creator>craig_dickson</dc:creator>
      <dc:date>2019-04-30T23:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530611#M39532</link>
      <description>&lt;P&gt;If you run your model without the experimenter, does it terminate correctly? it seems like your runs are not terminating.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 10:12:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530611#M39532</guid>
      <dc:creator>london_mt</dc:creator>
      <dc:date>2019-05-01T10:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530612#M39533</link>
      <description>&lt;P&gt;I purposely set the experimenter time to be slightly less than the expected completion time, to make an apples-to-apples comparison a bit easier. But yes, they all end correctly outside the experimenter.&lt;/P&gt;
&lt;P&gt;What I'm struggling with is that I get different results for the same scenario/rep depending on the number of reps. See the scenarios MaxCommon50 and MaxCommon100 in my first two pictures. If I only run one rep, I get valid results for those scenarios (since they are the 5th and 6th runs), but if I run 2 reps, then I don't (because they are now the 9th and 10th runs). Note also that if I then move those scenarios to the left on the scenarios tab, they will work.&lt;/P&gt;
&lt;P&gt;In fact, if I have only two scenarios, and I set reps to 4, they'll both get valid results for all reps. But if I set it to 6 reps, then only the first two reps of the second scenario will get valid results. And if I set it to 8 reps, only the first scenario will get any valid runs.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 15:45:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530612#M39533</guid>
      <dc:creator>craig_dickson</dc:creator>
      <dc:date>2019-05-01T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530613#M39534</link>
      <description>&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;If you post your model (perhaps in a private question, if the model is sensitive), we may be able to learn more. If you set the Max Cores (on the Advanced tab of the Experimenter) to 1, can you run more than one replication?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 20:01:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530613#M39534</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2019-05-03T20:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530614#M39535</link>
      <description>&lt;P&gt;Jordan,&lt;/P&gt;
&lt;P&gt;If I set it to 1 core, only the first rep of the first scenario gets a valid answer; if I set it to two cores, then the first two runs are valid, whether that is two scenarios/1 rep or 1 scenario 2 reps.&lt;/P&gt;
&lt;P&gt;I'l try to post it; it does depend on some other files (Excel) being in the right place.&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2019 00:06:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530614#M39535</guid>
      <dc:creator>craig_dickson</dc:creator>
      <dc:date>2019-05-04T00:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530615#M39536</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/744/craig.d.html" nodeid="744"&gt;@Craig DIckson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Were you able to find a solution to this? If not, please reply with your model and tag me and Jordan to help you find a solution. &lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 15:01:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530615#M39536</guid>
      <dc:creator>braydn_t</dc:creator>
      <dc:date>2019-06-26T15:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530616#M39537</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/14767/braydnt.html" nodeid="14767"&gt;@Braydn T&lt;/A&gt; &lt;A rel="user" href="https://answers.flexsim.com/users/220/jordan.j.html" nodeid="220"&gt;@jordan.johnson&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I posted this in a private question "Experimenter misbehaving" in early May.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 17:40:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530616#M39537</guid>
      <dc:creator>craig_dickson</dc:creator>
      <dc:date>2019-06-27T17:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter only working for first 8 runs?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530617#M39538</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/744/craig.d.html" nodeid="744"&gt;@Craig DIckson&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi Craig, I notice that the child replications are all opening an Excel workbook. The excel connection should not be used for reading or writing during an experiment. You should import all the data you need at the beginning of the run. If you are returning tables from each replication, then you should use the End of Replication trigger to pass the table up to the parent FlexSim, and use the End of Experiment trigger to dump that data from the parent FlexSim to Excel.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 19:03:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-only-working-for-first-8-runs/m-p/13530617#M39538</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2019-06-27T19:03:29Z</dc:date>
    </item>
  </channel>
</rss>

