Documente Academic
Documente Profesional
Documente Cultură
DISCRETE EVENT SIMULATION In this lecture we learn how to gather and analyze data to be
used in the model by answering these questions:
What is simulation?
Introduction Methods of simulation
Lecture Note
Why simulate?
How to Simulate?
• The aim of Monte Carlo Simulation is to model risk in an environment where the
Simulation Methods
Monte Carlo outcome is subject to chance
• The world is conceived as a set of distributions representing variables that
An imitation (on a computer) of a system as it progress Simulation describe the source of chance
through time • The distributions are combined in some way to determine the outcome
(The term simulation is mostly used • System dynamics is a continuous simulation approach that represents the world as a
in the context of dynamic simulation)
set of stocks and flows
System • Stocks are accumulations (e.g. of items, people, money) and flows adjust the level of
a stock with inflows increasing the stock and outflows reducing it
Experimentation with a simplified imitation (on a Dynamics • Stock change continuously in response to the balance of the inflows and outflows
computer) of an operations system as it progress through from the stock; hence the need to model time continuously
time, for the purpose of better understanding and/or • System dynamics particularly focuses on modelling information feedback in a system
improving that system • The origins of agent based simulation lie in the desire to study complex systems
(These four aspects (operations systems, purpose, simplification, and Agent Based and their emergent behaviors
experimentation) are now added to the previous definition) • The basic idea is to model system form the bottom-up as a set of agents, with
Simulation individual behaviours, that interact over time
• The aim of modelling systems in this way is to observe the behaviours, patterns and
(Robinson, 2014) structures that emerge
Discrete Event Simulation/SEW/2018/#01 7 Discrete Event Simulation/SEW/2018/#01 8
Teknik Industri – ITS Teknik Industri – ITS
Why Simulate: Three Perspectives The Nature of Operations Systems (1)
INTERCONNEDTED
COMPLEX
VARIABILITY
The disadvantages of • Many operation
simulation are discussed, on systems are also
complex
The need to use the grounds that it is • Operations systems
simulation because important to be cognizant of • Combinatorial
are also inter- complexity is
of the nature of these when determining
connected related to the
operations system whether or not to use the number of
is discussed approach • Components of the components in a
• Many operations system or the
system do not
systems are subject number of
work in isolation, combinations of
to variability system
but affect one
• This might be another components that
are possible
The advantages of predictable
• A chance in one • Dynamic
simulation over other variations complexity is
part of a system
approaches to • It might also be leads to a change arises from the
understanding and interaction of
variations that ar in another part of components in a
improving a system are
unpredictable the system system over time
described
The Nature of Operations Systems (2) The Nature of Operations Systems (3)
Example Example
Customer Customer
arrivals Service 1 Service 2 Service 3 arrivals Service 1 Service 2 Service 3
10 mins 10 mins
Interconnected Variability
2 interconnections
Customer
arrivals Service 1 Service 2 Service 3
10 mins 6 interconnections
9 mins 9 mins 9 mins
Interconnected
12 interconnections
20 interconnections
4 interconnections
Job shop systems: interconnections and combinatorial complexity
Discrete Event Simulation/SEW/2018/#01 13 Discrete Event Simulation/SEW/2018/#01 14
Teknik Industri – ITS Teknik Industri – ITS
experiment
Develop a
4. Drawing conclusions about the Simulation model
validity of the hypothesis
Run simulation experiment
Hypothesis No
correct?
Yes
End
Initial models were programmed in FORTRAN –often Popularity of computer simulation can be attributed to the
consisted of thousands of lines of code following:
Increased awareness and understanding of simulation
Took a year or more to build and debug technology
Ran in batch mode on expensive mainframe computers Increased availability, capability, and ease of use of simulation
software
Used a commercial software since 1960 Increased computer memory and processing speeds, especially
Gained popularity as a decision-making tool in of PC’s
manufacturing and service industries in the last two Declining computer hardware and software costs
decades
Not all system problems could be solved with the aid of Simulation is appropriate if the following criteria hold true:
simulation – An operational (logical or quantitative) decision is being made
It is important to select the right tool for the task – The process being analyzed is well defined and repetitive
Can be used to study simple models but should not use it if – The activities and events are interdependent and variable
an analytical solution is available – The cost impact of the decision is greater the cost of doing the
simulation
Real power of simulation is in studying complex models
– The cost to experiment on the actual system is greater than the
Simulation can tolerate complex models since we don’t cost of simulation
even aspire to an analytical solution