<?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: Decide which Process Flow use based on Parameter in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575125#M74543</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you for the support, that's exactly what I needed!!! &lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 08 Mar 2024 17:36:42 GMT</pubDate>
    <dc:creator>leandroom</dc:creator>
    <dc:date>2024-03-08T17:36:42Z</dc:date>
    <item>
      <title>Decide which Process Flow use based on Parameter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575122#M74540</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello,&lt;/P&gt;
 &lt;P&gt;Follow attached a internal logistic model that I created using Process Flow, which operators collect boxes from warehouse and delivery them at manufacturing.&lt;/P&gt;
 &lt;P&gt;There are 3 blocks of Process Flow, and I only want to run one at a time:&lt;/P&gt;
 &lt;P&gt;Blue- Process without cart and one piece flow (Ignore in question 1).&lt;/P&gt;
 &lt;P&gt;Red- Process with cart and one piece flow.&lt;/P&gt;
 &lt;P&gt;Green- Process with cart and batch.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I have 2 questions:&lt;/P&gt;
 &lt;P&gt;1) I am manually enabling all sources of the block and disabling the others, but I need to automate it so i can use Experimenter, I tried to place a decide condition on top of the blocks and based on a parameter "Batch", if batch is true, use the Green block, else use Red. (Ignore Blue block here). How can I do that? Or is there a better way?&lt;/P&gt;
 &lt;P&gt;2) About the Blue block, after the first cycle, the operator jumps to a delivery position of the last cycle before collecting the box on warehouse (Simulation time: 800 seconds). I've read on this forum that Its needed to Move the operator to model and reconnect the operator to the node, but Its not working, what did I do wrong?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thank you in advance!&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/80064-exemple-transport.fsm" target="_blank"&gt;Exemple-Transport.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Mar 2024 16:33:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575122#M74540</guid>
      <dc:creator>leandroom</dc:creator>
      <dc:date>2024-03-07T16:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Decide which Process Flow use based on Parameter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575123#M74541</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;1) There are numerous ways to do this. As you say, one possibility is to use a Decide activity that determines where to send the token based on a parameter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1709884666853.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522778i9938764C1478AC8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1709884666853.png" alt="1709884666853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1709884689162.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522779i00D77848F9C90420/image-size/large?v=v2&amp;amp;px=999" role="button" title="1709884689162.png" alt="1709884689162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;From the current state of your model a quick solution would be to make the created quantity depend on the model parameter. The expression below multiplies the quantity (1) by either 1 or 0, depending on whether the comparison is true or false. Only if the parameter has the right value a token will be created.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1709884757569.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522780i0100AA94CDA96F85/image-size/large?v=v2&amp;amp;px=999" role="button" title="1709884757569.png" alt="1709884757569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The most complex (but not necessarily best) option would be to automate the enabling/disabling of the various sources through code in the parameter's On Set trigger.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1709885721250.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522781i8309C4DE5139870C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1709885721250.png" alt="1709885721250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All of these options are demonstrated in some way in the attached model.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/80080-exemple-transport-1.fsm" target="_blank"&gt;exemple-transport_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Mar 2024 08:16:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575123#M74541</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-03-08T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Decide which Process Flow use based on Parameter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575124#M74542</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P id="isPasted"&gt;Doubt number 2:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the first block, in "Travel to WH," all locations have been replaced by WH (object), and there is no need to travel to the node.&lt;/LI&gt;&lt;LI id="isPasted"&gt;In the second block, in "Travel to Line," all nodes have also been replaced by the names of the Lines.&lt;/LI&gt;&lt;LI id="isPasted"&gt;In the third block, the activities "Travel to WH," "Move Operator to model," and "Connect operator to node" are not required.&lt;/LI&gt;&lt;LI id="isPasted"&gt;Finally, it is necessary to establish the "connection A" from all nodes to the locations where items will be loaded and unloaded.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; I have attached the model.&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/80118-exemple-transport.fsm" target="_blank"&gt;exemple-transport.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Mar 2024 15:13:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575124#M74542</guid>
      <dc:creator>gustavo_teodoroD8NVF</dc:creator>
      <dc:date>2024-03-08T15:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Decide which Process Flow use based on Parameter</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575125#M74543</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you for the support, that's exactly what I needed!!! &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Mar 2024 17:36:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/decide-which-process-flow-use-based-on-parameter/m-p/13575125#M74543</guid>
      <dc:creator>leandroom</dc:creator>
      <dc:date>2024-03-08T17:36:42Z</dc:date>
    </item>
  </channel>
</rss>

