<?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 find average value of an item label in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506994#M20832</link>
    <description>&lt;P&gt;just incase this is a 2019 version file&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2019 21:48:56 GMT</pubDate>
    <dc:creator>clinton_n</dc:creator>
    <dc:date>2019-02-20T21:48:56Z</dc:date>
    <item>
      <title>How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506991#M20829</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a model in which after completing processing at a processor there is a 24% chance that the object will come back into the system. I want to find the average value for the number of times an object would be processed.&lt;/P&gt;
&lt;P&gt;I created an item label named TimesProcessed at the source and gave it a value 0. On exiting the processor, the value gets incremented by one.&lt;/P&gt;
&lt;P&gt;what im struggling with is how to display TimesProcessed average value on a dashboard.&lt;/P&gt;
&lt;P&gt;Clinton&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506991#M20829</guid>
      <dc:creator>clinton_n</dc:creator>
      <dc:date>2019-02-20T14:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506992#M20830</link>
      <description>&lt;A rel="user" href="https://answers.flexsim.com/users/13080/clintonn.html" nodeid="13080"&gt;@Clinton N&lt;/A&gt;&lt;P&gt;Can you send in your model or a sample model so that we can see exactly what is happening in the model?  It would be helpful to see what you are trying to do in the actual model.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:15:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506992#M20830</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2019-02-20T21:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506993#M20831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have attached the problem.&lt;/P&gt;
&lt;P&gt;&lt;A id="17458" href="https://answers.flexsim.com/storage/attachments/17458-problem.fsm"&gt;problem.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:48:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506993#M20831</guid>
      <dc:creator>clinton_n</dc:creator>
      <dc:date>2019-02-20T21:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506994#M20832</link>
      <description>&lt;P&gt;just incase this is a 2019 version file&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:48:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506994#M20832</guid>
      <dc:creator>clinton_n</dc:creator>
      <dc:date>2019-02-20T21:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506995#M20833</link>
      <description>&lt;P&gt;hi, &lt;A href="https://answers.flexsim.com/questions/62797/how-to-find-average-value-of-an-item-label.html#"&gt;@Clinton N&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I was you, I will use legacy dashboard charts. Before that I will add the all value of item label to sink's label "total", and it divide by the input of sink is the average value of "TimesProcessed".&lt;/P&gt;&lt;P&gt;You can find the custom charts statistics in the attached model &lt;A href="https://answers.flexsim.com/storage/temp/17460-average-label-processtimev19.fsm"&gt;average-label-processtimev19.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;P.S. You need to check "show legacy charts" to find legacy charts in dashboard-libary&lt;/P&gt;&lt;P&gt;&lt;A id="17462" href="https://answers.flexsim.com/storage/temp/17462-legacy-charts.png"&gt;legacy-charts.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 00:41:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506995#M20833</guid>
      <dc:creator>jing_chen</dc:creator>
      <dc:date>2019-02-21T00:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506996#M20834</link>
      <description>&lt;P&gt;Thank you very much it solves my problem. But just wanted to know is there any way to collect the data using statistics collector&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 16:49:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506996#M20834</guid>
      <dc:creator>clinton_n</dc:creator>
      <dc:date>2019-02-21T16:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506997#M20835</link>
      <description>&lt;P&gt;Glad to see your problem solved. &lt;/P&gt;&lt;P&gt;I am not quite familiar with Statistics Collector, you can try to ask &lt;A rel="user" href="https://answers.flexsim.com/users/220/jordan.j.html" nodeid="220"&gt;@jordan.johnson&lt;/A&gt; help.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 00:12:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506997#M20835</guid>
      <dc:creator>jing_chen</dc:creator>
      <dc:date>2019-02-22T00:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506998#M20836</link>
      <description>&lt;P&gt;The statistic collector and a calculated table will accomplish your request: &lt;/P&gt;&lt;P&gt;Statistic Collector: OnEntry Event of the sink let you get the value of a label of the item each time  a row is added to the result table. &lt;/P&gt;&lt;P&gt;Calculated Table can query the average of the table column of the Statistic Collector.&lt;/P&gt;&lt;PRE&gt;SELECT AVG(StayTimeProcessor)  AS AvgStayTime FROM [cumulated staytime at processor]&lt;/PRE&gt;&lt;P&gt;  &lt;A id="17511" href="https://answers.flexsim.com/storage/attachments/17511-cumulated-processtime-of-multiprocessed-item.fsm"&gt;cumulated-processtime-of-multiprocessed-item.fsm&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since you let process the items randomly multiple times at the processor, I increment the label "ProcessedTimes" each time on exit by the staytime of the item on the processor. The color of items depends on the item Type label which I increment on exit by 1 at the processor, too.   &lt;BR /&gt;&lt;A id="17511" href="https://answers.flexsim.com/storage/attachments/17511-cumulated-processtime-of-multiprocessed-item.fsm"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:11:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506998#M20836</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2019-02-22T16:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506999#M20837</link>
      <description>&lt;P&gt;This is the solution I recommend, if you are looking to use the stats collector.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 17:56:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13506999#M20837</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2019-02-22T17:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to find average value of an item label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13507000#M20838</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/449/jing.c.html" nodeid="449"&gt;@jing.chen&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I was able to use Statistics Collector and get the same result. It uses a part of your solution like to increment total at sink. In the stats collector i divided it by the input at sink.&lt;/P&gt;
&lt;P&gt;Im attaching the solved problem. Hope you are able to understand it.&lt;/P&gt;
&lt;P&gt;&lt;A id="17559" href="https://answers.flexsim.com/storage/temp/17559-times-processed-solved.fsm"&gt;times-processed-solved.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks a lot guys.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 17:09:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-find-average-value-of-an-item-label/m-p/13507000#M20838</guid>
      <dc:creator>clinton_n</dc:creator>
      <dc:date>2019-02-26T17:09:10Z</dc:date>
    </item>
  </channel>
</rss>

