<?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: How to set priority for pulling from a list in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557711#M60936</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello Allister, hope you are doing well. the second option works, thank you for your helps&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 02 Mar 2023 13:47:07 GMT</pubDate>
    <dc:creator>Bamba_Ousmane</dc:creator>
    <dc:date>2023-03-02T13:47:07Z</dc:date>
    <item>
      <title>How to set priority for pulling from a list</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557709#M60934</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Hello, I'm trying to do the same, but it's not working for me. Can you help me please ?&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;in my model i have 5 queues in a list. and I have two processes pulling from the list. the first is order delivery ("Preparation de commande") and the second is supply ("Approvisionnement"). I want the provisioning process to always have priority over the queue list. To do this, I put labels named Priority (4 for the delivery process and 3 for the supply process) and i use back order. but my delivery process still have the priority (i have a token in supply process, which is waiting for a queue, normaly it has to be a token of delivery process) i don't know why.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;attached my model for detail.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64959-modele-actuel.fsm" target="_blank"&gt;Modèle actuel ++.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Mar 2023 15:29:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557709#M60934</guid>
      <dc:creator>Bamba_Ousmane</dc:creator>
      <dc:date>2023-03-01T15:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set priority for pulling from a list</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557710#M60935</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi Ousmane,&lt;/P&gt;&lt;P&gt;There are 2 issues in the current model.&lt;/P&gt;&lt;P&gt;1. With the way you have it setup right now, &lt;SPAN style="color: rgb(51, 51, 51); font-family: "&gt;&lt;EM&gt;Preparation de commande&lt;/EM&gt;&lt;/SPAN&gt; does indeed have priority over &lt;EM&gt;Approvisionnement&lt;/EM&gt;.&lt;BR /&gt;You have given &lt;EM&gt;Preparation de commande&lt;/EM&gt; a priority of 4 and &lt;EM&gt;Approvisionnement&lt;/EM&gt; a priority of 3.&lt;BR /&gt;The list's &lt;EM&gt;Queue Strategy&lt;/EM&gt; is configured to sort backorders by priority in descending order (ORDER BY Puller.Priority &lt;STRONG&gt;DESC&lt;/STRONG&gt;).&lt;BR /&gt;If you want a lower priority number to translate to a higher priority (ie: &lt;EM&gt;3&lt;/EM&gt; gets its requests handled before &lt;EM&gt;4&lt;/EM&gt;) you can use &lt;STRONG&gt;ASC&lt;/STRONG&gt; (ascending) instead of &lt;STRONG&gt;DESC&lt;/STRONG&gt; (descending).&lt;/P&gt;&lt;P&gt;2. There may still be an order-of-events issue at startup.&lt;BR /&gt;Your queues are all on the list as soon as the simulation starts.&lt;BR /&gt;But your requests only come in later. When they do, the first request to arrive will immediately acquire a queue since nobody else is requesting one, therefore the priority mechanism isn't used.&lt;BR /&gt;If you also want your initial requests to be prioritised the simplest solution would be to add a &lt;EM&gt;Breathe&lt;/EM&gt; (&lt;EM&gt;Delay &lt;/EM&gt;activity with a zero delay time) in your lower priority logic so that those tokens arrive after the higher priority ones.&lt;BR /&gt;You could add this to the corresponding &lt;EM&gt;Day incrementation&lt;/EM&gt; logic, just after the source.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2023 10:41:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557710#M60935</guid>
      <dc:creator>allister_wilson</dc:creator>
      <dc:date>2023-03-02T10:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set priority for pulling from a list</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557711#M60936</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello Allister, hope you are doing well. the second option works, thank you for your helps&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2023 13:47:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-priority-for-pulling-from-a-list/m-p/13557711#M60936</guid>
      <dc:creator>Bamba_Ousmane</dc:creator>
      <dc:date>2023-03-02T13:47:07Z</dc:date>
    </item>
  </channel>
</rss>

