<?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 Poisson process for arrivals in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504700#M19048</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi there, &lt;/P&gt;
 &lt;P&gt;If I use the Poisson process for arrivals with different volumes for AM/PM sessions as shown below (for AM session):&lt;/P&gt;
 &lt;PRE&gt;Object current = param(1);
treenode activity = param(2);
int rowNumber = param(3); //The arrival entry row number
int cycle = param(4); //The current cycle through the arrivals table (first iteration cycle = 1)
treenode processFlow = ownerobject(activity);
/***popup:StatisticalDistribution*/
return
/***tag:distribution*//**/&lt;SPAN style="color: rgb(226, 80, 65);"&gt;poisson&lt;/SPAN&gt;/**//**/(/**/
/***tag:par1*//**/&lt;SPAN style="color: rgb(226, 80, 65);"&gt;33&lt;/SPAN&gt;/**/
/***tag:par2*//**//**/
/***tag:par3*//**/, getstream(activity)/**/
/***tag:par4*//**//**/
/***tag:par5*//**//**/
/**/)/**/
&lt;/PRE&gt;
 &lt;P&gt;I assume that 33 samples will be created and the arrivals depend on the Poisson probability. Is that correct? &lt;/P&gt;
 &lt;P&gt;And in this case, what would be the effect of using an "evenly spaced" spacing for arrivals? &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks!&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Nov 2021 23:31:33 GMT</pubDate>
    <dc:creator>maryamh11</dc:creator>
    <dc:date>2021-11-04T23:31:33Z</dc:date>
    <item>
      <title>Poisson process for arrivals</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504700#M19048</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi there, &lt;/P&gt;
 &lt;P&gt;If I use the Poisson process for arrivals with different volumes for AM/PM sessions as shown below (for AM session):&lt;/P&gt;
 &lt;PRE&gt;Object current = param(1);
treenode activity = param(2);
int rowNumber = param(3); //The arrival entry row number
int cycle = param(4); //The current cycle through the arrivals table (first iteration cycle = 1)
treenode processFlow = ownerobject(activity);
/***popup:StatisticalDistribution*/
return
/***tag:distribution*//**/&lt;SPAN style="color: rgb(226, 80, 65);"&gt;poisson&lt;/SPAN&gt;/**//**/(/**/
/***tag:par1*//**/&lt;SPAN style="color: rgb(226, 80, 65);"&gt;33&lt;/SPAN&gt;/**/
/***tag:par2*//**//**/
/***tag:par3*//**/, getstream(activity)/**/
/***tag:par4*//**//**/
/***tag:par5*//**//**/
/**/)/**/
&lt;/PRE&gt;
 &lt;P&gt;I assume that 33 samples will be created and the arrivals depend on the Poisson probability. Is that correct? &lt;/P&gt;
 &lt;P&gt;And in this case, what would be the effect of using an "evenly spaced" spacing for arrivals? &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Nov 2021 23:31:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504700#M19048</guid>
      <dc:creator>maryamh11</dc:creator>
      <dc:date>2021-11-04T23:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson process for arrivals</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504701#M19049</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Putting a distribution in the Quantity column of the Date Time Source activity will just give you a variable number of arrivals. So, no, you probably won't get 33 arrivals. You'll get a number generated by the distribution. You'll generally get a number of arrivals around 33, but some replications you'll likely get less than 20 or more than 40:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1636148439317.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1507947iAD50867C899FD9C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1636148439317.png" alt="1636148439317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Evenly Spaced will work the same way it would if you just put a number as the quantity. Say poisson(33) returns the number 20 in your model run and your arrival period is an hour, then 20 patients will be created during that hour spaced out every 3 minutes.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Nov 2021 21:43:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504701#M19049</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-11-05T21:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson process for arrivals</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504702#M19050</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Got it, thanks a lot!
&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Nov 2021 21:49:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/poisson-process-for-arrivals/m-p/13504702#M19050</guid>
      <dc:creator>maryamh11</dc:creator>
      <dc:date>2021-11-05T21:49:22Z</dc:date>
    </item>
  </channel>
</rss>

