<?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: [Process Flow] Delay respecting a time table. in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519198#M30455</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/26912/guillaumev.html" nodeid="26912"&gt;@Guillaume V&lt;/A&gt;, the "date time source" in process flow could be something you could try.  This allows you to set a time schedule for when tokens are created meaning you could stop them at night.  Would something like that work for what you're trying to do or am I misunderstanding in some way?&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 11 May 2021 21:03:38 GMT</pubDate>
    <dc:creator>eric_m3</dc:creator>
    <dc:date>2021-05-11T21:03:38Z</dc:date>
    <item>
      <title>[Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519197#M30454</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello everyone, I write my question as I had very quick response last time I asked something:&lt;BR /&gt;&lt;BR /&gt;I am creating a process flow that represents my manufacturing process.&lt;BR /&gt;I use delay operations to represent a process step.&lt;BR /&gt;&lt;STRONG&gt;I would like my delay operations to respect a timetable that I created so that the delay operations would stop during the night.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;How would you do what I'm trying to achieve?&lt;span class="lia-inline-image-display-wrapper" image-alt="39391-delay-respecting-a-time-table.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1505965iA400E2A01C8794C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="39391-delay-respecting-a-time-table.png" alt="39391-delay-respecting-a-time-table.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 May 2021 16:11:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519197#M30454</guid>
      <dc:creator>guillaume_v</dc:creator>
      <dc:date>2021-05-11T16:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519198#M30455</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/26912/guillaumev.html" nodeid="26912"&gt;@Guillaume V&lt;/A&gt;, the "date time source" in process flow could be something you could try.  This allows you to set a time schedule for when tokens are created meaning you could stop them at night.  Would something like that work for what you're trying to do or am I misunderstanding in some way?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 May 2021 21:03:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519198#M30455</guid>
      <dc:creator>eric_m3</dc:creator>
      <dc:date>2021-05-11T21:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: [Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519199#M30456</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Here are 2 ways to do what you want.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The easier way: using a processor.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add a processor to your model.&lt;BR /&gt;Attach it to the time table so it is stopped during the night.&lt;BR /&gt;Instead of using a delay in process flow, move the item into the processor then wait for its &lt;EM&gt;OnProcessFinish&lt;/EM&gt; event.&lt;/P&gt;&lt;P&gt;If your delay times aren't all the same, you could write the desired time to a label on the item before moving it into the processor, the processor could then read that label in its &lt;EM&gt;Process Time&lt;/EM&gt; field.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The harder way: using token preemption.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It's also possible to pause tokens and resume them later.&lt;/P&gt;&lt;P&gt;First, read the section on token preemption in the manual : &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/21.1/ModelLogic/AdditionalConcepts/Preemption/Preemption.html#preemption" target="_blank"&gt;Preemption&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;To make things easier, you'll probably want a single &lt;EM&gt;Delay&lt;/EM&gt; activity for all the different delays you want to be able to preempt, so use a single subflow which is run everywhere you currently have a &lt;EM&gt;Delay&lt;/EM&gt;.&lt;BR /&gt;This is so you can easily get a list of &lt;EM&gt;all&lt;/EM&gt; the tokens you want to preempt by looking at a single activity.&lt;/P&gt;&lt;P&gt;The logic is then :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;detect the time table's &lt;EM&gt;OnDown&lt;/EM&gt; event&lt;/LI&gt;&lt;LI&gt;get all the tokens in your single &lt;EM&gt;Delay&lt;/EM&gt; activity&lt;/LI&gt;&lt;LI&gt;save their context&lt;/LI&gt;&lt;LI&gt;release them to an inert activity so they stop doing anything&lt;/LI&gt;&lt;LI&gt;wait for the time table's &lt;EM&gt;OnResume&lt;/EM&gt; event&lt;/LI&gt;&lt;LI&gt;restore your tokens' context.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The structure would look something like this mockup :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="39426-1620809589318.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1505960iD3D04AF2DF118C0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="39426-1620809589318.png" alt="39426-1620809589318.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 May 2021 08:53:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519199#M30456</guid>
      <dc:creator>allister_wilson</dc:creator>
      <dc:date>2021-05-12T08:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: [Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519200#M30457</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/237/allister.w.html" nodeid="237"&gt;@Allister Wilson&lt;/A&gt; thank you very much for your reply.&lt;/P&gt;
 &lt;P&gt;For the &lt;STRONG&gt;easier way&lt;/STRONG&gt;, what if I have 3 processors where my object can go? (I have 3 identical cells where the task can be executed)&lt;BR /&gt;My "OnProcessFinish" requires a processor to be selected but I do not know which processor will be used for my object. It can be any of those 3 processors. How would you configure the "OnProcessFinish" so that regardless which processor is used, the token is able to continue my process flow as soon as the processor that has been selected finishes its process?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="39436-onprocessfinish-various-processors.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1505967i1CFFF5920BD58629/image-size/large?v=v2&amp;amp;px=999" role="button" title="39436-onprocessfinish-various-processors.png" alt="39436-onprocessfinish-various-processors.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 May 2021 08:20:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519200#M30457</guid>
      <dc:creator>guillaume_v</dc:creator>
      <dc:date>2021-05-13T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: [Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519201#M30458</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;My previous suggestion would only require 1 processor, assuming your logic in process flow was already setup to limit the number of simultaneous operations using the resources you showed.&lt;/P&gt;&lt;P&gt;But to answer your question, it looks like your processors draw from a queue and then release to another queue. Why not just wait for the product to enter the queue instead of waiting for the processor to finish?&lt;/P&gt;&lt;P&gt;If for some reason that isn't viable, you can add the processors to a group and listen to the group's &lt;EM&gt;OnProcessFinish&lt;/EM&gt; event.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 May 2021 20:18:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519201#M30458</guid>
      <dc:creator>allister_wilson</dc:creator>
      <dc:date>2021-05-13T20:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: [Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519202#M30459</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/26912/guillaumev.html" nodeid="26912"&gt;@Guillaume V&lt;/A&gt;, was Allister Wilson's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 May 2021 02:29:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519202#M30459</guid>
      <dc:creator>Ben_WilsonADSK</dc:creator>
      <dc:date>2021-05-19T02:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: [Process Flow] Delay respecting a time table.</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519203#M30460</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/237/allister.w.html" nodeid="237"&gt;@Allister Wilson&lt;/A&gt; Thank you for the "easier" suggestion you gave here. I had Preemption of the tokens working OK in my model, but there were still some tokens getting through at the wrong times. When I switched to using a processor everything works SO much better! Brilliant!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Jun 2021 18:08:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-delay-respecting-a-time-table/m-p/13519203#M30460</guid>
      <dc:creator>clairekruppGhafari</dc:creator>
      <dc:date>2021-06-03T18:08:08Z</dc:date>
    </item>
  </channel>
</rss>

