Chapter 1 - Introduction to Simulation
Chapter 1 - Introduction to Simulation
Chapter-One
1.1 What is Simulation and Modeling ?
A Simulation is the imitation of the operation of a real-world process or system over time.
It is the process of imitating the operations of various kinds of real world facilities or process.
Simulation involves the generation of an artificial history of an system and the observations
of that history to draw the inferences concerning the operating characteristics of the real
world.
A model usually takes the form of a sets of assumptions concerning the operation of the
system. The assumptions are expressed in Mathematical relationships, Logical relationships
and Symbolic relationships between the entities of the system.
The behavior of a system as it evolves over time is studied by developing a simulation model.
Once a model is developed and validated, a model can be used to investigate a wide variety
of “ what-if ” questions about the real world system.
Simulation Modeling can be used both as an analysis tool to predicting the effect of
changes to existing system and as a design tool to predict the performance of new systems
under varying sets of circumstances.
1.2 System and System Environment
A system is defined as an aggregation or assemblage of objects joined in some regular
interaction or interdependence toward the accomplishment of some purpose.
An example is an production system manufacturing automobiles. The machines, component
parts, and workers operates jointly along an assembly line to produce a high-quality
vehicle.
The external components which interact with the system and produce necessary changes are
said to constitute the system environment. In modeling systems, it is necessary to decide on
the boundary between the system and its environment.
Components of a System
• Entity : An entity is an object of interest in a system. Example: In the factory system,
departments, orders, parts and products are The entities.
• Attribute: An attribute denotes the property of an entity. Example: Quantities for each
order, type of part, or number of machines in a Department are attributes of factory
system.
• Activity: Any process causing changes in a system is called as an activity. Example:
Manufacturing process of the department.
1.2 System and System Environment
• State of the System :The state of a system is defined as the collection of variables
necessary to describe a system at any time, relative to the objective of study. In other
words, state of the system mean a description of all the entities, attributes and activities
as they exist at one point in time.
• Event: An event is defined as an instantaneous occurrence that may change the state of
the system.
• Endogenous System: The term endogenous is used to describe activities and events
occurring within a system. In the bank study the completion of service of a customer is
an endogenous event.
• Exogenous System: The term exogenous is used to describe activities and events in the
environment that affect the system. In the bank the arrival of a customer is an exogenous
event.
• Closed System: A system for which there is no exogenous activity and event is said to
be a closed. Example: Water in an insulated flask.
• Open system: A system for which there is exogenous activity and event is said to be a
open. Example: Bank system.
Example: Components of a System
1.3 Discrete and continuous systems
Continuous system: A continuous Discrete system: A discrete system is one in which
system is one in which the state the state variable(s) change only at a discrete set of
variable(s) change continuously over points in time.
time.
The bank is an example of a discrete system: The
An example is the head of water behind state variable, the number of customers in the bank,
a dam. changes only when a customer arrives or when the
service provided a customer is completed.
1.4 Types of Models
Mathematical model : A mathematical model uses symbolic notation and mathematical
equations to represent a system.
Static simulation model: A static simulation model, also called a Monte Carlo simulation,
represents a system at a particular point in time.
Dynamic simulation: Dynamic simulation models represent systems as they change over
time.
Deterministic models: Deterministic models have a known set of inputs, which will result in
a unique set of outputs.
Stochastic simulation: stochastic simulation model has one or more random variables as
inputs. Random inputs lead to random outputs. Since the outputs are random, they can be
considered only as estimates of the true characteristics of a model.
Discrete and continuous model
Physical Model
1.5 Steps in simulation study
1.5 Steps in simulation study
1. Problem formulation
Every study begins with a statement of the problem, provided by policy makers. Analyst
ensures its clearly understood. If it is developed by analyst policy makers should
understand and agree with it.
2. Setting of objectives and overall project plan:
The objectives indicate the questions to be answered by simulation. At this point a
determination should be made concerning whether simulation is the appropriate
methodology. Assuming it is appropriate, the overall project plan should include
• A statement of the alternative systems
• A method for evaluating the effectiveness of these alternatives
• Plans for the study in terms of the number of people involved
• Cost of the study
• The number of days required to accomplish each phase of the work with the
anticipated results.
1.5 Steps in simulation study
3. Model conceptualization
The art of modeling is enhanced by an ability to abstract the essential features of a
problem, to select and modify basic assumptions that characterize the system, and then
to enrich and elaborate the model until a useful approximation results.
It is best to start with a simple model and build toward greater complexity. Model
conceptualization enhance the quality of the resulting model and increase the confidence
of the model user in the application of the model.
4. Data collection
There is a constant interplay between the construction of the model and the collection of
the needed input data.
As the complexity of the model changes, the required data elements can also change.
1.5 Steps in simulation study
5. Model Translation
Most real-world systems result in models that require a great deal of information storage
and computation, so the model must be entered into a computer-recognizable format.
It can be programmed by using simulation languages or special purpose simulation
software. Simulation languages are powerful and flexible. Simulation software models
development time can be reduced.
6. Verified
It pertains to the computer program prepared for simulation model and checking the
performance. If the input parameters and logical structure and correctly represented,
verification is completed.
7. Validated
It is the determination that a model is an accurate representation of the real system.
Achieved through calibration of the model, an iterative process of comparing the model to
actual system behavior and the discrepancies between the two.
1.5 Steps in simulation study
8. Experimental Design
The alternatives that are to be simulated must be determined. Which alternatives to simulate
may be a function of runs. For each system design, decisions need to be made concerning
• Length of the initialization period
• Length of simulation runs
• Number of replication to be made of each run