<?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: Permutation not found in FlexSim 2021 in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524941#M35031</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Here is a modified version of the model you sent:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/40058-permutation-2021-1.fsm" target="_blank"&gt;permutation-2021_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;First, you don't need GlobalTable2 anymore. That table's purpose was to define the sequence of rows to use in GlobalTable1. Instead, you just need a single parameter. A sequence parameter holds all the values of the sequence, so you only need one. I set the Sequence Length to Table("GlobalTable1").numRows, so that the number of values in the sequence will match the number of rows in the table.&lt;/P&gt;&lt;P&gt;I renamed the first parameter "Sequence" and then I used it in the model with code like this:&lt;/P&gt;&lt;PRE&gt;Model.parameters.Sequence[3] // get the 3rd sequence value&lt;/PRE&gt;&lt;P&gt;A sequence parameter's value is an array, so you can get any of the values of that array, anywhere in your model.&lt;/P&gt;&lt;P&gt;Then I set up an experiment to demonstrate how you change the whole sequence for a single parameter value.&lt;/P&gt;&lt;P&gt;Let me know if that makes sense.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Jun 2021 12:24:03 GMT</pubDate>
    <dc:creator>JordanLJohnson</dc:creator>
    <dc:date>2021-06-02T12:24:03Z</dc:date>
    <item>
      <title>Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524938#M35028</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I was doing OptQuest with permutations in FlexSim 2020.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="39838-1622006055715.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506175iEDCA793728A0BBB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="39838-1622006055715.png" alt="39838-1622006055715.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, I noticed that FlexSim 2021 does not have permutation items.&lt;/P&gt;&lt;P&gt;In FlexSim 2021, I know that the setting information has been moved from the "Optimizer Design" tab to the "Model Parameter Table". However, I couldn't find it there either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="39839-1622006096247.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506176i4FBD71A1D2AA42B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="39839-1622006096247.png" alt="39839-1622006096247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;How can I do OptQuest with permutations in FlexSim 2021?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 May 2021 05:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524938#M35028</guid>
      <dc:creator>tsuji_ryusuke</dc:creator>
      <dc:date>2021-05-26T05:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524939#M35029</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can use the Sequence variable. Instead of adding N permutation variables, you specify that the sequence length is N. OptQuest will see a single sequence variable as N permuation variables in a permuation group.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Jun 2021 22:57:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524939#M35029</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2021-06-01T22:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524940#M35030</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&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;Thank you for your reply. I have tried using sequence variable. But it didn't work.&lt;/P&gt;&lt;P&gt;I will attach the model created in 2020 and the model created in 2021.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will explain the model.&lt;/P&gt;&lt;P&gt;Three types of objects are created in queue 1. The object is assigned the label "Type", but this information refers to the value in "Global Table 2".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The setup time of Processor1 is changed according to the Type information of the object set up immediately before. Refer to "Global Table 1" for setup time information.&lt;/P&gt;&lt;P&gt;For example, if the type of the object set up last time is "3" and the type of the object set up this time is "1", the setup time will be "5". The first time will be ignored.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="40044-20210602-1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506173iFCA734C441AA6BF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="40044-20210602-1.png" alt="40044-20210602-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a scenario in which the OptQuest is used to rearrange the values in "Global Table 2" to find the combination that minimizes the setup time.&lt;/P&gt;&lt;P&gt;Am I doing something wrong with the FlexSIm 2021?&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/40019-permutation-2020.fsm" target="_blank"&gt;Permutation_2020.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/40020-permutation-2021.fsm" target="_blank"&gt;Permutation_2021.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Jun 2021 06:24:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524940#M35030</guid>
      <dc:creator>tsuji_ryusuke</dc:creator>
      <dc:date>2021-06-02T06:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524941#M35031</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Here is a modified version of the model you sent:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/40058-permutation-2021-1.fsm" target="_blank"&gt;permutation-2021_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;First, you don't need GlobalTable2 anymore. That table's purpose was to define the sequence of rows to use in GlobalTable1. Instead, you just need a single parameter. A sequence parameter holds all the values of the sequence, so you only need one. I set the Sequence Length to Table("GlobalTable1").numRows, so that the number of values in the sequence will match the number of rows in the table.&lt;/P&gt;&lt;P&gt;I renamed the first parameter "Sequence" and then I used it in the model with code like this:&lt;/P&gt;&lt;PRE&gt;Model.parameters.Sequence[3] // get the 3rd sequence value&lt;/PRE&gt;&lt;P&gt;A sequence parameter's value is an array, so you can get any of the values of that array, anywhere in your model.&lt;/P&gt;&lt;P&gt;Then I set up an experiment to demonstrate how you change the whole sequence for a single parameter value.&lt;/P&gt;&lt;P&gt;Let me know if that makes sense.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Jun 2021 12:24:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524941#M35031</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2021-06-02T12:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524942#M35032</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&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;Thank you for your reply. This solution is all I wanted to know!&lt;/P&gt;&lt;P&gt;This content was very helpful.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm really thankful to you!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Jun 2021 00:28:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524942#M35032</guid>
      <dc:creator>tsuji_ryusuke</dc:creator>
      <dc:date>2021-06-03T00:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524943#M35033</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&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 have additional questions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Model.parameters.Sequence [3] // get the 3rd sequence value&lt;/P&gt;&lt;P&gt;Is it possible to define this as a variable using Flexscript?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I wrote the following but it didn't work.&lt;/P&gt;&lt;P&gt;Model.parameters ["Sequence"]. evaluate (3)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you have any good advice?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2021 09:39:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524943#M35033</guid>
      <dc:creator>tsuji_ryusuke</dc:creator>
      <dc:date>2021-06-04T09:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524944#M35034</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&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 was able to resolve myself.&lt;/P&gt;&lt;P&gt;It worked with the following description.&lt;/P&gt;&lt;P&gt;Model.parameters ["Sequence"]. evaluate () [3]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2021 10:47:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524944#M35034</guid>
      <dc:creator>tsuji_ryusuke</dc:creator>
      <dc:date>2021-06-04T10:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Permutation not found in FlexSim 2021</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524945#M35035</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;In your case,&lt;/P&gt;&lt;P&gt;Model.parameters["Sequence"].value[3]&lt;/P&gt;&lt;P&gt;would also work&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:52:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/permutation-not-found-in-flexsim-2021/m-p/13524945#M35035</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2021-06-04T14:52:11Z</dc:date>
    </item>
  </channel>
</rss>

