Distribution Pattern Dialog: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 1: Line 1:
The Distribution Pattern Dialog enables values and times with random variation to be generated. For example the time a Multi-server takes to handle an item, or the inter-arrival time of items produced at an Entry.
The Distribution Pattern Dialog enables values and times with random variation to be generated. For example the time a Multi-server takes to handle an item, or the inter-arrival time of items produced at an Entry.  


Distributions are listed on the left. Fields appear depending on the distribution selected.
Distributions are listed on the left. Fields appear depending on the distribution selected.  


All distributions also include a truncation/rounding option button and a final scaling factor. Truncation/rounding is applied first, then scaling on the resulting number.
All distributions also include a truncation/rounding option button and a final scaling factor. Truncation/rounding is applied first, then scaling on the resulting number.
Truncation/rounding is useful where specific values are needed, for example when using a distribution to select between options.<br>
Scaling is useful where the distribution might not change but needs to be adapted in continuous or batch processing situations.


{| cellspacing="1" cellpadding="1" border="1" style="width: 446px; height: 506px;"
{| cellspacing="1" cellpadding="1" border="1" style="width: 446px; height: 506px;"
|-
|-
| Fixed Value
| Fixed Value  
| Value
| Value  
| No variation, returns a single value.
| No variation, returns a single value.
|-
|-
| Equally Likely
| Equally Likely  
| Mean<br>Range */-
| Mean<br>Range */-  
| Uniformly distributed values centred on the mean.
| Uniformly distributed values centred on the mean.
|-
|-
| Equally Likely (Min/Max)
| Equally Likely (Min/Max)  
| Minimum<br>Maximum
| Minimum<br>Maximum  
| Uniformly distributed values ranging from minimum to maximum. Note that the maximum value will always be &lt;&nbsp;maximum by either 1/32768 or 1/4billion, depending on the random generator selected in the model Engine options.
| Uniformly distributed values ranging from minimum to maximum. Note that the maximum value will always be &lt;&nbsp;maximum by either 1/32768 or 1/4billion, depending on the random generator selected in the model Engine options.
|-
|-
| Triangular
| Triangular  
| Minimum<br>Mode<br>Maximum
| Minimum<br>Mode<br>Maximum  
| Distribution shaped like a triangle with its peak at mode and probabilities decreasing to zero at Minimum and Maximum, keeping the value constrained.
| Distribution shaped like a triangle with its peak at mode and probabilities decreasing to zero at Minimum and Maximum, keeping the value constrained.
|-
|-
| Bell Curve
| Bell Curve  
| Mean<br>StdDev
| Mean<br>StdDev  
| Normally distributed values with a distribution that looks like a bell. The standard deviation value determines the amount of variability. 95% of all values drawn will be within 3 standard deviations from the mean.
| Normally distributed values with a distribution that looks like a bell. The standard deviation value determines the amount of variability. 95% of all values drawn will be within 3 standard deviations from the mean.
|-
|-
| Log Normal
| Log Normal  
| Mu<br>Sigma
| Mu<br>Sigma  
|  
| This is a distribution where the logarithm of the random values is normally distributed. It is used in cases where many random factors multiply together, including finance and communications.<br>
|-
|-
| Random Delays
| Random Delays  
| Mean
| Mean  
|  
| This is the Negative Exponential or Poisson distribution and characterises the number of events that will occur over a period of time if the probability of each event is random and independent. It features a long tail of decreasing probability of occurance.<br>
|-
|-
| Erlang
| Erlang  
| Mean<br>K
| Mean<br>K  
|  
| This characterises the time between independent events (eg: arrivals). It is actually the sum of 'K' random delays.<br>
|-
|-
| Weibull
| Weibull  
| Minimum<br>Scale<br>Shape
| Minimum<br>Scale<br>Shape  
|  
| This distribution has a minimum and is often used to characterise equipment breakdowns. <br>
|-
|-
| C.D.F. Table
| C.D.F. Table  
| Table
| Table  
|  
| This uses a table enabling any distribution of values to be generated. The reference must point to a "accumulating probability"&nbsp;column in a table where the first row cell is 0 and subsequent rows increase until the final row which must have a 1.0.<br>PL&nbsp;uses a uniform (0..1) draw and locates the row where that probability lies. The value in column 1 is then returned. If the value was between rows, interpolation is used.<br>This results in a continuous distribution of values. <br>
|-
|-
| Point Freq. Table
| Point Freq. Table  
| Table
| Table  
|  
| This uses a table to define discrete values and their probabilities. The table reference points to a column of probabilities. The sum of all the probabilities in this column must be 1. A uniform (0..1)&nbsp;draw is made and the row (bin) within which that draw lies is found in the table. The corresponding value in column 1 is returned. There is no interpolation.<br>This results in discrete values, corresponding to the values in column 1 of the table, occuring at probabilities as set in the probability column.
|}
|}


<br>The Truncation / Rounding button selects either round (to closest integer) or truncate (remove fraction) operation. For times, more options appear enabling truncating/rounding a time (always in seconds) to the nearest second (1, same as unit but included for clarity), minute (60), hour (3600) or day (86400).


For example:


Bell Curve
Round Unit 3.7 = 4<br>Truncate Unit 3.7 = 3<br>Round Hour 3500 = 3600 (would display as 1:00 00 in a time formatted view)<br>Truncate Hour 7100 = 3600 (1:00 00)
<br>
The Normal Distribution, using an average and a deviation value. The value is taken from the bell-shaped curve with average Avg and sigma Dev. This is also known as the Normal Distribution.  
 
<br> Random Delays<br> The Poisson Distribution, using an average value only. Completely random behaviour. The value on average will be Avg but can range to very large values (with a decreasing probability). This is also known as Negative Exponential distribution.
 
<br> Erlang<br> A Distribution that can be skewed, using a K value. The value is determined using the Erlang distribution curve, which is generated by summing K negative exponential distributions, each with an average of Avg. Large K values give an approximation to the Normal (Bell Curve) distribution. <br> Weibull A Distribution that is specified by Min and Scale values and a shape factor. The Weibull curve is often used for equipment breakdowns.
 
<br> C.D.F Table<br> The Cumulative Distribution Function reads from a table, or into which you can import your own data. For use with ACTUAL HISTORICAL DATA samples, and enables an arbitrary distribution curve to be imported and used. Data is read from a file with a .CDF extension, or referenced in the attribute selection dialog as a specific Attribute Mode (CDF Dist).


<br> Point Frequency.<br> The Point Frequency Distribution Function reads from a table, or into which you can import your own data. For use with ACTUAL HISTORICAL DATA samples, and enables a distribution to be described where only particular values can occur. For each value a probability value is specified. Data is read from a file with a .PMF extension, or referenced in the attribute selection dialog as a specific Attribute Mode (PDF Dist).
Preview Button<br> Generates a graphical view of the values which would be generated using the current parameters. In cases where non numeric references are used, a preview cannot be generated. You can code your model to log the values in a table and process them to generate a graph.<br>


<br> Setting the Parameter Values<br> On the right, one or more fields appear where parameter values may be entered. Small buttons to the right again of each of these fields enable references to Attributes to be entered. Deviations about the average are required for some distributions.
Random Streams<br> Distributions draw upon a specific generator of basic random numbers and you are able to alter the stream number setting. Normally all random values (including ones Planimate uses internally eg: for probability switches) draw from stream 0.<br>
 
<br> Scale Button<br> A distribution parameter and its pattern (eg. delay or Interarrival time) can be scaled by reference to (and therefore depend upon) the value of an Attribute. The distribution time gets scaled by the attribute's current value. <br> e.g. A Multi-server is set to a fixed parameter value of 1 hour, and also contains a reference to an Item Attribute. If the value of the Item Attribute for the item entering the server is 2, then that Item will take (1hr x 2 =) 2 hours at the server.
 
<br> Truncate Button<br> The Truncate button enables a value truncation mode to be selected. This enables values to be restricted to whole units, either by truncation or rounding.
 
<br> Truncation Options in the Distribution Pattern Dialog<br> Truncate Option Description<br> None None The default. No truncation or rounding of values occurs. <br> Units Units Truncates all values to the lowest whole unit, or rounds up or down to the nearest whole unit. <br> Seconds Seconds Seconds truncate to the lowest whole unit of seconds,or round up or down to the nearest whole unit of seconds. e.g. 1.25 truncates to 1, and 27.7 truncates to 27. With Rounding, 1.25 becomes 1, and 27.7 becomes 28. <br> Minutes Minutes Minutes truncate to the lowest whole unit of minutes, or round up or down to the nearest whole unit of minutes. e.g. 115 seconds truncates to to 60 seconds, and 00:05 25.00 truncates to 5 minutes or 00:05. With Rounding, 115 seconds is rounded up to 120 seconds and 00:05 25.00 is rounded down to 5 minutes or 00:05. <br> Hours Hours Truncates all values to the lowest whole hour Rounds all values up or down to the nearest whole hour. <br> Days Days Truncates all values to the lowest whole day. Rounds all values up or down to the nearest whole day. <br> Months Months Truncates all values to the lowest whole month. Rounds all values up or down to the nearest whole month. <br> Years Years Truncates all values to the lowest whole year Rounds all values up or down to the nearest whole year.
 
<br> Preview Button<br> The Preview button enables a graphical view of the values which would be generated using the current parameters in the dialog.
 
<br> This graph assists in interpreting the variation which values can undergo when random variation is used. It is not available if any distribution parameters are referencing attributes.
 
<br> Random Streams<br> Distributions which introduce random variation draw upon a specific stream of variation and you are able to alter the stream number setting. Refer to &lt;Random Number Streams&gt; for more details.  


----
----


<br>
[[Category:Context_Help]]
 
<br>
 
<font size="2">idkbase note 10152</font>


[[Category:Context Help]]
[[Category:Data]]

Latest revision as of 17:11, 29 June 2010

The Distribution Pattern Dialog enables values and times with random variation to be generated. For example the time a Multi-server takes to handle an item, or the inter-arrival time of items produced at an Entry.

Distributions are listed on the left. Fields appear depending on the distribution selected.

All distributions also include a truncation/rounding option button and a final scaling factor. Truncation/rounding is applied first, then scaling on the resulting number.

Truncation/rounding is useful where specific values are needed, for example when using a distribution to select between options.

Scaling is useful where the distribution might not change but needs to be adapted in continuous or batch processing situations.


Fixed Value Value No variation, returns a single value.
Equally Likely Mean
Range */-
Uniformly distributed values centred on the mean.
Equally Likely (Min/Max) Minimum
Maximum
Uniformly distributed values ranging from minimum to maximum. Note that the maximum value will always be < maximum by either 1/32768 or 1/4billion, depending on the random generator selected in the model Engine options.
Triangular Minimum
Mode
Maximum
Distribution shaped like a triangle with its peak at mode and probabilities decreasing to zero at Minimum and Maximum, keeping the value constrained.
Bell Curve Mean
StdDev
Normally distributed values with a distribution that looks like a bell. The standard deviation value determines the amount of variability. 95% of all values drawn will be within 3 standard deviations from the mean.
Log Normal Mu
Sigma
This is a distribution where the logarithm of the random values is normally distributed. It is used in cases where many random factors multiply together, including finance and communications.
Random Delays Mean This is the Negative Exponential or Poisson distribution and characterises the number of events that will occur over a period of time if the probability of each event is random and independent. It features a long tail of decreasing probability of occurance.
Erlang Mean
K
This characterises the time between independent events (eg: arrivals). It is actually the sum of 'K' random delays.
Weibull Minimum
Scale
Shape
This distribution has a minimum and is often used to characterise equipment breakdowns.
C.D.F. Table Table This uses a table enabling any distribution of values to be generated. The reference must point to a "accumulating probability" column in a table where the first row cell is 0 and subsequent rows increase until the final row which must have a 1.0.
PL uses a uniform (0..1) draw and locates the row where that probability lies. The value in column 1 is then returned. If the value was between rows, interpolation is used.
This results in a continuous distribution of values.
Point Freq. Table Table This uses a table to define discrete values and their probabilities. The table reference points to a column of probabilities. The sum of all the probabilities in this column must be 1. A uniform (0..1) draw is made and the row (bin) within which that draw lies is found in the table. The corresponding value in column 1 is returned. There is no interpolation.
This results in discrete values, corresponding to the values in column 1 of the table, occuring at probabilities as set in the probability column.


The Truncation / Rounding button selects either round (to closest integer) or truncate (remove fraction) operation. For times, more options appear enabling truncating/rounding a time (always in seconds) to the nearest second (1, same as unit but included for clarity), minute (60), hour (3600) or day (86400).

For example:

Round Unit 3.7 = 4
Truncate Unit 3.7 = 3
Round Hour 3500 = 3600 (would display as 1:00 00 in a time formatted view)
Truncate Hour 7100 = 3600 (1:00 00)

Preview Button
Generates a graphical view of the values which would be generated using the current parameters. In cases where non numeric references are used, a preview cannot be generated. You can code your model to log the values in a table and process them to generate a graph.

Random Streams
Distributions draw upon a specific generator of basic random numbers and you are able to alter the stream number setting. Normally all random values (including ones Planimate uses internally eg: for probability switches) draw from stream 0.