Chapitre 6 Simulation
Chapitre 6 Simulation
Chapter 6
The same approach we used in Laboratory 2 for the Call Center Problem
Validation
The goal of validation is a two fold process:
To produce a model that represents true system behavior, this can be
used as a substitute for the actual system, for the purpose of
experimenting.
To increase the acceptance, credibility level of model, so that the
model will be used by managers and other decision makers.
There are two major types of validation
Face validity means that the model, at least on the surface, represents
reality (flow processing correctly, etc.).
Statistical validity : a quantitative comparison between the output
performance of the actual system and the model. Statistical validation
technique differs between terminating and non-terminating simulation
model (Law and Kelton, 2000).
Terminating versus non-terminating simulations
Terminating simulation have a naturally occurring event that ends
the period of interest. In contrast, nonterminating simulation we do
not have a naturally occurring terminating event.
Terminating simulation:
Runs for some duration of time TE, where E is a specified event that stops
the simulation.
Starts at time 0 under well-specified initial conditions.
Ends at the stopping time TE.
Bank example: Opens at 8:30 am (time 0) with no customers present and 8
of the 11 teller working (initial conditions), and closes at 4:30 pm (Time TE =
480 minutes).
The simulation analyst chooses to consider it a terminating system because
the object of interest is one day’s operation.
Terminating versus non-terminating simulations
Non-terminating simulation:
Runs continuously, or at least over a very long period of time.
Examples: assembly lines that shut down infrequently, telephone
systems, hospital emergency rooms.
Initial conditions defined by the analyst.
Runs for some analyst-specified period of time TE.
Study the steady-state (long-run) properties of the system: properties
that are not influenced by the initial conditions of the model.
In non-terminating or steady-state simulation the steady-
state behavior of the system is to be analyzed. The modeler
must determine a suitable length of time to run the model.
Terminating versus non-terminating simulations
Terminating simulation
Terminating versus non-terminating simulations
Non-terminating simulation
Terminating versus non-terminating simulations
Whether a simulation is considered to be terminating or non-terminating
depends on both
The objectives of the simulation study and
The nature of the system.
(x i X ( n)) 2
Value from Student’s t-distribution
Sample variance: S ( n)
2 i 1
with n-1 degree of freedom
n 1
S ( n)
X ( n) t n 1,1 / 2
Confidence interval for the mean: n
Half-width of CI
A significance level (α) of 5% is often selected. This gives a 95% probability that the
value of the true mean (obtained if the model is run for an infinite period) lies within
the confidence interval (this is known as a 95% confidence interval).
Statistical analysis of terminating simulations
CRITICAL VALUESFORTHESTUDENT’St-DISTRIBUTION
Statistical analysis of terminating simulations
Step 3: Selecting a level of Precision:
Application to Model 3.doe, from initial 5 replications the Percent Rejected is
with 95% confidence :
We generally seek a Half width of less than 10% of the mean value: target
decrease the Half-width from 3,08 to 1,2.
Statistical analysis of terminating simulations
Step 4: Compute the needed number of replications
A common method is to collect system or flow time. This is the time that it takes
an entity to be processed or flow through the entire system under study.
• The model starts empty, it takes some time before it reaches this steady-state.
The initial conditions tend to bias the desired long-term statistics
Objective: determining the initial warm-up period and the run length.
Analysis of non-terminating simulations
The transient state up until time 250 hours after this warm-up period the simulation model
goes into the steady state.
Truncated replications method
Ifyou can identify appropriate warm-up and run-length times, use
the Truncated Replication method with just make replications as
for terminating simulations
Only difference: Specify Warm-up Period in
Run > Setup > Replication Parameters
Proceed with confidence intervals, comparisons, all statistical analysis as in
terminating case
Batching method
If
model warms up very slowly, truncated replications can be
costly
Have to “pay” warm-up on each replication
Batching Method is an alternative