<?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 How to configure the output and input ports of a processor to a queue? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571781#M71912</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, I don't quite understand how opening and closing ports works. In this case, I have my 5 processors and my 5 queues. What I want to do is if the processor already generates 10 boxes in a Queue, the output port of the processor is closed until that the Queue is completely emptied, reopen and continue generating the boxes, could you please help me&lt;span class="lia-inline-image-display-wrapper" image-alt="1692262844554.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519068iDD2917BF43F5D4D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692262844554.png" alt="1692262844554.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 17 Aug 2023 09:07:32 GMT</pubDate>
    <dc:creator>Richie21</dc:creator>
    <dc:date>2023-08-17T09:07:32Z</dc:date>
    <item>
      <title>How to configure the output and input ports of a processor to a queue?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571781#M71912</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, I don't quite understand how opening and closing ports works. In this case, I have my 5 processors and my 5 queues. What I want to do is if the processor already generates 10 boxes in a Queue, the output port of the processor is closed until that the Queue is completely emptied, reopen and continue generating the boxes, could you please help me&lt;span class="lia-inline-image-display-wrapper" image-alt="1692262844554.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519068iDD2917BF43F5D4D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692262844554.png" alt="1692262844554.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Aug 2023 09:07:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571781#M71912</guid>
      <dc:creator>Richie21</dc:creator>
      <dc:date>2023-08-17T09:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure the output and input ports of a processor to a queue?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571782#M71913</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43124/richie21.html" nodeid="43124"&gt;@RicardoMtz&lt;/A&gt; ,&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/72741-portsdemo.fsm" target="_blank"&gt;portsDemo.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Here is a demo model of using triggers in the Queue to close and open ports on a separator. You can apply this logic to any trigger to get the logic you want. In this example, When the content (current.subnodes.length) of the queue increases to 10, the input port of the separator is closed. You can tell a port is closed when there is a red line on the port:&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692278540730.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519066iBE3E3ABF697E2AC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692278540730.png" alt="1692278540730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;EM&gt;Notice the red line next to the green port. This means closed&lt;/EM&gt;&lt;/P&gt;
 &lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1692278824859.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519065i08A0DA4C272644DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1692278824859.png" alt="1692278824859.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;When the content of the queue decreases back to 0, the input port is opened and a new flow item enters the separator. This logic will repeat throughout the model run&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ports.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519069iF8942193ADB9636B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ports.gif" alt="ports.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Aug 2023 13:27:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571782#M71913</guid>
      <dc:creator>carter-walch</dc:creator>
      <dc:date>2023-08-17T13:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure the output and input ports of a processor to a queue?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571783#M71914</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43124/richie21.html" nodeid="43124"&gt;@RicardoMtz&lt;/A&gt;, was Carter Walch's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;
 &lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Aug 2023 13:36:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-configure-the-output-and-input-ports-of-a-processor-to-a/m-p/13571783#M71914</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-08-22T13:36:37Z</dc:date>
    </item>
  </channel>
</rss>

