<?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 automatically change Replications per Scenario and run experiments? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595518#M90423</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43519/shiuan.html" nodeid="43519"&gt;@shiuan&lt;/A&gt;, was Jason Lightfoot'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>Fri, 22 Dec 2023 15:21:02 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2023-12-22T15:21:02Z</dc:date>
    <item>
      <title>How to automatically change Replications per Scenario and run experiments?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595514#M90419</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;I need to accomplish the following two things&lt;/P&gt;
 &lt;P&gt;1. Use script to execute experiments.&lt;/P&gt;
 &lt;P&gt;I have found the following syntax, but cannot execute it.&lt;/P&gt;
 &lt;PRE&gt;applicationcommand("runExperimenter");&lt;/PRE&gt;
 &lt;PRE&gt;runExperimenter();&lt;/PRE&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;2. Read the value of "Simulation times" as the Replications per Scenario of the experiment.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1702916680961.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1521548iED34EBC66FB517B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1702916680961.png" alt="1702916680961.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;How should I write the script?&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/77228-aaa.fsm" target="_blank"&gt;aaa.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Dec 2023 16:29:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595514#M90419</guid>
      <dc:creator>Shiuan</dc:creator>
      <dc:date>2023-12-18T16:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically change Replications per Scenario and run experiments?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595515#M90420</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;An example of the location of the  numreps node:&lt;/P&gt;&lt;PRE&gt;MODEL:/Tools/Experimenter&amp;gt;variables/jobs/Experiment2/numReps&lt;/PRE&gt;&lt;P&gt;To run an experiment:&lt;/P&gt;&lt;PRE&gt;Object experimenter = node("/Tools/Experimenter", model());
treenode experiment=node("jobs/Experiment2",variables(experimenter));
function_s(experimenter, "run",experiment);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Dec 2023 17:10:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595515#M90420</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-12-18T17:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically change Replications per Scenario and run experiments?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595516#M90421</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Sorry, I still don't understand how to make the value of Replications per Scenario of the experiment change according to the parameter "Simulation times"&lt;/P&gt;
 &lt;P&gt;Can you give an example?&lt;/P&gt;
 &lt;P&gt;Thank you for your reply!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Dec 2023 17:35:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595516#M90421</guid>
      <dc:creator>Shiuan</dc:creator>
      <dc:date>2023-12-18T17:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically change Replications per Scenario and run experiments?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595517#M90422</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;In the OnSet of the parameter you set the value of the node of the experiment for which you wish it to apply.   If you have several jobs defined then having a single value for numReps doesn't qualify it - unless you want to change all jobs, in which case you'll need to write a loop to set all experiment jobs.  Take a look at the tree for the structure:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1702924880570.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1521544iA10AB06A48308A76/image-size/large?v=v2&amp;amp;px=999" role="button" title="1702924880570.png" alt="1702924880570.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Dec 2023 18:41:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595517#M90422</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-12-18T18:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically change Replications per Scenario and run experiments?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595518#M90423</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43519/shiuan.html" nodeid="43519"&gt;@shiuan&lt;/A&gt;, was Jason Lightfoot'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>Fri, 22 Dec 2023 15:21:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-automatically-change-replications-per-scenario-and-run/m-p/13595518#M90423</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-12-22T15:21:02Z</dc:date>
    </item>
  </channel>
</rss>

