<?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: Define or divide item label by statistical distributions in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574247#M73826</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43538/lagilata2.html" nodeid="43538"&gt;@Rara Hasna&lt;/A&gt;, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 11 Mar 2024 16:25:39 GMT</pubDate>
    <dc:creator>Jeanette_Fullmer</dc:creator>
    <dc:date>2024-03-11T16:25:39Z</dc:date>
    <item>
      <title>Define or divide item label by statistical distributions</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574245#M73824</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, if I use Inter-Arrival Time on Source with statistical distributions and want to divide or define the items into 3 types by another statistical distribution, what should I use? I know that if I want to define it by percentage, then it works with Triggers - Set Label by Percentage, but is it possible to define it by statistical distributions?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;It will be easier if there is any way to solve that without using Process Flow because my model is already complex and it will take much time to revise it all as process flow, but if there is any example of how to use it I will really appreciate it, thank you.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Mar 2024 19:37:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574245#M73824</guid>
      <dc:creator>lagilata2</dc:creator>
      <dc:date>2024-03-04T19:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Define or divide item label by statistical distributions</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574246#M73825</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can use the "Code Snippet" option (or write code directly in the code editor window) to write any code you want into a trigger function. This includes assigning the return value to a label.&lt;/P&gt;&lt;P&gt;Most statistical distributions will return a decimal number. To get an integer (if that's the goal) you'd have to round the result. For example:&lt;/P&gt;&lt;PRE&gt;item.LabelName = Math.round(gamma(0, 5, 10, getstream(current)), 0);&lt;/PRE&gt;&lt;P&gt;(This requires item to be a variable declared in the header of the trigger code. Essentially any trigger that normally let's you set labels on an item will have that.)&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Mar 2024 07:25:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574246#M73825</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2024-03-05T07:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Define or divide item label by statistical distributions</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574247#M73826</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43538/lagilata2.html" nodeid="43538"&gt;@Rara Hasna&lt;/A&gt;, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 16:25:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/define-or-divide-item-label-by-statistical-distributions/m-p/13574247#M73826</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-03-11T16:25:39Z</dc:date>
    </item>
  </channel>
</rss>

