next up previous contents
Next: Probability distributions Up: The generator and Previous: A test on

A test on the event scheduling strategy

The event scheduling strategy is tested by running a general queuing simulation. The arrival and service pattern (M or D), the number of service points and the arrival and service rate are the input for the simulation. The results are compared with the analytical values with the methods of the analysis class. If these values lie within the 95% interval of the simulation results on 95% or more of the experiments the event scheduling strategy passed the test. For example, if we look at the analytical values of the M/M/1 queue, with an arrival rate of 3 and a service rate of 4, the mean of the queue size, according to [Gross 85], is equal to

where is the number of arriving customers per time unit and is the service rate per time unit. So the queue size in our M/M/1 queue is equal to .

The mean time spent queuing is

or in our M/M/1 queue . These values do indeed agree with the results of the simulation program of the M/M/1 queue, taking the confidence intervals into account.

A Eliens
Tue Oct 31 09:27:21 MET 1995