<?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: Flow item acquiring a resource that begins on downtime in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537574#M45075</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Yes, that definitely helps - thank you! In my own model, I would like the operator to wait at the processor while it completes processing the item. I am doing this currently by adding a "wait for event" after the unload activity. However, if there's a shift change (on the operator) while the processor is in the middle of processing an item - it continues to do so without any operator. Is there someway I could apply what you are saying above to get the processor to stop and acquire an on shift operator to continue on? Hope this makes sense, thank you for all of your help!
&lt;/DIV&gt;</description>
    <pubDate>Wed, 30 Jun 2021 17:24:22 GMT</pubDate>
    <dc:creator>eva_r2</dc:creator>
    <dc:date>2021-06-30T17:24:22Z</dc:date>
    <item>
      <title>Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537568#M45069</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.0.9 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi. I have a 3d model and process flow that are linked. At arrival time 0, a source produces about 30 items of about 8 different types. The flow items are "separated" through decision nodes and acquire a specific operator based on their type and the operator's capabilities. I have operators on two different shifts (using time tables) that have similar labels based off of their capabilities. Everything is working surprisingly well except for the issue that follows.&lt;/P&gt;
 &lt;P&gt;At the beginning of the model (start time 0), there are 10 items of "type 1". Some of the type 1 flow items are able to acquire operators working in the first shift (starting at time 0), however, there are a few flow items that acquired operators that are on downtime, so they wont be picked up until the second shift starts. I want the flow items to acquire the operator that is not currently on downtime. Any thoughts?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 18:25:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537568#M45069</guid>
      <dc:creator>eva_r2</dc:creator>
      <dc:date>2021-06-25T18:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537569#M45070</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Yes, if you acquire you resources by process flow activity then setup a query clause that allows only available operators to be chosen.&lt;/DIV&gt;</description>
      <pubDate>Sat, 26 Jun 2021 10:37:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537569#M45070</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-06-26T10:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537570#M45071</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 How would I do that? What would the syntax be to only acquire operators that are not on downtime?
&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Jun 2021 11:41:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537570#M45071</guid>
      <dc:creator>eva_r2</dc:creator>
      <dc:date>2021-06-28T11:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537571#M45072</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="#"&gt;@Eva R2&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;the way I would do that, is to define a lable one the operators that signifies whether they are currently on downtime or not. You can then use this label to query for available operators in the "Acquire Resource" activity. The label can be set/reset in the "On Down" and "On Resume" triggers on the "Functions" tab of the time table parameters.&lt;/P&gt;&lt;P&gt;I'm attaching a sample model that demonstrates this.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/41330-onlyacquireactive.fsm" target="_blank"&gt;OnlyAcquireActive.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/41308-onlyacquireactive-fs2019.fsm" target="_blank"&gt;OnlyAcquireActive_FS2019.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note: The tokens wait for a new resource to become available or one of the time tables to resume in a "Wait for Event" activity if they couldn't acquire an operator, because otherwise they won't try to acquire an operator if the label changes.&lt;/P&gt;&lt;P&gt;Note2: I also added some logic to re-run tokens through the process flow when their acquired operator becomes inactive. For that, in addition to setting the "Down" label, I also send a message to the operators in the "On Down" trigger of the time tables. A child token listens to this message and moves its parent back to the beginning of the main flow.&lt;/P&gt;&lt;P&gt;If you have any questions feel free to comment.&lt;/P&gt;&lt;P&gt;Edit: Added 19.0 version of the model.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Jun 2021 07:31:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537571#M45072</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-06-29T07:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537572#M45073</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi - thank you so much for your input. I understand what you are saying in note 1, however I am getting lost in the logic you presented with note 2. In your process flow, in the activity "Release Token" is the parent token being released back to the start activity before acquiring it? I don't have much practice using the custom code activities so I am also getting lost in your "Release Abort Token" and how that communicates with the "Wait for Event" . Again, thank you so much - I at least have a starting point to add these functionalities into my own model.
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jun 2021 13:40:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537572#M45073</guid>
      <dc:creator>eva_r2</dc:creator>
      <dc:date>2021-06-30T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537573#M45074</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The child token ("Abort Token") I create is waiting for a message to be send to the worker that was acquired by the parent. This message can come from two sources. &lt;/P&gt;&lt;P&gt;The first is the "Release Abort Token" activity. This is configured (through a picklist option) to send a message to "token.resource" (the worker). A message can contain up to three parameters, which in this case are left "blank" (values of zero). &lt;/P&gt;&lt;P&gt;The second source are the timetables. In the "On Down" trigger I added the line&lt;/P&gt;&lt;PRE&gt;sendmessage(curmember, curmember, "Down");&lt;/PRE&gt;&lt;P&gt;within the loop, so a message with the first parameter set as "Down" is send to all objects connected to that time table. The rest of the code is generated automatically by choosing the "Set Label (group)" options.&lt;/P&gt;&lt;P&gt;Now, when the "Abort Token" registers a message to the worker, it saves the first parameter to the label "msgparam1" (set in the Wait for Event activity). In the "Decide" activity it then checks whether this parameter is "Down" or not. If that is the case, the token indeed releases its parent token to the "Start" beneath the "Resource" where it will release the previously acquired worker and reenter the main flow at the "Acquire" activity to find a new, active worker.&lt;/P&gt;&lt;P&gt;I hope this explains what is happening better.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jun 2021 15:11:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537573#M45074</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-06-30T15:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537574#M45075</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Yes, that definitely helps - thank you! In my own model, I would like the operator to wait at the processor while it completes processing the item. I am doing this currently by adding a "wait for event" after the unload activity. However, if there's a shift change (on the operator) while the processor is in the middle of processing an item - it continues to do so without any operator. Is there someway I could apply what you are saying above to get the processor to stop and acquire an on shift operator to continue on? Hope this makes sense, thank you for all of your help!
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:24:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537574#M45075</guid>
      <dc:creator>eva_r2</dc:creator>
      <dc:date>2021-06-30T17:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537575#M45076</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Based on my "Abort Token" approach you could do the following:&lt;P&gt;Add a label to the parent token that signifies at what stage of the process the token currently is. For example, at creation of the token the label is 0 and once the item has been transported to thep processor is set to 1 (before entering the "Wait for Event").&lt;/P&gt;&lt;P&gt;Then you add a "Decide" activity to which the parent token gets released when the operator enters its down time. From there you can send the token to different activity blocks depending on where in the process it was ("Connector By Case" with the added label as case function).&lt;/P&gt;&lt;P&gt;In case of the item currently being processed you would:&lt;/P&gt;&lt;P&gt;- Stop the processor (Custom code activity -&amp;gt; Control -&amp;gt; Stop Object)&lt;BR /&gt;- Release the old worker&lt;BR /&gt;- Acquire a new worker&lt;BR /&gt;- Have the new worker walk to the processor&lt;BR /&gt;- Resume the process (Custom code activity -&amp;gt; Control -&amp;gt; Resume Object)&lt;BR /&gt;- Connect back to the "Wait for Event" that waits for the processor to finish&lt;/P&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jun 2021 18:31:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537575#M45076</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-06-30T18:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537576#M45077</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 I guess my (hopefully) last few questions are, how do I continuously check for the operator's down time while waiting for the processor to finish? Where would I include the "Abort token" code in my block of activities? I have some items that will take a long time to process so maybe my confusion is stemming from not knowing where to include a decide activity. I am still new to FlexSim so it is very probable that you are describing a situation where this is possible and I am just not seeming to fully understand. Thank you for all your help.
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jun 2021 19:23:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537576#M45077</guid>
      <dc:creator>eva_r2</dc:creator>
      <dc:date>2021-06-30T19:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Flow item acquiring a resource that begins on downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537577#M45078</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I adjusted the example model to pause the processors when the operators go into down time. Hopefully that will explain what I mean.&lt;/P&gt;&lt;P&gt;The "Priority Delay" in the "Main Flow" block is there to let tokens waiting in the "Side Entrance" try to acquire an operator first.&lt;/P&gt;&lt;P&gt;The rest is what I explained in my last comment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="updated-pf.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506608i921244F6F76B47D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="updated-pf.png" alt="updated-pf.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/41403-acquireonlyactive-pauseprocessor.fsm" target="_blank"&gt;AcquireOnlyActive_PauseProcessor.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Jul 2021 06:57:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flow-item-acquiring-a-resource-that-begins-on-downtime/m-p/13537577#M45078</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-07-01T06:57:10Z</dc:date>
    </item>
  </channel>
</rss>

