<?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: Filling Fluid Mixer based on Content of Mixer in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543504#M49705</link>
    <description>&lt;P&gt;It is fine without the custom objects. One thing with mixers is that they don't "overflow", so they only take in what is needed for the recipe. So I don't think there is a need for refilling, unless the refilling is for other fluid tanks, in that case can you give a brief outline of the flow of your system surrounding just the mixers?&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 18:38:48 GMT</pubDate>
    <dc:creator>joshua_s</dc:creator>
    <dc:date>2018-08-31T18:38:48Z</dc:date>
    <item>
      <title>Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543499#M49700</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I am using custom code in the step triggers of two Fluid Mixer objects to refill when the step sequence is completed and the mixer is empty. How can I code to trigger a refill when the mixer content falls below a certain level (e.g. 1000 kg) rather than after the two step cycle (step 1 fill; step 2 mix) and then completely emptying. After the refill is complete, the mixer should revert to step 2 (mixing). Each of the two mixers can hold 3000 kg and are being fed from a common tank connected to both mixers. The two mixers are communicating with each other through the central ports. &lt;/P&gt;
&lt;P&gt;Here is my current method: &lt;/P&gt;
&lt;P&gt;Before step trigger:&lt;/P&gt;
&lt;PRE&gt;/**Custom Code*/&lt;/PRE&gt; 
&lt;PRE&gt;treenode current = ownerobject(c);
int stepnum = parval(1);

if (stepnum == 1)
{
openinput(current);
closeinput(centerobject(current,1));
}
&lt;/PRE&gt; 
&lt;PRE&gt;After step trigger:&lt;/PRE&gt; 
&lt;PRE&gt;/**Custom Code*/&lt;/PRE&gt; 
&lt;PRE&gt;treenode current = ownerobject(c);
int stepnum = parval(1);


if (stepnum == 1)
{
closeinput(current);
openinput(centerobject(current,1));
}&lt;/PRE&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 16:32:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543499#M49700</guid>
      <dc:creator>jim_draper</dc:creator>
      <dc:date>2018-08-01T16:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543500#M49701</link>
      <description>&lt;P&gt;One way you can trigger a refill is to use an event triggered source in process flow where it fires when the content drops below 1000, then have other activities attached to it opening or closing ports.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14161-event-triggered.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1497504i035AF51588303205/image-size/large?v=v2&amp;amp;px=999" role="button" title="14161-event-triggered.png" alt="14161-event-triggered.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:50:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543500#M49701</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-08-31T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543501#M49702</link>
      <description>&lt;P&gt;Joshua,&lt;/P&gt;
&lt;P&gt;Thank your for your suggestion. It sounds like a plausible solution. I have not used process flow before and suppose I will have to dig into the user manual to figure out how to recreate the example given above. &lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:04:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543501#M49702</guid>
      <dc:creator>jim_draper</dc:creator>
      <dc:date>2018-08-31T17:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543502#M49703</link>
      <description>&lt;P&gt;If you upload your model I could make the adjustments. I do recommend going through through the tutorials for Process flow, it's extremely powerful and will give you greater controll over any model you make.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:28:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543502#M49703</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-08-31T17:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543503#M49704</link>
      <description>&lt;P&gt;Joshua,&lt;/P&gt;
&lt;P&gt;Here is my model. There are a lot of custom objects in the model. Do you need those files as well?&lt;/P&gt;
&lt;P&gt;Jim Draper&lt;/P&gt;
&lt;P&gt;&lt;A id="14166" href="https://answers.flexsim.com/storage/temp/14166-fresh-burger-line-8-31-18.fsm"&gt;fresh-burger-line-8-31-18.fsm&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:44:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543503#M49704</guid>
      <dc:creator>jim_draper</dc:creator>
      <dc:date>2018-08-31T17:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543504#M49705</link>
      <description>&lt;P&gt;It is fine without the custom objects. One thing with mixers is that they don't "overflow", so they only take in what is needed for the recipe. So I don't think there is a need for refilling, unless the refilling is for other fluid tanks, in that case can you give a brief outline of the flow of your system surrounding just the mixers?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 18:38:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543504#M49705</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-08-31T18:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543505#M49706</link>
      <description>&lt;P&gt;I agree that mixers don't overflow in a model. This model is being used in reality in a meat plant now. The factory has two primary meat mixers that feed material to a final meat mixer downstream. The two primary mixers can hold up to 3,000 lb. The primary mixers are fed by a grinder (tank) and the amount to be put into the primary mixers must be in increments of 2,000 lb. Thus when the primary mixers fall below 1000 lb., they can be refilled and not wait until they are completely empty. The final mixer has a capacity of 2,750 lb. I have been inputting the capacity of the primary mixers to match exactly one batch size of the final mixers (1265 lb. and 1485 lb., respectively). But in reality the primary mixers are initially filled to 2000 lb. and then refilled in increments of 2,000 lb. whenever they fall below the 1,000 lb. mark (after the amount for a final mixer batch has been discharged). The two primary mixers have two 3 minute processing steps after filling is complete. &lt;/P&gt;
&lt;P&gt;So I need to have the primary mixers fill to anywhere between 2,000 and 3,000 lb., wait for six minutes, discharge the correct amount to the final mixer and then refill another 2,000 lb. slug if the content is below 1,000 lb. after discharging. Perhaps these two primary mixers should be modeled as tanks instead of mixers. It would be easier control the filling process but I don't know how to make tanks wait for the six minutes between receiving a 2,000 lb. input and the time to start discharge. It may be easier for you help me put code on two tanks to wait the six minutes that is required. I am not coding savvy whatsoever. Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 19:09:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543505#M49706</guid>
      <dc:creator>jim_draper</dc:creator>
      <dc:date>2018-08-31T19:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543506#M49707</link>
      <description>&lt;P&gt;You talked about a 2000lb slug, is this added all at once rather than over an extend amount of time? Also the discharge from the mixers, is it instantaneous or over an extend time as well? Tanks are nice to show the filling and refilling and would work if you replaced the lean and fat mixers. Now the 6 minute wait, that is calculating that the final mixer has finished blending the lean and fat mixture and has already discharged its contents as well before accepting more lean and fat meat?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 19:41:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543506#M49707</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-08-31T19:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543507#M49708</link>
      <description>&lt;P&gt;The 2000 lb. is added at a rate of 11.1 lb/sec. but to only one primary mixer at a time. All 2000 lb. must be added. The discharge of the mixers is a rate of 25 lb/sec. I am okay with replacing the mixers with tanks if there is a way for the 6 min. requirement to be met. The 6 min. begins at the time when the 2000 lb. finishes filling. The final mixer will not call for meat from the two primary mixers until it has completely emptied the 2750 lb. I may have to finish with this with you next week as I am leaving for the long holiday soon.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 20:20:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543507#M49708</guid>
      <dc:creator>jim_draper</dc:creator>
      <dc:date>2018-08-31T20:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543508#M49709</link>
      <description>&lt;P&gt;Same, I will look into it more next week as well&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 20:25:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543508#M49709</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-08-31T20:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543509#M49710</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/112/jim.d.html" nodeid="112"&gt;@jim.draper&lt;/A&gt; I think I understand most of this process, just a final question. Do you want the slugs added when it drops below 1000, or below the amount that it will add to the final mixer, because if it doesn't drop below 1000, say it is as 1001, then it will have to do 2 batches worth for the recipe for the final mixer since the recipe calls for 1265 lb. and 1485 lb.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 17:57:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543509#M49710</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-09-04T17:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543510#M49711</link>
      <description>&lt;P&gt;Good catch! Yes, the slug should be added when the level drops below the amount it will add to the final mixer. There may be some instances that it will exceed the 3000 lb. capacity of the primary mixer but in reality, it can hold more than 3000 lb. if need be. The 3000 lb. is the recommended fill level and not a hard ceiling amount. The worst case scenario would be if the level drops to 1,484 lb. and then a slug is added bringing it up to 3,484 lb. I think that is doable. &lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:27:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543510#M49711</guid>
      <dc:creator>jim_draper</dc:creator>
      <dc:date>2018-09-04T18:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Fluid Mixer based on Content of Mixer</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543511#M49712</link>
      <description>&lt;P&gt;Take a look at this model and see if this all checks out of what should be happening. the 6 minutes seems to check out with this.&lt;A id="14186" href="https://answers.flexsim.com/storage/temp/14186-meat-example.fsm"&gt;meat-example.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 19:44:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/filling-fluid-mixer-based-on-content-of-mixer/m-p/13543511#M49712</guid>
      <dc:creator>joshua_s</dc:creator>
      <dc:date>2018-09-04T19:44:38Z</dc:date>
    </item>
  </channel>
</rss>

