<?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 Re: Elevator loading unloading sequence in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490024#M7692</link>
    <description>&lt;P&gt;I take the same model above and I tried to elevate the produced items to the groundfloor, but I´m not able to do this in the right way. I need help please. Thanks a lot ! see the model &lt;A id="10702" href="https://answers.flexsim.com/storage/temp/10702-653-processflowelevator-3.fsm"&gt;653-processflowelevator-3.fsm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 15:19:16 GMT</pubDate>
    <dc:creator>christoph_gruberYEAZC</dc:creator>
    <dc:date>2018-02-09T15:19:16Z</dc:date>
    <item>
      <title>Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490016#M7684</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 16.0.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;It seems the elevator travels to load and unload flowitems based on FIFO.&lt;/P&gt;
&lt;P&gt;I would like to pick multiple flowitems and unload them in ascending order of level. For example, three flowitems 1, 2, 3, whose destination are level 4, 2, 10, respectively, are loaded onto elevator at level 1 in order of 1, 2, 3. The default sequence of unloading the flowitems is same as loading order, 1, 2, 3. Therefore, the elevator travels level 4 first, and 2, and going up again to 10.&lt;/P&gt;
&lt;P&gt;I would like to sort the unloading order by level in ascending order so that the elevator travels to level 2 first, and level 4, and finally level 10 to unload each flowitem.&lt;/P&gt;
&lt;P&gt;I tried to sort the rank of flowitem in OnLoad trigger, but doesn't work even though the flowitems are sorted by level (checked in tree node).&lt;/P&gt;
&lt;P&gt;I tried to use the queue strategy by closet distance, but seems not applicable.&lt;/P&gt;
&lt;P&gt;Anybody can help me to find out how? &lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:35:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490016#M7684</guid>
      <dc:creator>sung_kim</dc:creator>
      <dc:date>2016-06-10T19:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490017#M7685</link>
      <description>&lt;P&gt;Process Flow and Lists let you easily create custom logic for task executors like you want in this situation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/653-processflowelevator.fsm"&gt;Attached&lt;/A&gt; is a model that demonstrates one way of doing this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="651-elevator.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1493517i2585C2E55334BBB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="651-elevator.gif" alt="651-elevator.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 00:58:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490017#M7685</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2016-06-14T00:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490018#M7686</link>
      <description>&lt;P&gt;@Matthew Gillespie&lt;/P&gt;
&lt;P&gt;Hi, Matthew,&lt;/P&gt;
&lt;P&gt;Thank you very much for the example model! It is quite impressed how it is easily built. Unfortunately, I am not quite familiar with Process Flow. However, the diagram itself gives me a clue. For now, I might need to convert your conceptual logic to my own script until I learn more about the Process Flow. Meantime, if you know how to do it without using Process Flow, could you please advise me?&lt;/P&gt;
&lt;P&gt;BTW, one quick question about your model. What if the elevator requires fair amount of loading time? Because of this delay, the sort/order TS, I think, should be done after all available flowitems get on the elevator (including newly arriving flowitem during loading time of the preceding flowitem if the elevator capacity can still accommodate it). Your diagram seems it does ("get closest delivery") after "Load Items". Not quite sure where I can get the actual code(??) of the step? I know it might be a question from my ignorance of the process flow, but kind explanation would be appreciated until I learn more about PF. &lt;/P&gt;
&lt;P&gt;THANKS!!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 03:25:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490018#M7686</guid>
      <dc:creator>sung_kim</dc:creator>
      <dc:date>2016-06-14T03:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490019#M7687</link>
      <description>&lt;P&gt;I also want to know how to do it without using Process Flow, So I voted Sung.&lt;/P&gt;&lt;P&gt;And hope someone can help us~&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:51:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490019#M7687</guid>
      <dc:creator>jing_chen</dc:creator>
      <dc:date>2016-06-14T11:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490020#M7688</link>
      <description>&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/664-elevator-logic.fsm"&gt;Attached&lt;/A&gt; is a sample model that shows how you can model the described situation without using ProcessFlow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="663-elevator-logic.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1493518i251A97B6A936123F/image-size/large?v=v2&amp;amp;px=999" role="button" title="663-elevator-logic.gif" alt="663-elevator-logic.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;H5&gt;How it works&lt;/H5&gt;&lt;P&gt;First, the Queue Strategy is set to "Prioritize by distance" so that the task sequences are sorted in order from the bottom floor to the top.&lt;/P&gt;&lt;P&gt;This doesn't change the first flowitem dropped off though. After it loads the last item, it will finish that task to unload that item first. To get around that, we can modify the Break To logic:&lt;/P&gt;&lt;P&gt;The sending Queue's task sequence is slightly modified to pass 1 as var1 for the break task. This makes it so that the break task is called even when the TE is at max capacity.&lt;/P&gt;&lt;P&gt;Then, in the Break To field of the elevator, it first manages breaking to load tasks if it still has capacity, otherwise it looks for the closest item to unload. This makes it so that after it finishes loading all the items, it then unloads the closest item first. Then it unloads the rest of the items (already sorted by the queue strategy).&lt;/P&gt;&lt;H5&gt;Note&lt;/H5&gt;&lt;P&gt;This logic was written to address the situation defined in the original question. If your situation is more complicated (multiple elevators, different load floors, etc.), then your best bet is to use ProcessFlow so that you can define the logic of the entire system in a single, easy-to-understand location.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 17:13:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490020#M7688</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2016-06-14T17:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490021#M7689</link>
      <description>&lt;P&gt;If you click on the icon for the step, it will open its Properties panel.&lt;/P&gt;&lt;P&gt;That step is a Pull From List. The logic is in the Query field: ORDER BY itemType ASC. That sorts it so that the lowest itemtypes are dropped off first. This sample model is sending based on itemtype.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="665-pull-from-list.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1493516iED41F89C4196263A/image-size/large?v=v2&amp;amp;px=999" role="button" title="665-pull-from-list.png" alt="665-pull-from-list.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 17:24:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490021#M7689</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2016-06-14T17:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490022#M7690</link>
      <description>&lt;P&gt;Attached is another model that you can use for consideration.&lt;/P&gt;&lt;P&gt;It uses manually created task sequences created in the OnMessage trigger of each of the "floor" queues.&lt;/P&gt;&lt;P&gt;To start the model moving, there is send message code in the UserEvent1.  All that does is send a message to the ground queue to get the model started.&lt;/P&gt;&lt;P&gt;It sends a message with the first parameter of the message being a 1.  This tells the code in the OnMessage trigger of the QueueGround to create a new task sequence.  A message is also sent from Queue5 to start a new task sequence as well.&lt;/P&gt;&lt;P&gt;All the other queues, in the OnMessage trigger, just check to see if anything should be dropped off at that queue.  After dropping off any flowitems, it moves to the next floor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="680-elevator.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1493521i70D1ACF2FA92D742/image-size/large?v=v2&amp;amp;px=999" role="button" title="680-elevator.gif" alt="680-elevator.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the model:  &lt;A href="https://answers.flexsim.com/storage/attachments/681-elevatorsample-jn1.fsm"&gt;elevatorsample-jn1.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:55:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490022#M7690</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2016-06-14T19:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490023#M7691</link>
      <description>&lt;P&gt;WOW.. you guys rock!&lt;/P&gt;
&lt;P&gt;THANK YOU SO MUCH for all great ideas and solution approaches. I didn't have a chance to fully apply to my logic yet, but all seem very promising. I will let you know if there is any update from my model after apply it.&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:44:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490023#M7691</guid>
      <dc:creator>sung_kim</dc:creator>
      <dc:date>2016-06-15T17:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Elevator loading unloading sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490024#M7692</link>
      <description>&lt;P&gt;I take the same model above and I tried to elevate the produced items to the groundfloor, but I´m not able to do this in the right way. I need help please. Thanks a lot ! see the model &lt;A id="10702" href="https://answers.flexsim.com/storage/temp/10702-653-processflowelevator-3.fsm"&gt;653-processflowelevator-3.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 15:19:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/elevator-loading-unloading-sequence/m-p/13490024#M7692</guid>
      <dc:creator>christoph_gruberYEAZC</dc:creator>
      <dc:date>2018-02-09T15:19:16Z</dc:date>
    </item>
  </channel>
</rss>

