<?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: Releasing a batch based on a minimum number of token in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529057#M38203</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/20339/armandj.html" nodeid="20339"&gt;@Armand J&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Batch activity doesn't seem to allow that kind of logic. It would be helpful to see your model to find an alternative solution. Could you post your model or a model that demonstrates what you are trying to accomplish?&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Oct 2020 01:33:54 GMT</pubDate>
    <dc:creator>Jeanette_Fullmer</dc:creator>
    <dc:date>2020-10-06T01:33:54Z</dc:date>
    <item>
      <title>Releasing a batch based on a minimum number of token</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529056#M38202</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi everyone, &lt;/P&gt;
 &lt;P&gt;I have a model working with Process flow. &lt;/P&gt;
 &lt;P&gt;At time 0, Supermarket fullfilled, and orders arrived. I pick parts in the supermarket and released "kanban" to the prduction area. &lt;/P&gt;
 &lt;P&gt;as a trigger to produce, I used "batch" function to release a certain amount of cards in once to avoid to process each part individually. So in my case, batch of 6. &lt;/P&gt;
 &lt;P&gt;But, I realized that's not how it should work, due to the fact that if I have 7, production should receive the 7 orders. (now, 1 batch of 6 released and the 7th stay in the batch activity waiting next day order)&lt;/P&gt;
 &lt;P&gt;How to do with a "minimum" batch ? or to program a decide or custom code to work with quantity of token?&lt;/P&gt;
 &lt;P&gt;Thanks for your info back. &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Oct 2020 06:38:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529056#M38202</guid>
      <dc:creator>armand_j</dc:creator>
      <dc:date>2020-10-02T06:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing a batch based on a minimum number of token</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529057#M38203</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/20339/armandj.html" nodeid="20339"&gt;@Armand J&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Batch activity doesn't seem to allow that kind of logic. It would be helpful to see your model to find an alternative solution. Could you post your model or a model that demonstrates what you are trying to accomplish?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Oct 2020 01:33:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529057#M38203</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2020-10-06T01:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing a batch based on a minimum number of token</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529058#M38204</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;As you describe it. Add another process that does what you want. If your batch activity lets exit a token and there is waiting another token, you preempt this token batching activity.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/TokenCreation/EventTriggeredSource/" target="_blank"&gt;On Event create token activity&lt;/A&gt; &amp;gt; &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/CodingInFlexSim/CommandReference/Commands.html#gettokens" target="_blank"&gt;get tokens&lt;/A&gt; of batch activity as an array in &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/Basic/CustomCode/" target="_blank"&gt;custom code&lt;/A&gt;&amp;gt; &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/Basic/Decide/" target="_blank"&gt;decide&lt;/A&gt; if array is &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/Array.html#Property-length" target="_blank"&gt;not empty&lt;/A&gt; &amp;gt; &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/SubFlow/RunSubFlow/" target="_blank"&gt;run sub flow&lt;/A&gt; &amp;gt; &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/Preemption/ReleaseToken/" target="_blank"&gt;preempt every single token&lt;/A&gt; of the array to be in next activity of their process &amp;gt; finish.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Oct 2020 04:18:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529058#M38204</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-10-06T04:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing a batch based on a minimum number of token</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529059#M38205</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Jörg Vogel&lt;/A&gt;, &lt;A rel="user" href="https://answers.flexsim.com/users/24344/jeanettef.html" nodeid="24344"&gt;@Jeanette F&lt;/A&gt;, &lt;/P&gt;
 &lt;P&gt;Thanks for your answers and interest to my question. &lt;/P&gt;
 &lt;P&gt;With a direct support, I succeed to do that, please see below the way. &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Batch quantity increased to inachievable level (here 100), using "Use Max Wait Timer" to release Batch with a criteria "collected &amp;gt;= 6".&lt;/P&gt;
 &lt;P&gt;This was working fine but my trigger for production have a different quantity per P/N, this was not sufficient. &lt;/P&gt;
 &lt;P&gt;The next step is to use a Table to get different condition level in the criteria, as "collected &amp;gt;= Table("BatchperType")[token.Try.TypePart]["Batch_min"]" &lt;/P&gt;
 &lt;P&gt;Now, after a time of 20s, if my number of token per type achieved the required minium, my batch moved to next step. &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="33194-batch-min.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1503809iB5E6C21D62886310/image-size/large?v=v2&amp;amp;px=999" role="button" title="33194-batch-min.jpg" alt="33194-batch-min.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="33184-batch-table.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1503810iD4A0422CE482AB17/image-size/large?v=v2&amp;amp;px=999" role="button" title="33184-batch-table.jpg" alt="33184-batch-table.jpg" /&gt;&lt;/span&gt;&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="33174-table.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1503811iBD45AE8B60B97619/image-size/large?v=v2&amp;amp;px=999" role="button" title="33174-table.jpg" alt="33174-table.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks &lt;A rel="user" href="https://answers.flexsim.com/users/239/clair.a.html" nodeid="239"&gt;@Clair A&lt;/A&gt; for support &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:57:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/releasing-a-batch-based-on-a-minimum-number-of-token/m-p/13529059#M38205</guid>
      <dc:creator>armand_j</dc:creator>
      <dc:date>2020-10-06T07:57:28Z</dc:date>
    </item>
  </channel>
</rss>

