1 Intro To Simulation
1 Intro To Simulation
What is Simulation?
2. The two key elements of this definition are model and experiment.
5. The term simulation model means a model that has been adapted to be analyzed
with the use of simulation.
6. For situations in which a problem does not meet, the assumptions required by
standard analytical modeling approaches, simulation could be the best approach to
modeling and solving problem.
Applications of Simulation
2. Application of simulation to business and industrial problems are increasing over the
past 30 years, this is because to the three developments:
1
QMT634 – SIMULATION
1. Almost any time a decision is made, a model is used to aid the decision maker.
Example:
Decision in statistics – to estimate mean cost per year for college education in
Malaysia using a random sample of college students in Malaysia.
Important Terms
a) System
Example:
Consider the system for stocking and selling goods at a grocery store.
- the arriving customers,
- the checkout counters and attendants,
- a customer service attendant,
- the queues or waiting lines for customers,
- the baskets for carrying groceries, and
- the store with its stock.
2
QMT634 – SIMULATION
Other systems?
Hospital – patients, rooms, personnel and equipment
Air traffic control – radar detectors, planes, runways and controllers
Telecommunications – messages, communication network and receiving
stations
Manufacturing – machine, inventories, items produced
Most systems in the real world are highly complex, so it is useful to divide the
systems into subsystems.
A subsystem is a part of a system that performs a specific task for the entire
system.
Example:
A hospital is divided into subsystems – emergency room, surgical suite,
intensive care unit, maternity ward, medical wards, X-ray department and
laboratory.
b) Model
Models may be: iconic (look-alike the real entity), analog (explains a
phenomenon by reference to some other occurrence) e.g. thermometer,
schematic (drawing and pictures) e.g. map and mathematical
(mathematical relationship).
Models are prescriptive; they determine the optimal policy (eg. Linear
Programming).
Models are descriptive; they describe relationships and provide information
for evaluation (eg. Queuing Model).
3
QMT634 – SIMULATION
c) Parameter
4
QMT634 – SIMULATION
The relationship between input parameters, the model and output parameters
can be depicted as in the following diagram.
Operating policies
Model Output parameters
Input parameters
Output parameters are the answers that we want the model to provide to
aid us in decision making.
We must specify how the model relates the output parameters to the input
parameters. There are two basic ways to do this:
5
QMT634 – SIMULATION
4. The present
Began to mature during the 1990s.
Many smaller firms accept the tool.
Better animation, greater ease of use, faster computers, easy integration with
other packages and the emergence of simulators have all helped simulation
become a standard tool in many companies.
Most managers admit that simulation can add value to their enterprise.
1. Gaming simulation – involve the interaction of one or more persons with the
simulation program (example: video games, war games, flight simulators and etc.).
2. Static simulation (Monte Carlo simulation) – sampling observations and
transforming them according to formulas or rules that compose the model.
Repeated independently many times.
3. Dynamic system simulation – observe the behavior of system models over time
(example: inventory, queuing and etc.).
Dynamic system simulation – divide by two subareas, continuous simulation and
discrete simulation.
6
QMT634 – SIMULATION
1. Develop a conceptual model of the system or problem under study. This step
begins with understanding and defining the problem, identifying the goals and
objectives of the study, determining the important input variables and defining output
measures.
Verification refers to the process of ensuring that the model is free from logical
errors.
Validation ensures that the model behaves the same as the real system or problem.
5. Perform the experiments and analyze the results. Run the appropriate
simulations to obtain the information required to make an informed decision.
Advantages of simulation
3. It can be used to analyze large and complex real world situations that cannot be
solved by conventional quantitative analysis models.
4. Simulation allows what-if? types of questions. This enables the decision maker
evaluate / consider more than one alternative before choosing the best one.
5. Simulation does not interfere with the real-world system. With simulation,
experiments are done with the model, not on the system itself.
7
QMT634 – SIMULATION
7. The effects of changes in variables over many months / years can be obtained by
computer simulation in a short time.
Disadvantages of simulation
2. Simulation does not give us the optimal solution. It is a trial and error approach that
produces different solutions in repeated runs.
3. The user must generate all of the conditions and constraints for solutions that they
want to examine.
4. Each simulation model is unique. Its solutions and inferences are not usually
transferable to other problems.
Problems
1. For the following systems, identify their subsystems, the input parameters and
output parameters.
a) A restaurant.
b) A university.
c) A bank.
d) A supermarket.
e) A petrol station.