<?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 Buffer Item Output Management Based on Dynamic Counts and References in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/buffer-item-output-management-based-on-dynamic-counts-and/m-p/13587562#M84219</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.15 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi,&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/89385-pbl-con-sources-y-sin-actualizar-buffers-1.fsm" target="_blank"&gt;PBL_con sources y sin actualizar buffers 1.fsm&lt;/A&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1736886456922.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1526325iA8DB5AEA91E4937B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1736886456922.png" alt="1736886456922.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P id="isPasted"&gt;I want to tell the Buffer that through Port1 (the one that goes from Buffer RM to Fusion Moulding1), it should send items with the labels Ref==1, Ref==3, Ref==6. Then, when it sends a Ref==1 item, it should count with a counter until this counter equals gettablenum(“Demand Semi2”, item.Ref, CurrentDay), taking into account that CurrentDay is already created and is a global variable that updates every day. Once the counter reaches that value, it should reset to 0, and Ref==1 items should stop being sent. Instead, Ref==3 items would be sent until the counter matches gettablenum(“Demand Semi2”, item.Ref, CurrentDay). Afterward, Ref==3 items would stop being sent, and Ref==6 items would begin to be sent, with the counter reset to 0. When the sent items match the gettablenum(“Demand Semi2”, item.Ref, CurrentDay) value, it should start over and send Ref==1 items again.&lt;/P&gt;
 &lt;P&gt;The same process should happen in parallel on Port 2 (from Buffer RM to Fusion Moulding) with items having references Ref==2, Ref==4, and Ref==5. The values that the counter should match before changing from one Ref to another are also found in the table “Demand Semi2”, item.Ref, CurrentDay.&lt;/P&gt;
 &lt;P&gt;It should be noted that the values in “Demand Semi2” are calculated daily and are never fixed, as they come from a formula.&lt;/P&gt;
 &lt;P&gt;How can I do this? Is there a simpler way to achieve this?&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Jan 2025 20:28:39 GMT</pubDate>
    <dc:creator>anesanchez</dc:creator>
    <dc:date>2025-01-14T20:28:39Z</dc:date>
    <item>
      <title>Buffer Item Output Management Based on Dynamic Counts and References</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/buffer-item-output-management-based-on-dynamic-counts-and/m-p/13587562#M84219</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.15 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi,&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/89385-pbl-con-sources-y-sin-actualizar-buffers-1.fsm" target="_blank"&gt;PBL_con sources y sin actualizar buffers 1.fsm&lt;/A&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1736886456922.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1526325iA8DB5AEA91E4937B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1736886456922.png" alt="1736886456922.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P id="isPasted"&gt;I want to tell the Buffer that through Port1 (the one that goes from Buffer RM to Fusion Moulding1), it should send items with the labels Ref==1, Ref==3, Ref==6. Then, when it sends a Ref==1 item, it should count with a counter until this counter equals gettablenum(“Demand Semi2”, item.Ref, CurrentDay), taking into account that CurrentDay is already created and is a global variable that updates every day. Once the counter reaches that value, it should reset to 0, and Ref==1 items should stop being sent. Instead, Ref==3 items would be sent until the counter matches gettablenum(“Demand Semi2”, item.Ref, CurrentDay). Afterward, Ref==3 items would stop being sent, and Ref==6 items would begin to be sent, with the counter reset to 0. When the sent items match the gettablenum(“Demand Semi2”, item.Ref, CurrentDay) value, it should start over and send Ref==1 items again.&lt;/P&gt;
 &lt;P&gt;The same process should happen in parallel on Port 2 (from Buffer RM to Fusion Moulding) with items having references Ref==2, Ref==4, and Ref==5. The values that the counter should match before changing from one Ref to another are also found in the table “Demand Semi2”, item.Ref, CurrentDay.&lt;/P&gt;
 &lt;P&gt;It should be noted that the values in “Demand Semi2” are calculated daily and are never fixed, as they come from a formula.&lt;/P&gt;
 &lt;P&gt;How can I do this? Is there a simpler way to achieve this?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jan 2025 20:28:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/buffer-item-output-management-based-on-dynamic-counts-and/m-p/13587562#M84219</guid>
      <dc:creator>anesanchez</dc:creator>
      <dc:date>2025-01-14T20:28:39Z</dc:date>
    </item>
  </channel>
</rss>

