<?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 change the state of a processor? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565970#M67486</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/16582/danielasa.html" nodeid="16582"&gt;@Daniela SA&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Your problem is what I pointed out before: the processor does change states to "on break", but there is still a person that needs to be processed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21502-capture.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499923i4232D885CA6172D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="21502-capture.png" alt="21502-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When that remaining person gets processed, the processor's state changes to "processing" and then to "idle" again.&lt;/P&gt;&lt;P&gt;To fix this, you need to make sure that all of the remaining people have been processed before you set the processors to "on break".&lt;/P&gt;&lt;P&gt;Here's a modified version of your last model that does this: &lt;A id="21503" href="https://answers.flexsim.com/storage/temp/21503-examen3panswer.fsm"&gt;examen3panswer.fsm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 23:29:23 GMT</pubDate>
    <dc:creator>joseph_g3</dc:creator>
    <dc:date>2019-08-14T23:29:23Z</dc:date>
    <item>
      <title>how to change the state of a processor?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565965#M67481</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I am currently working on a model of a Bank in which I have two service desks. One of the objectives is to attend to all the clients even after the bank closes.&lt;/P&gt;
&lt;P&gt;I have a Process Flow that looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21458-pregunta-flexsim.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499924i4113734339FB2ECA/image-size/large?v=v2&amp;amp;px=999" role="button" title="21458-pregunta-flexsim.png" alt="21458-pregunta-flexsim.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My Custom Codes won't change the state of the processors and they leave them on "idle" but I want them "on break"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21459-pregunta-flexsim-1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499925i9006478BC193CD4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="21459-pregunta-flexsim-1.png" alt="21459-pregunta-flexsim-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:10:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565965#M67481</guid>
      <dc:creator>daniela_sa</dc:creator>
      <dc:date>2019-08-14T14:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the state of a processor?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565966#M67482</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://answers.flexsim.com/users/16582/danielasa.html" nodeid="16582"&gt;@Daniela SA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you sure it's not working?  It might be just that as soon as something gets processed, it switches back to "idle":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21485-statechange.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499920iE209D8B3B15024BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="21485-statechange.gif" alt="21485-statechange.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you attach your model I could find out what the problem is more specifically.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 17:24:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565966#M67482</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-08-14T17:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the state of a processor?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565967#M67483</link>
      <description>&lt;A rel="user" href="https://answers.flexsim.com/users/14704/josephg3.html" nodeid="14704"&gt;@Joseph Gillespie&lt;/A&gt;
&lt;P&gt;This is my model. It should be changing, but I don't know why it doesn't.&lt;/P&gt;
&lt;P&gt;I run the model, and it works fine, the clients are processed but once they're gone, the state of the processors stays as "idle" and I need it to change to "on break" so it doesn't affect my pie chart for utilization.&lt;/P&gt;
&lt;A id="21494" href="https://answers.flexsim.com/storage/temp/21494-examen-3p-process-flow.fsm"&gt;examen-3p-process-flow.fsm&lt;/A&gt;</description>
      <pubDate>Wed, 14 Aug 2019 21:26:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565967#M67483</guid>
      <dc:creator>daniela_sa</dc:creator>
      <dc:date>2019-08-14T21:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the state of a processor?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565968#M67484</link>
      <description>&lt;P&gt; &lt;A href="https://answers.flexsim.com/questions/70699/how-to-change-the-state-of-a-processor.html?childToView=70766#"&gt;@Daniela SA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what you were doing here, but your problem is with your decide activities:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21499-capture.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499922iFCC9F3820532475C/image-size/large?v=v2&amp;amp;px=999" role="button" title="21499-capture.png" alt="21499-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The condition you set in the decide activity is never true, so the tokens actually never make it to your custom code and thus never set the state of "Caja 1" and "Caja 2" to on break.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 22:45:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565968#M67484</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-08-14T22:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the state of a processor?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565969#M67485</link>
      <description>&lt;P&gt;Yeah, I realized that. And I changed the logic already. The tokens actually make it to my custon code now but still, it wont change the state of my processors.&lt;/P&gt;
&lt;P&gt;This is my model now. I don't know why it won't follow the custom codes...&lt;/P&gt;
&lt;P&gt;&lt;A id="21500" href="https://answers.flexsim.com/storage/temp/21500-examen-3p-process-flow.fsm"&gt;examen-3p-process-flow.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 22:57:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565969#M67485</guid>
      <dc:creator>daniela_sa</dc:creator>
      <dc:date>2019-08-14T22:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the state of a processor?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565970#M67486</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/16582/danielasa.html" nodeid="16582"&gt;@Daniela SA&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Your problem is what I pointed out before: the processor does change states to "on break", but there is still a person that needs to be processed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21502-capture.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499923i4232D885CA6172D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="21502-capture.png" alt="21502-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When that remaining person gets processed, the processor's state changes to "processing" and then to "idle" again.&lt;/P&gt;&lt;P&gt;To fix this, you need to make sure that all of the remaining people have been processed before you set the processors to "on break".&lt;/P&gt;&lt;P&gt;Here's a modified version of your last model that does this: &lt;A id="21503" href="https://answers.flexsim.com/storage/temp/21503-examen3panswer.fsm"&gt;examen3panswer.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 23:29:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-of-a-processor/m-p/13565970#M67486</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-08-14T23:29:23Z</dc:date>
    </item>
  </channel>
</rss>

