Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Ajai Jain
Professor, Department of Mechanical Engineering
National Institute of Technology, Kurukshetra, India
Email: ajayjainfme@nitkkr.ac.in
1. INTRODUCTION
If model structure is simple enough, one could use mathematical methods to get exact
information on questions of interest and is called analytical solution. But most complex
systems require models that are also complex. They must be studied via simulation to
evaluate model numerically and collect data to estimate model characteristics.
Simulation is used before an existing system is altered or a new system built: (i) To
reduce the chances of failure to meet specifications, (ii) To eliminate
unforeseen bottlenecks, (iii) To prevent under or over-utilization of resources, and (iv)
To optimize system performance. In a simulation study, human decision making is
required at all stages, namely, model development, experiment design, output analysis,
conclusion formulation, and making decisions to alter the system under study.
The only stage where human intervention is not required is the running of the
simulations, which most simulation software packages perform efficiently. For example
a manufacturing company considering extending its plant and wish to see how it works.
Thus, the company’s model is built and validated. Then simulate current and expanded
operations and one could investigate many other issues along the way, quickly and
cheaply.
Advantages of Simulation
• Decision aid.
• Cause-effect relations
• Exploration of possibilities.
• Diagnosing of problems.
• Identification of constraints.
• Visualization of plans.
• Building consensus.
• Specification of requirements.
Disadvantages of Simulation
• Training required.
• Time consuming/expensive.
Application Areas
Observations based on simulations give great insight into the system behavior,
and it can be determined which variables are most important and how they
interact.
Can be used for training without the cost and disruption of on-the-job learning.
The simulated system is so complex, that its interactions can be treated only
through simulation
Is data lacking for modeling the system and beginning a simulation study?
Is there enough time and personnel to verify and validate the model?
There are various types of simulation model and they are described below.
Most operational models are dynamic, stochastic, and discrete and in general they are
called discrete-event simulation models. Discrete event simulation concerns the
modeling of a system as it evolves over time by a representation in which the state
variables instantaneously changes at separate point s in time i.e. system can change at
only a countable number of points in time. These points in time are the ones at which an
event occurs.
Simulation Terminology
The purpose of this example is to show how computer simulation is carried out.
Although if system is not complex and duration of simulation is small, manual simulation
can be carried out.
Consider a single server queuing system for which the interarrival times A 1, A2….. are
independent and identically distributed (IID) random variables. (Identically distributed
means that the interarrival times have the same probability distribution). A customer
who arrives and finds the server idle enters service immediately and the service times
S1, S2….. of the successive customers are IID random variables that are independent of
the interarrival times. Upon completing service for a customer, the server chooses a
customer from the queue (if any) in a First-in, First out (FIFO) manner.
The simulation will begin in the empty and idle state, i.e. no customers are present and
the server is idle. At time 0, we will begin waiting for the arrival of the first customer,
which will occur after the first interarrival time, A1, rather than at time 0. We wish to
simulate this system until a fixed number (n) of customers have completed their delays
in queue i.e. the simulation will stop when the nth customer enters service. It is
important to mention that the time the simulation ends is thus a random variable,
depending on the observed values for the interarrival and service-time random
variables.
To measure the performance, we will look at estimates of three quantities, i.e. expected
average delay in queue of the n customers completing their delays during the simulation
(d (n)), expected average number of customers in the queue (q (n)), and how busy the
server is (u (n)? d (n) will give information about system performance from customers
viewpoint, q (n) and u (n) will give information to the management.
D i
dˆ (n) i 1
n
qˆ (n) ipˆ i
i 0
iT i
T(n)
Q(t)dt
qˆ (n) i 0
0
T ( n) T ( n)
T (n)
uˆ (n)
0
B(t )dt
T ( n)
Let us assume that we want to carry out simulation when sixth customer enters the
service. Thus simulation will end when the sixth customer leaves the queue and enters
service. The simulation is shown on slides. At this point of time, the values of
parameters of interest are as follows:
6. SIMULATION VALIDATION
Use of a model or simulation is a surrogate for experimentation with an actual system
(existing or proposed), where experimentation with that system could be disruptive, not
cost effective, or infeasible. If the model or simulation is unable to provide valid
representations of the actual system, any conclusions derived from the model or
simulation are likely to be erroneous and may result in poor decisions being made.
Validation can be performed for all models and simulations, regardless of whether the
corresponding real-world system exists in some form or will be built in the future.
Validation should always be focused on the intended use.
Manufacturing and material handling system provide one of the most important
applications of simulation. Simulation has been used successful as an aid in the design
of new production facilities, warehouses and distribution centers. It has also been used
to evaluate suggested improvement to existing system. Analysis using simulation have
found it valuable for evaluating the impact of capital investments in equipment and
physical facility and proposed changes to material handling and layout. Managers have
found simulation useful in providing a “test drive” before making capital investments.
Manufacturing and material handling simulation need to contain the proper level detail.
The major guidelines for capturing the correct level of detail are the objectives of the
study and the questions being asked. Level of detail is constrained by the availability of
input data and the knowledge of how system components work. For new non-existent
system, data availability may be limited and system knowledge may be based on
assumptions. Models of manufacturing system may have to take into account a number
of characteristics of the system such as
Physical layout
Equipments
(i) Capacities
(ii) Breakdowns (time to failure, time to repair, Resources needed for repair)
Maintenance
(i) Preventive maintenance schedule
(ii) Time and resources required
(iii) Tooling and fixtures
Storage
(i) Supplies
(ii) Spare parts
(iii) Work-in-process (WIP)
(iv) Final goods
Models of material handling system may have to contain some of the following type of
subsystems.
Conveyors
Those who purchase and use simulation software want to gain insight and
understanding into how a new or modified system will work and ask several questions
such as will it meet throughput expectations?, what happens to response time at peak
periods?, what are the staffing requirements?, what is the system capacity?, what
conditions and loads cause a system to reach its capacity? While simulations are
expected to provide numeric measures of performance, such as throughput under a
given set of conditions, the major assistance in the communication of models
assumptions, system operations and model results is of course a rigorous analysis. For
stochastic simulation models a proper statistical analysis, is of almost importance for the
simulation analyst to draw correct conclusion from simulation output. Some common
measures of system performance include:
In some special cases of simulations where the simulation software could not
serve the purpose due to complexity nature of the problem, some general-purpose
programming languages such as JAVA, C/C++ can be used to simulate the system.
Object oriented programming (OOP) was developed specially for writing discrete-event
simulation models. The object-oriented extensions to C which become C++ were
motivated by the need to model a telephone system.
9. SUSTAINABLE MANUFACTURING
Presently, modeling and simulation is used to help a company to meet design and
production objectives and it seldom addresses sustainable manufacturing aspects.
There is very little published research where manufacturing simulation includes
environmental concerns or parameters in the modeling process. The research
addresses a narrow aspect of manufacturing sustainability and is mainly conducted
using existing simulation tools or a minor enhancement of the modeling. Current
simulation products do not typically support the modeling of environmental concerns or
impacts; e.g., energy consumption or carbon footprint, waste/hazardous materials
disposal, and pollution. The types and quantities of manufacturing waste associated
with manufacturing processes are not often a simulation consideration. Simulations
typically do not model the by-products of manufacturing, generation of effluents, or their
disposal. Information on alternative manufacturing technologies, processes, and data is
not readily available to the simulation analyst to incorporate into models. Effects of good
housekeeping on the reduction of waste and pollutants are not supported. Similarly,
regional differences in environmental safety requirements are not represented in
simulation environments. Occupational safety and health considerations may not be
accounted for in process models. Recovery, recycling, and life cycle costs (LCC) of
materials are often not addressed in design and manufacturing simulations. Simulations
usually do not deal with the usage and disposal practices of product users after sale.
These issues are not modeled today because of the way the manufacturing simulation
systems were developed and evolved. Further the metrics for sustainable
manufacturing are different than traditional manufacturing and incorporation of these
sustainable aspects into the modeling and simulation tool requires additional
programming. A metric is a simulation output measure of a process, operation, or
system that is crucial to the evaluation of alternative solutions. In the past, metrics have
focused on enhancing product quality, improving production efficiency, and/or reducing
costs. In the future, additional metrics will be required to evaluate “what-if” propositions
for sustainability. Possible sustainability metrics will measure energy consumption,
types and quantities of material used, pollution, manufacturing waste and by-products,
recycling, product reuse, worker health/safety, and other effects on the environment and
the community. A table of the traditional metrics used today and new sustainability
metrics for the future is presented in Table 1 below.
Table 1: Traditional and sustainability metrics
1. Deogratias Kibira & Charles Mclean, “Modeling And Simulation For Sustainable
Manufacturing” NIST paper
2. Law, A. M., “ Simulation Modleing and Analysis, 4 e Tata McGraw Hill, 2008.
3. Banks, J., J. S. Carson, and B. L. Nelson. 1996. Discrete-Event System
Simulation. 2d ed. Upper Saddle River,New Jersey: Prentice-Hall.
4. Lecture notes