<?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: Partial Batch Release: Move Some Products Forward, Keep Producing the Rest in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598109#M92424</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/19365/felixmh.html" nodeid="19365"&gt;@Felix Möhlmann&lt;/A&gt; &lt;BR /&gt;In your example, the number of sub-batches stays the same throughout each processor because it’s determined by the &lt;STRONG&gt;CreateTokens&lt;/STRONG&gt; function. Within &lt;STRONG&gt;CreateTokens&lt;/STRONG&gt;, three tokens are created: the first two tokens are each assigned the same number of sub-batches (which is 3 in your example), and the third token represents the remaining batch size (which is 4). Thus, the total quantity is 2×3+4=10. This setup leads to the same logic being applied in all the &lt;STRONG&gt;Run Sub Flow&lt;/STRONG&gt; (1–4).&lt;/P&gt;
 &lt;P&gt;However, I forgot to mention that in my scenario, a product can pass through multiple processors, and each processor may use a &lt;STRONG&gt;different&lt;/STRONG&gt; number of sub-batches. For instance, &lt;STRONG&gt;Processor 1&lt;/STRONG&gt; might use 3 sub-batches, &lt;STRONG&gt;Processor 2&lt;/STRONG&gt; might use 4, and so on. In my system, there are three possible cases:&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sub-batch count = 0:&lt;/STRONG&gt; The processor must process the product in its entirety before moving on.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sub-batch count = 1:&lt;/STRONG&gt; The processor sends one item at a time to the next processor.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Any other specific sub-batch count:&lt;/STRONG&gt; The product should follow the logic you demonstrated in your example.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;I tried to adapt your logic so it could accommodate these scenarios. I’m envisioning a setup as shown in the picture.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527153i0FB385C1424C30F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image.png" alt="Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Where &lt;STRONG&gt;CreateTokens&lt;/STRONG&gt; is separate from the &lt;STRONG&gt;Run Sub Flow&lt;/STRONG&gt; (1–4). When a product enters &lt;STRONG&gt;RunSubFlow 1&lt;/STRONG&gt;, it would create the necessary number of sub-tokens in a &lt;STRONG&gt;“Sub Flow Decision”&lt;/STRONG&gt; that manages a specific number of sub-batches. When the first sub-batch finishes and moves to the next processor, the main decision flow could create an additional token and continue from there. Meanwhile, the remaining sub-batches would still be running in the first processor. Once those sub-batches finish, they would somehow merge back into a single token. I’m not entirely sure if this approach is feasible, or if an alternative logic would be better.&lt;/P&gt;
 &lt;P&gt;I’ve also updated the source to show which processors use specific sub-batch sizes as an example.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;Thank you again for your help, and please let me know your thoughts!&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91705-batch-processing-3.fsm" target="_blank"&gt;batch-processing-3.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sat, 12 Apr 2025 12:10:41 GMT</pubDate>
    <dc:creator>timur_yeshimov</dc:creator>
    <dc:date>2025-04-12T12:10:41Z</dc:date>
    <item>
      <title>Partial Batch Release: Move Some Products Forward, Keep Producing the Rest</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598107#M92422</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.2.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91573-new-innision-simulering-2-autosave-copy-copy.fsm" target="_blank"&gt;new-innision-simulering-2_autosave - Copy - Copy.fsm&lt;/A&gt;&lt;BR /&gt;Hi FlexSim Community,&lt;/P&gt;
 &lt;P&gt;I’m developing a model that produces different product types along various routes. In my Process Flow, OFM1 that produces 10 units of a product, but I’d like 3 of those units to move on once they’re finished, while the remaining units continue to be produced at OFM1. I’ve defined this as “Overlapsantall” in the Schedule Source.&lt;/P&gt;
 &lt;P&gt;Right now, however, the system waits until all 10 units are completed before sending them onward, seemingly governed by the “Antall” (quantity) setting. This behavior needs to change so the three finished units can continue downstream while the rest remain in production.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744041892310.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527152i517811BB0DD1F639/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744041892310.png" alt="1744041892310.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Does anyone know how to configure Process Flow to handle this partial batch movement? This is critical because I plan to use the same approach for the rest of my process flow.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;Does anyone have advice or best practices on how to configure Process Flow to achieve this?&lt;BR /&gt;Thank you in advance for your help!&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91574-new-innision-simulering-2-autosave-copy-copy.fsm" target="_blank"&gt;new-innision-simulering-2_autosave - Copy - Copy.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Apr 2025 16:06:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598107#M92422</guid>
      <dc:creator>timur_yeshimov</dc:creator>
      <dc:date>2025-04-07T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Batch Release: Move Some Products Forward, Keep Producing the Rest</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598108#M92423</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Based on the example I provided &lt;A rel="noopener noreferrer" id="isPasted" href="https://answers.flexsim.com/questions/178041/consecutive-product-skipping-process-after-move-ob.html?childToView=178093#answer-178093" target="_blank"&gt;in your most recent post&lt;/A&gt; I build an example of how this could function. Essentially each batch token is split up into multiple sub-batches, each represented by a token. Only the first of the sub-batch tokens enters the respective zone. Others wait until this has happened before they are also allowed to move to the next station.&lt;/P&gt;&lt;P&gt;To sync the sub-batches I use lists. The first token puts itself onto a list (partition defined by batchID and area) as many times as there are other sub-batches once it enters the zone. Similarly, the first token has to wait until all other sub-batches have arrived in the current area (so a batch nevers spans more than two areas at a time). I don't know if this is actually a requirement, but wanted to showcase how this could be done.&lt;/P&gt;&lt;P&gt;The last sub-batch token then exits the zone and thus frees up the area for the next batch. Note the values I use in the "Enter For" and "Exit For" fields in the Enter and Exit Zone activities. The token that enters the zone is the 'main' token of the first sub-batch, not the one that enters the activity. Because only that token is persistent. The sub-flow token will likely not exist anymore by the time it would need to exit the zone.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91648-batch-processing-3.fsm" target="_blank"&gt;batch-processing-3.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Apr 2025 07:16:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598108#M92423</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-10T07:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Batch Release: Move Some Products Forward, Keep Producing the Rest</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598109#M92424</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/19365/felixmh.html" nodeid="19365"&gt;@Felix Möhlmann&lt;/A&gt; &lt;BR /&gt;In your example, the number of sub-batches stays the same throughout each processor because it’s determined by the &lt;STRONG&gt;CreateTokens&lt;/STRONG&gt; function. Within &lt;STRONG&gt;CreateTokens&lt;/STRONG&gt;, three tokens are created: the first two tokens are each assigned the same number of sub-batches (which is 3 in your example), and the third token represents the remaining batch size (which is 4). Thus, the total quantity is 2×3+4=10. This setup leads to the same logic being applied in all the &lt;STRONG&gt;Run Sub Flow&lt;/STRONG&gt; (1–4).&lt;/P&gt;
 &lt;P&gt;However, I forgot to mention that in my scenario, a product can pass through multiple processors, and each processor may use a &lt;STRONG&gt;different&lt;/STRONG&gt; number of sub-batches. For instance, &lt;STRONG&gt;Processor 1&lt;/STRONG&gt; might use 3 sub-batches, &lt;STRONG&gt;Processor 2&lt;/STRONG&gt; might use 4, and so on. In my system, there are three possible cases:&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sub-batch count = 0:&lt;/STRONG&gt; The processor must process the product in its entirety before moving on.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sub-batch count = 1:&lt;/STRONG&gt; The processor sends one item at a time to the next processor.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Any other specific sub-batch count:&lt;/STRONG&gt; The product should follow the logic you demonstrated in your example.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;I tried to adapt your logic so it could accommodate these scenarios. I’m envisioning a setup as shown in the picture.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527153i0FB385C1424C30F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image.png" alt="Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Where &lt;STRONG&gt;CreateTokens&lt;/STRONG&gt; is separate from the &lt;STRONG&gt;Run Sub Flow&lt;/STRONG&gt; (1–4). When a product enters &lt;STRONG&gt;RunSubFlow 1&lt;/STRONG&gt;, it would create the necessary number of sub-tokens in a &lt;STRONG&gt;“Sub Flow Decision”&lt;/STRONG&gt; that manages a specific number of sub-batches. When the first sub-batch finishes and moves to the next processor, the main decision flow could create an additional token and continue from there. Meanwhile, the remaining sub-batches would still be running in the first processor. Once those sub-batches finish, they would somehow merge back into a single token. I’m not entirely sure if this approach is feasible, or if an alternative logic would be better.&lt;/P&gt;
 &lt;P&gt;I’ve also updated the source to show which processors use specific sub-batch sizes as an example.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;Thank you again for your help, and please let me know your thoughts!&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91705-batch-processing-3.fsm" target="_blank"&gt;batch-processing-3.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 12 Apr 2025 12:10:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598109#M92424</guid>
      <dc:creator>timur_yeshimov</dc:creator>
      <dc:date>2025-04-12T12:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Batch Release: Move Some Products Forward, Keep Producing the Rest</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598110#M92425</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I think going back to one token per item makes sense for this. In hindsight it probably would have been the better choice even for fixed sub batch sizes to begin with.&lt;/P&gt;&lt;P&gt;That way you can simply batch the required amount after each sub flow. There is still one main token per batch though, that is entered into the zones as a proxy.&lt;/P&gt;&lt;P&gt;I am currently not a PC with an active license for the 24.2 version, so I had to remove the fourth processor from the Process Flow to stay under the limit of 35 activities. The concept should be clear nonetheless, I think.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91735-batch-processing-4.fsm" target="_blank"&gt;batch-processing-4.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Apr 2025 15:04:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598110#M92425</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-14T15:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Batch Release: Move Some Products Forward, Keep Producing the Rest</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598111#M92426</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/19365/felixmh.html" nodeid="19365"&gt;@Felix Möhlmann&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Thank you for your help! I really appreciate it, and I think the solution is very impressive!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Apr 2025 16:56:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598111#M92426</guid>
      <dc:creator>timur_yeshimov</dc:creator>
      <dc:date>2025-04-14T16:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Batch Release: Move Some Products Forward, Keep Producing the Rest</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598112#M92427</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can still use a zone. Assign references to the created tokens and use those to wait until the last one has cleared the first sub flow (or any other activity).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1744650138266.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527150i999DC084E46F5FDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1744650138266.png" alt="1744650138266.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Apr 2025 17:02:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/partial-batch-release-move-some-products-forward-keep-producing/m-p/13598112#M92427</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-14T17:02:29Z</dc:date>
    </item>
  </channel>
</rss>

