<?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 On Open/Close operation of input ports by On Entry/On Exit triggers in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571297#M71533</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;The attached model reproduces a situation where the source outputs 10 boxes every 10 seconds and the operator carries 10 boxes together.&lt;/P&gt;
 &lt;P&gt;In addition, in Queue1, the On Entry trigger setting is used to close the input port when the number of boxes stored in Queue1 exceeds 30. Conversely, the On Exit trigger is set to open the input port when the number of boxes stored in Queue1 falls below 10.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Because of the above settings, the operator does not behave correctly, as you can see in the attached model.&lt;/P&gt;
 &lt;P&gt;For example, it tries to take an item loaded in Queue1 to Source1.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;As for me, I am thinking that it might be suspicious that when I step through the Event List Viewer with the Event List Viewer open, it is Open Inputs in the middle of the step.&lt;/P&gt;
 &lt;P&gt;Is this a bug?&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1724835973501.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1525144i2F783A56B2F482D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1724835973501.png" alt="1724835973501.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Is it possible to reproduce the correct situation without inputting the processing flow or source code?&lt;/P&gt;
 &lt;P&gt;I am aware that the processing flow can be used to reproduce the correct behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;A rel="nofollow noopener noreferrer" id="isPasted" href="https://answers.flexsim.com/storage/attachments/86023-open-close-operation-of-input-ports-by-trigger.fsm" target="_blank"&gt;Open_Close operation of input ports by trigger.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 28 Aug 2024 09:10:36 GMT</pubDate>
    <dc:creator>Takumi_H</dc:creator>
    <dc:date>2024-08-28T09:10:36Z</dc:date>
    <item>
      <title>On Open/Close operation of input ports by On Entry/On Exit triggers</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571297#M71533</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;The attached model reproduces a situation where the source outputs 10 boxes every 10 seconds and the operator carries 10 boxes together.&lt;/P&gt;
 &lt;P&gt;In addition, in Queue1, the On Entry trigger setting is used to close the input port when the number of boxes stored in Queue1 exceeds 30. Conversely, the On Exit trigger is set to open the input port when the number of boxes stored in Queue1 falls below 10.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Because of the above settings, the operator does not behave correctly, as you can see in the attached model.&lt;/P&gt;
 &lt;P&gt;For example, it tries to take an item loaded in Queue1 to Source1.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;As for me, I am thinking that it might be suspicious that when I step through the Event List Viewer with the Event List Viewer open, it is Open Inputs in the middle of the step.&lt;/P&gt;
 &lt;P&gt;Is this a bug?&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1724835973501.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1525144i2F783A56B2F482D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1724835973501.png" alt="1724835973501.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Is it possible to reproduce the correct situation without inputting the processing flow or source code?&lt;/P&gt;
 &lt;P&gt;I am aware that the processing flow can be used to reproduce the correct behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;A rel="nofollow noopener noreferrer" id="isPasted" href="https://answers.flexsim.com/storage/attachments/86023-open-close-operation-of-input-ports-by-trigger.fsm" target="_blank"&gt;Open_Close operation of input ports by trigger.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Aug 2024 09:10:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571297#M71533</guid>
      <dc:creator>Takumi_H</dc:creator>
      <dc:date>2024-08-28T09:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: On Open/Close operation of input ports by On Entry/On Exit triggers</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571298#M71534</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The 'problem' you're seeing isn't that the operator is trying to take items to the source, it's that you don't have a BreakTo requirement based on same destination or some other factor.  The openInput event is standard when an item enters an object in that it is checking if it can receive another.&lt;/P&gt;&lt;P&gt;If you want to limit the amount to 30 when using transport then the entry trigger is the wrong place as it is too late.  Either set the maximum content to 30 or use the pull to decide when to close the input based on the content and the variable nroftransportsin. &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Aug 2024 10:50:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571298#M71534</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-08-28T10:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: On Open/Close operation of input ports by On Entry/On Exit triggers</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571299#M71535</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Thank you for your reply.&lt;/P&gt;
 &lt;P&gt;I understand that changing the maximum number of content or using pulls can solve the problem.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Aug 2024 05:24:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/on-open-close-operation-of-input-ports-by-on-entry-on-exit/m-p/13571299#M71535</guid>
      <dc:creator>Takumi_H</dc:creator>
      <dc:date>2024-08-29T05:24:48Z</dc:date>
    </item>
  </channel>
</rss>

