<?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 Round robin by batch in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14028817#M100115</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an example with 4 combiners.&lt;/P&gt;&lt;P&gt;I have one source for Totes and the other one for boxes.&lt;/P&gt;&lt;P&gt;The objective is to send boxes by batch (in this case 100) to fill tote with the defined order Combiner1 -&amp;gt;&amp;nbsp;Combiner2 -&amp;gt;&amp;nbsp;Combiner3 -&amp;gt;&amp;nbsp;Combiner4 -&amp;gt;&amp;nbsp;Combiner1 -&amp;gt; Combiner2 -&amp;gt;&amp;nbsp;Combiner3.... (Round robin)&lt;/P&gt;&lt;P&gt;&amp;nbsp;The inter arrival time of boxes is defined (1.44 sec).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find in attached the example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 14:42:30 GMT</pubDate>
    <dc:creator>don_masmoudi</dc:creator>
    <dc:date>2026-02-23T14:42:30Z</dc:date>
    <item>
      <title>Round robin by batch</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14028817#M100115</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an example with 4 combiners.&lt;/P&gt;&lt;P&gt;I have one source for Totes and the other one for boxes.&lt;/P&gt;&lt;P&gt;The objective is to send boxes by batch (in this case 100) to fill tote with the defined order Combiner1 -&amp;gt;&amp;nbsp;Combiner2 -&amp;gt;&amp;nbsp;Combiner3 -&amp;gt;&amp;nbsp;Combiner4 -&amp;gt;&amp;nbsp;Combiner1 -&amp;gt; Combiner2 -&amp;gt;&amp;nbsp;Combiner3.... (Round robin)&lt;/P&gt;&lt;P&gt;&amp;nbsp;The inter arrival time of boxes is defined (1.44 sec).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find in attached the example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 14:42:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14028817#M100115</guid>
      <dc:creator>don_masmoudi</dc:creator>
      <dc:date>2026-02-23T14:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Round robin by batch</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14029898#M100129</link>
      <description>&lt;P&gt;You can start with the default "Round Robin" option in the Send to Port field of the source and then edit its code to only switch port every 100 items.&lt;/P&gt;&lt;P&gt;The code works by creating a counter label on the object (line 5) that starts at value 1.&lt;/P&gt;&lt;P&gt;This value is then used to denote the next output port rank to use (line 10) and then incremented by 1 (line 11). If the value grows past the number of output connections, it is reset to 1 (line 12/13).&lt;/P&gt;&lt;P&gt;Changing to batches just requires two changes. In line 10, instead of using the label value directly as port number, divide it by the batch size and then round up. In the condition in line 12, check against the number of output connections times the batch size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-02-24 102815.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1620825i2E2270278AD6221E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-02-24 102815.png" alt="Screenshot 2026-02-24 102815.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 09:30:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14029898#M100129</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2026-02-24T09:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Round robin by batch</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14033486#M100168</link>
      <description>&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 10:29:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/round-robin-by-batch/m-p/14033486#M100168</guid>
      <dc:creator>don_masmoudi</dc:creator>
      <dc:date>2026-02-26T10:29:57Z</dc:date>
    </item>
  </channel>
</rss>

