<?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 Queue item type switch choose based on quantity in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536732#M44371</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, below i attached my model. The idea is to have an automatic warehouse, releasing items to process and then realod it into the warehouse. The project is working good but i want, that the six output queue of the warehouse can contain only 1 item to process and 1 processed item at the same time. I thinked about a token to create for switch the item types input of the queues but i'm not familiar with the process flow chart of flexsim. &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/55091-spaggiari.fsm" target="_blank"&gt;Spaggiari.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 18 Jul 2022 14:10:27 GMT</pubDate>
    <dc:creator>fabio_o4</dc:creator>
    <dc:date>2022-07-18T14:10:27Z</dc:date>
    <item>
      <title>Queue item type switch choose based on quantity</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536732#M44371</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, below i attached my model. The idea is to have an automatic warehouse, releasing items to process and then realod it into the warehouse. The project is working good but i want, that the six output queue of the warehouse can contain only 1 item to process and 1 processed item at the same time. I thinked about a token to create for switch the item types input of the queues but i'm not familiar with the process flow chart of flexsim. &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/55091-spaggiari.fsm" target="_blank"&gt;Spaggiari.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Jul 2022 14:10:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536732#M44371</guid>
      <dc:creator>fabio_o4</dc:creator>
      <dc:date>2022-07-18T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Queue item type switch choose based on quantity</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536733#M44372</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Instead of using the process flow to influence the 3D logic, it might be easier to have it control the item flow directly. (It would be tricky to hit the right timings to change the allowed types of the pull requirement).&lt;/P&gt;&lt;P&gt;In the attached model the rack pushes all items with 'Lavoro &amp;lt; 10' onto a list instead of sending them through a-connections. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1658222616667.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511503iB1D5B530A6DC4EA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1658222616667.png" alt="1658222616667.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the process flow, two tokens are created for queue, one in the upper flow and one in the lower. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1658222461322.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511504iE7380B70DBB55CC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1658222461322.png" alt="1658222461322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The upper flow pulls unprocessed items from the list and has the ASRS move them into the respective queue the token belongs to. The tokens then wait until that item has left the queue again, so there can never be more than one non-processed item in the queue at a time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1658222788579.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511505iA110531458E109F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1658222788579.png" alt="1658222788579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The items are send to the processors by the 3D-logic. But like the rack, the processors also push the items back onto the list when they finish processing. The tokens of the lower part of the process flow then pull these processed items. To demonstrate a different approach, the transport is not controlled through the process flow there. Instead, the process flow tells the processor to release the item through the connections corresponding to the token's queue.&lt;/P&gt;&lt;P&gt;For this, an array label that contains all connected processors is added to the token. The correct connection can then be determined by the position of the processor in that array.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1658222801040.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1511506i427C30F09CE22F62/image-size/large?v=v2&amp;amp;px=999" role="button" title="1658222801040.png" alt="1658222801040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/55150-spaggiari-fm.fsm" target="_blank"&gt;spaggiari_fm.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Finally I would like to add: The simplest solution here would likely be to just have two queues at each position instead of one; one for the unprocessed items going in and one for the processed items coming back.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:29:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536733#M44372</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-07-19T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Queue item type switch choose based on quantity</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536734#M44373</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks you so much for the response, was very helpful and fixed the problem. For the other queues of the project can i use the same logic changing the range of the label "Lavoro"?
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Sadly i can't use two different queue for the processed and non-processed items. The project must simulate the pick and the realocation on the same bay of the automatic warehouse.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:56:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536734#M44373</guid>
      <dc:creator>fabio_o4</dc:creator>
      <dc:date>2022-07-19T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Queue item type switch choose based on quantity</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536735#M44374</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/38052/fabioo4.html" nodeid="38052"&gt;@Fabio O4&lt;/A&gt;,&lt;/P&gt;
 &lt;P&gt;to solve your problem, I was thinking of splitting each queue into two different queues. For instance, "Queue1" can be split into "Queue1_IN" and "Queue1_OUT" with maximum content of 1 each. "Queue1_IN" will receive only not processed items from the rack and send them to the processors, according to their labels. Once the items have been processed, they will be sent to "Queue1_OUT" which will send them back to the rack. Logically it should be the same thing you were asking for.&lt;/P&gt;
 &lt;P&gt;I send attached the model with these adjustments made for Queue1 and Queue2. I hope this can help you!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/55152-spaggiari-1.fsm" target="_blank"&gt;spaggiari_1.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2022 10:05:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536735#M44374</guid>
      <dc:creator>sbonansea</dc:creator>
      <dc:date>2022-07-19T10:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Queue item type switch choose based on quantity</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536736#M44375</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Yes, you should be able to change the query in the upper flow to pull other item types ('WHERE Lavoro &amp;gt; 3 AND Lavoro &amp;lt; 7', for example) and the rest should still work as long as the connections are set up the same way as they are for Queue1 and Queue2.&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2022 10:22:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-item-type-switch-choose-based-on-quantity/m-p/13536736#M44375</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2022-07-19T10:22:46Z</dc:date>
    </item>
  </channel>
</rss>

