<?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: issue with experimenter in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490782#M8328</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;When I run the experimenter in the model attached above I get the following results:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1650441572009.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509914i93F740EE703697C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1650441572009.png" alt="1650441572009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't really tell what might be going wrong in your case without seeing your current model, though.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 20 Apr 2022 08:00:02 GMT</pubDate>
    <dc:creator>FelixMoehlmann</dc:creator>
    <dc:date>2022-04-20T08:00:02Z</dc:date>
    <item>
      <title>issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490775#M8321</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.0.1 ]&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/51064-rfidproject.fsm" target="_blank"&gt;rfidproject.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;when i run the experimenter, it is not considering trigger logic given in processor.&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot-4143.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509916i4D29B1328BDD40A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-4143.png" alt="screenshot-4143.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;it just runs the experiment for one hour and i get same output for all scenarios.i have parameters and assigned some values to them and set a scenario for each of parameter level so i need to get a different output for scenarios.&lt;/P&gt;
 &lt;P&gt;can someone help what needs to be done?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Apr 2022 13:20:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490775#M8321</guid>
      <dc:creator>lokesh_gp</dc:creator>
      <dc:date>2022-04-19T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490776#M8322</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;"stop()" doesn't work with the experimenter or optimizer. Use "endreplication(1)" instead. Depending on which trigger you are using, you might have to send a delayed message and then run the command in the message trigger, instead of directly in the first trigger.&lt;/P&gt;&lt;P&gt;(endreplication deletes all pending events, if the trigger it is called in creates a new event, the replication won't stop)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1650375169089.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509904i38E38EEDCEAE48BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="1650375169089.png" alt="1650375169089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1650375196826.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509905iD51EE5E08A0176CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1650375196826.png" alt="1650375196826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Apr 2022 13:33:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490776#M8322</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-04-19T13:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490777#M8323</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;thanks for the reply.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51060-rfidproject.fsm" target="_blank"&gt;rfidproject.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;i don't know where to add the codes. can you please add required code in this file. i will check and learn.&lt;/P&gt;
 &lt;P&gt;thanks in advance&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Apr 2022 15:29:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490777#M8323</guid>
      <dc:creator>lokesh_gp</dc:creator>
      <dc:date>2022-04-19T15:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490778#M8324</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The "senddelayedmessage" you use instead of the "stop()" in the On Process Finish trigger. And the "endreplication(1)" in the "On Message" trigger (as you can actually see by the name of the tab in the screenshot).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1650382808525.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509908i95D6CF457439796B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1650382808525.png" alt="1650382808525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51071-rfidproject-1.fsm" target="_blank"&gt;rfidproject_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Apr 2022 15:39:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490778#M8324</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-04-19T15:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490779#M8325</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;thanks for the help.&lt;/P&gt;
 &lt;P&gt;i expect results in this values&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot-2022-04-20-115122.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509909iE4FBE01A6CAFFCA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-2022-04-20-115122.jpg" alt="screenshot-2022-04-20-115122.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;but the result which i get in simulation is of this values.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot-2022-04-20-115512.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509910i7032A02831201C45/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-2022-04-20-115512.jpg" alt="screenshot-2022-04-20-115512.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;this is the trigger code i used.&lt;/P&gt;
 &lt;P&gt;if(uniform(0,1,getstream(current)) &amp;lt; Model.parameters.conveyorspeed * Model.parameters.tagposition * Model.parameters.materials)&lt;/P&gt;
 &lt;P&gt;{
  &lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="white-space:pre;"&gt; &lt;/SPAN&gt;senddelayedmessage(current, 0, current);&lt;/P&gt;
 &lt;P&gt;}&lt;/P&gt;is there any problem with random number generation as scenario stops with single product read? 
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;what i need to do or correct to obtain some valid results? &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 06:30:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490779#M8325</guid>
      <dc:creator>lokesh_gp</dc:creator>
      <dc:date>2022-04-20T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490780#M8326</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;That depends on what your parameters represent (chance for successful read, or chance of failure) and how they interact. Under the assumption that they represent the chance of a successful read and are independent from each other then to total success chance would be P(a,b,c) = P(a)*P(b)*P(c), where P(x) is the individual probability.&lt;P&gt;In that case the random number would have to be larger than the success chance to signify a failure. For example, the success chance is 0.8. A failure would occur if the random number is larger than 0.8; in 20% of the cases.&lt;/P&gt;In your code you are checking if the number lower. That would be correct if the product of your numbers represents the total failure chance.&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 06:47:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490780#M8326</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-04-20T06:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490781#M8327</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;if(uniform(0,1,getstream(current)) &amp;gt; Model.parameters.conveyorspeed * Model.parameters.tagposition * Model.parameters.materials)&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;{
  &lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;senddelayedmessage(current, 0, current);&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;}&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot-2022-04-20-123238.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509913i6A4273DE5460E9CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-2022-04-20-123238.jpg" alt="screenshot-2022-04-20-123238.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;chance of successful read is the desired outcome. so i changed the 'decrease' to 'increase' sign in trigger so the random number generated should be greater than product of those probability to denote failure. so why is the result same for all scenario. i should be able to get different outputs for scenarios but get 4 for all. so what is cause for this bias? is there any issue with random number generation? &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 07:10:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490781#M8327</guid>
      <dc:creator>lokesh_gp</dc:creator>
      <dc:date>2022-04-20T07:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490782#M8328</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;When I run the experimenter in the model attached above I get the following results:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1650441572009.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509914i93F740EE703697C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1650441572009.png" alt="1650441572009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't really tell what might be going wrong in your case without seeing your current model, though.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 08:00:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490782#M8328</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-04-20T08:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490783#M8329</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51104-rfidproject-1.fsm" target="_blank"&gt;rfidproject-1.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;sorry, i changed some parameter values.&lt;/P&gt;
 &lt;P&gt;i could not understand why the read redundancy is not increasing after 4. please suggest the solution to the problem.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 08:14:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490783#M8329</guid>
      <dc:creator>lokesh_gp</dc:creator>
      <dc:date>2022-04-20T08:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490784#M8330</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;It seems like it's a statistical artifact due to the way the random number generator works. The N-th replication for each scenario will use the same random number stream (effectively the same sequence of "random" numbers). In the case of the first replication, that stream returns 0.97 as the fourth generated number. Because it is quite high, this always resulted in a failure and lead to the same overall result.&lt;/P&gt;&lt;P&gt;Because the design of your experiment (only run until first failure) results in a very small sample size per replication you'd need to run many more replications to reduce the statistical error of your results.&lt;BR /&gt;Below are the results for 50 replications. As you can see it results in a much wider spread of values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1650445478857.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509915i6941B5C4E88E759D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1650445478857.png" alt="1650445478857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 09:04:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490784#M8330</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-04-20T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: issue with experimenter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490785#M8331</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 thanks for the help!
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 09:49:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/issue-with-experimenter/m-p/13490785#M8331</guid>
      <dc:creator>lokesh_gp</dc:creator>
      <dc:date>2022-04-20T09:49:24Z</dc:date>
    </item>
  </channel>
</rss>

