<?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 How to tackle -ve values from distribution without impacting mean value? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-tackle-ve-values-from-distribution-without-impacting-mean/m-p/13586188#M83106</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 25.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Team,&lt;/P&gt;
 &lt;P&gt;I observed that whenever lognormal distribution is throwing negative values, it is picking the 0 value for repair time which is not possible in real system. &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1735323970666.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1526223i9C2E893F32BA750D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1735323970666.png" alt="1735323970666.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I would like to filter the 0 values from the table. But my concern is that it will impact the mean value of distribution. What are the other ways to handle this problem?&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/89031-breakdown-count-reps.fsm" target="_blank"&gt;Breakdown_Count_Reps.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 27 Dec 2024 18:31:24 GMT</pubDate>
    <dc:creator>rajankur6494</dc:creator>
    <dc:date>2024-12-27T18:31:24Z</dc:date>
    <item>
      <title>How to tackle -ve values from distribution without impacting mean value?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-tackle-ve-values-from-distribution-without-impacting-mean/m-p/13586188#M83106</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 25.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Team,&lt;/P&gt;
 &lt;P&gt;I observed that whenever lognormal distribution is throwing negative values, it is picking the 0 value for repair time which is not possible in real system. &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1735323970666.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1526223i9C2E893F32BA750D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1735323970666.png" alt="1735323970666.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I would like to filter the 0 values from the table. But my concern is that it will impact the mean value of distribution. What are the other ways to handle this problem?&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/89031-breakdown-count-reps.fsm" target="_blank"&gt;Breakdown_Count_Reps.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Dec 2024 18:31:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-tackle-ve-values-from-distribution-without-impacting-mean/m-p/13586188#M83106</guid>
      <dc:creator>rajankur6494</dc:creator>
      <dc:date>2024-12-27T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to tackle -ve values from distribution without impacting mean value?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-tackle-ve-values-from-distribution-without-impacting-mean/m-p/13586189#M83107</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Try avoiding -ve or zero values in the MTTR value by modifying the code using a while loop.&lt;/P&gt;&lt;PRE&gt;double repairTime = -1
while (repairTime &amp;lt;= 0) {
    repairTime = lognormalmeanstdev(84.13, 110.3, getstream(current));
}
return repairTime;&lt;/PRE&gt;&lt;P&gt;If this is not is acceptable try some minimum repair time when the repair time becomes less than or equal to zero.&lt;/P&gt;&lt;PRE&gt;double repairTime =lognormalmeanstdev(84.13, 110.3, getstream(current));
if(repairTime &amp;lt;=0)
{
   repairTime = minRepairTime;
}&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun KR&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Dec 2024 19:40:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-tackle-ve-values-from-distribution-without-impacting-mean/m-p/13586189#M83107</guid>
      <dc:creator>arunTTT2P</dc:creator>
      <dc:date>2024-12-27T19:40:20Z</dc:date>
    </item>
  </channel>
</rss>

