<?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 Batch in queue with process flow. in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482286#M1611</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;In my model I have a forklift taking trash to a big scrap zone. I want the forklift to collect all items in the trash can (queue) and transport. However I'm having trouble implementing the logic. &lt;/P&gt;&lt;P&gt;I am trying to batch incoming items in the queue and send it to a list so the forklift knows what bins need emptying. Is it possible to batch objects created in process flow into a queue in 3D? &lt;/P&gt;&lt;P&gt;I also tried having the forklift request 100 items of scrap and only require 1 item. However it's only pulling 1 item and leaving the other 4 on the list, for example. &lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 20:07:04 GMT</pubDate>
    <dc:creator>kari_payton</dc:creator>
    <dc:date>2017-12-15T20:07:04Z</dc:date>
    <item>
      <title>Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482286#M1611</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;In my model I have a forklift taking trash to a big scrap zone. I want the forklift to collect all items in the trash can (queue) and transport. However I'm having trouble implementing the logic. &lt;/P&gt;&lt;P&gt;I am trying to batch incoming items in the queue and send it to a list so the forklift knows what bins need emptying. Is it possible to batch objects created in process flow into a queue in 3D? &lt;/P&gt;&lt;P&gt;I also tried having the forklift request 100 items of scrap and only require 1 item. However it's only pulling 1 item and leaving the other 4 on the list, for example. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 20:07:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482286#M1611</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2017-12-15T20:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482287#M1612</link>
      <description>&lt;P&gt;Here is a small sample model I made.  I made it request 100 items but only require 1.  The tricky thing is you can't pass an array into the load and unload activities.&lt;/P&gt;&lt;P&gt;&lt;A id="10023" href="https://answers.flexsim.com/storage/attachments/10023-batchforklift.fsm"&gt;batchforklift.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 21:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482287#M1612</guid>
      <dc:creator>Jacob_Gillespie</dc:creator>
      <dc:date>2017-12-15T21:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482288#M1613</link>
      <description>&lt;P&gt;Thanks Jacob!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 20:52:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482288#M1613</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2017-12-18T20:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482289#M1614</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/11/jacob.g.html" nodeid="11"&gt;@Jacob Gillespie&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/11/jacob.g.html" nodeid="11"&gt;&lt;/A&gt;This line is very interesting &lt;STRONG&gt;token.i == 1 ? token.pulled : token.pulled[token.i] &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Can you explain what this is doing please?&lt;/P&gt;
&lt;P&gt;Thanks, Jason&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 00:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482289#M1614</guid>
      <dc:creator>jason_merschat1</dc:creator>
      <dc:date>2018-01-17T00:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482290#M1615</link>
      <description>&lt;P&gt;it is the short structure of the statement if (logical condition) true instruction else false instruction.&lt;/P&gt;&lt;PRE&gt;logical condition ? true instruction : false instruction &lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jan 2018 05:14:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482290#M1615</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2018-01-17T05:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482291#M1616</link>
      <description>&lt;P&gt;When you pass an array into the load or unload activity then only the first element of the array is used.  So if the index (token.i) is 1 then I made it use token.pulled.&lt;/P&gt;&lt;P&gt;I did it this way because token.pulled is not an array if only one thing was pulled and so token.pulled[token.i] would throw an exception in this case.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 17:17:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482291#M1616</guid>
      <dc:creator>Jacob_Gillespie</dc:creator>
      <dc:date>2018-01-17T17:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Batch in queue with process flow.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482292#M1617</link>
      <description>&lt;P&gt;This is known as the &lt;A href="https://en.wikipedia.org/wiki/%3F:"&gt;ternary operator&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I'm not sure why it isn't documented in the user manual.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 22:34:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/batch-in-queue-with-process-flow/m-p/13482292#M1617</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2018-01-17T22:34:24Z</dc:date>
    </item>
  </channel>
</rss>

