Statistical Data Collectors

Overview

   
 

In DESMO-J, many model components like queues, distributions, and higher modelling constructs like resources or condition queues automatically collect and report statistical data about their use. Additional data collectors can be used to collect, evaluate and report simulation results, e.g. mean residence times of customers or the average utilisation of a server.

At the moment there are the following data collectors available in DESMO-J's desmoj.core.statistic package:

  • Counters: The Count class provides a counter that can be used to record occurrences of events like the number of customer arrivals. A counter reports the number of observations, its current value and minimum and maximum values.

  • Tallies: The Tally class provides the possibility to record mean and standard deviation of a (time) series of values. Each observation carries the same weight. Computing the average time customers spent in the system is a typical example of when to use a tally. Each tally reports the number of observations, mean, standard deviation, minimum and maximum values.

  • Accumulates: The Accumulate class also provides the possibility to record mean and standard deviation of a time series of values. In contrast to a tally, however, each observation is weighed by the interval during which the value has endured. The relevant reports therefore return time-weighted statistics. A typical example for the use of an Accumulate object is to compute the utilisation of a server.

  • Histograms: The Histogram class ranks the measured values into predefined classes and draws a simple diagram. It also reports the number of observations, mean, standard deviation, minimum and maximum values.

  • Regressions: The Regression class allows for the regressional analysis of two different collected value series (x and y). It reports the number of observations, mean (for x and y), regression and correlation coefficients, standard deviations and interception.

  • Time Series: The TimeSeries class provides the possibility to log a time series into a text file. Its output consists of pairs of simulation time and value.



   
  http://desmoj.sourceforge.net/tutorial/statistics/0.html