<?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 Experimenter problem in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584439#M81645</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; Hello!! I have a question&lt;/P&gt;
 &lt;P id="isPasted" style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;Connect flexsim and python via Socket&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;python as client flexsim as server&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;python is responsible for passing variables to flexsim&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;flexsim take variables to scenario and executes experimenter&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;After flexsim executes the experimenter, the value is passed to python&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;Execute the above process 100,000 times&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;There is no way to execute 100,000 times because the experimenter will be broken. Until a certain time you can only take variables to the scenario, but the experimenter cannot be enabled.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;How to solve??&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/68483-%E7%B7%B4%E7%BF%924.py" target="_blank"&gt;練習4.py&lt;/A&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/68484-socket-new.fsm" target="_blank"&gt;socket new.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 May 2023 08:07:44 GMT</pubDate>
    <dc:creator>s9816358</dc:creator>
    <dc:date>2023-05-23T08:07:44Z</dc:date>
    <item>
      <title>Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584439#M81645</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; Hello!! I have a question&lt;/P&gt;
 &lt;P id="isPasted" style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;Connect flexsim and python via Socket&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;python as client flexsim as server&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;python is responsible for passing variables to flexsim&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;flexsim take variables to scenario and executes experimenter&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;After flexsim executes the experimenter, the value is passed to python&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;Execute the above process 100,000 times&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;There is no way to execute 100,000 times because the experimenter will be broken. Until a certain time you can only take variables to the scenario, but the experimenter cannot be enabled.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;How to solve??&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/68483-%E7%B7%B4%E7%BF%924.py" target="_blank"&gt;練習4.py&lt;/A&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: ;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/68484-socket-new.fsm" target="_blank"&gt;socket new.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 08:07:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584439#M81645</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T08:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584440#M81646</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, what do you mean that the "experimenter will be broken"? Is there a specific number of replications where it fails? What kind of errors are you getting?&lt;/P&gt;&lt;P&gt;Please note that running 100,000 experiments would take a very long time. If every iteration only took 1 second, it would take&lt;STRONG&gt; over 27 hours&lt;/STRONG&gt; to run.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 17:00:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584440#M81646</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-23T17:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584441#M81647</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; Hi&lt;/P&gt;
 &lt;P&gt;No errors are displayed and suddenly cannot communicate with each other because the experimenter can no longer execute!!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 17:10:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584441#M81647</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584442#M81648</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;How do you know it is the experimenter and not the socket connection breaking?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 17:18:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584442#M81648</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-23T17:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584443#M81649</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;In the middle of the communication , when neither party takes any action, the received variables are taken into the scenario in flexsim, and I manually start the experimenter There is no way to execute the experimenter&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 17:48:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584443#M81649</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T17:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584444#M81650</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;As for the reason, it is not that the connection is interrupted, because I shut down the entire flexsim, and the python terminal shows that the connection has been forcibly disconnected&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 17:50:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584444#M81650</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584445#M81651</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Is there a specific time or iteration where this happens? I can't really help you if I'm not able to replicate the problem.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 18:22:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584445#M81651</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-23T18:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584446#M81652</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;I do it many times and the timing of the stop is different every time&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 18:27:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584446#M81652</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T18:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584447#M81653</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Is it possible that my IP was hacked by others and the execution was interrupted?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 18:29:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584447#M81653</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T18:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584448#M81654</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;On average how long do you run the program before it stops? I ran it for several minutes and nothing happened.&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 18:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584448#M81654</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-23T18:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584449#M81655</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;This happens within two days or within five days&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 18:44:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584449#M81655</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T18:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584450#M81656</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;But when I encounter this situation, the file used is different. The file attached to the question is a simplified version to explain my problem.&lt;/P&gt;
 &lt;P&gt;I attach a file of the situation encountered&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/68541-%E8%AB%96%E6%96%87-autosave.fsm" target="_blank"&gt;論文_autosave.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/68542-ga-for-my-elevator.py" target="_blank"&gt;GA for my elevator.py&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 18:51:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584450#M81656</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T18:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584451#M81657</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Are you saying that after running the experimenter for 2-5 days, it stops working?&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 19:18:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584451#M81657</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-23T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584452#M81658</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;That's right, this is the problem I'm currently having&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 19:22:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584452#M81658</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-05-23T19:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584453#M81659</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, I recommend that you try to run FlexSim instances in parallel to get your results faster so the Experimenter has less time to "break". There are a number of ways you could do this.&lt;/P&gt;&lt;P&gt;You could try increasing the number of scenarios you run in the experimenter. Simply take in multiple inputs from the python script before running, and then after running the experimenter, you can export all the results to your script to process.&lt;/P&gt;&lt;P&gt;You can use distributed CPUs on the Advanced tab of the experimenter to break up the work to help the experiments run faster.&lt;/P&gt;&lt;P&gt;You could use the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/23.1/Reference/DeveloperAdvancedUser/Webserver/Webserver.html#page-header" target="_blank"&gt;FlexSim Web Server&lt;/A&gt; to run the experimenter and avoid crashing. This will allow you to specify the number of instances of FlexSim you can have open, and run multiple at a time so you can get results back faster.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 19:46:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584453#M81659</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-05-24T19:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenter problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584454#M81660</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, was Kavika F'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>Tue, 30 May 2023 19:57:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/experimenter-problem/m-p/13584454#M81660</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-05-30T19:57:13Z</dc:date>
    </item>
  </channel>
</rss>

