SlideShare a Scribd company logo
Introduction to simulation
UNIT 1 (CHAPTER 01)
1
contents
 When simulation is the appropriate tool and when it is not appropriate
 Advantages and disadvantages of Simulation
 Areas of application
 Systems and system environment
 Components of a system
 Discrete and continuous systems
 Model of a system
 Types of Models
 Discrete-Event System Simulation
 Steps in a Simulation Study
2
What is simulation?
 Definition: It is the imitation of the operation of a real world process or system over
time.
 It involves the generation of artificial history of the system and the observation of that
artificial history to draw the inferences concerning to the characteristics of the real
system.
 The behavior of a system as it evolves over time is studied by developing simulation
model.
 Simulation modeling can be used both as an analysis tool and a design tool.
 Analysis Tool: To predict the effect of changes to the existing systems
 Design Tool: To predict the performance of new systems under varying sets of
circumstances.
3
When simulation is an appropriate tool?
 To study the internal interactions of a computer system or a subsystem within a complex
system.
 To study the informational, organizational and environmental changes which affects the
model’s behavior.
 To gain the knowledge which may help to investigate the improvement of a model
4
When simulation is an appropriate tool?
Cont’d
 Changing the simulation i/p’s and studying the o/p’s can produce a valuable insight
 Can be used as pedagogical device to reinforce analytical solution methodologies
 Can be used to experiment with new designs or policies before implementation to prepare
what might happen.
 To verify analytic solutions.
5
When simulation is an appropriate tool?
Cont’d
 Simulating different capabilities can determine the requirements on it.
 Animation shows a system in simulated operation can be visualized.
 To study the modern systems.
6
When Simulation is not appropriate?
 Should not be used when the problem can be solved with common sense
 Should not be used when the problem can be solved analytically.
 Should not be used if it is easier to perform the direct experiments.
 Not to use simulation if costs exceeds the savings.
7
When Simulation is not appropriate?
Cont’d
 Not to be performed if the resources or time are not available
 Not advised when no data available.
 If managers have unreasonable expectations or if the power of simulation is over estimated ,
simulation might not be appropriate.
 If the system behavior is too complex or can’t be defined , simulation is not appropriate.
8
Advantages of simulation
 New policies and all the different rules and regulation of real system can be explored.
 Testing of new systems without committing resources is possible.
 Hypothesis about how or why certain phenomena occur can be tested for feasibility.
 Insight can be obtained about the importance of variables to the performance of the system.
9
Advantages of simulation cont’d
 Bottleneck analysis can be performed to discover where work in process, information,
Materials and so on are being delayed excessively.
 It can help in understanding how the system operates rather than how individuals think the
system operates.
 “what if” questions can be answered to design the new systems.
10
Disadvantages of simulation
 Model building requires special training.
 Simulation results can be difficult to interpret.
 Simulation modeling and analysis can be time consuming and expensive.
 Can be used only in some cases when an analytical solution is possible or even preferable.
11
Areas of Application
 Manufacturing applications
 Wafer fabrication
 Business Process Simulation
 Construction Engineering and Project management
 Logistics, Supply chain and Distribution Applications
 Military applications
 Health Care
 Additional applications
12
System & Environment
 A system is defined as a group of objects that are joined together in some regular interaction
towards the accomplishment of some purpose
 E.g..: production system manufacturing automobiles
 A system is often affected by changes occurring outside the system, such changes are said to
occur in the system environment.
 In modelling systems, it is necessary to determine the boundary between the system and
environment
13
Components of system
 Entity: Object of interest in the system.
 Attribute: Property of an entity.
 Activity: Time period of specified length
 State: Collection of variables necessary to describe a system at any time
 Event: An instantaneous occurrence that might change the state of the system.
 Terms such as
 Endogenous: describes the activities and event occur within a system
 Exogenous: describes the activities and events in the environment that affects the system
14
examples
15
Types of systems
 Can be classified as discrete and continuous system
 Discrete system is one whose state variables change only at discrete set of points in time
 E. g. : Bank and customers
 No. of customers change only when they arrive or service to be provided has completed.
 Following figure depicts a discrete system
16
Discrete system state variable
17
Types of systems
 A continuous system is one in which the state variables change continuously over the time
 E.g. : head of water behind the time
 During excess water, they do flood control, for electricity they draw water
 Following figure depicts continuous system
18
Continuous system state variable
19
Model of a system
 A model is defined as a representation of a system for the purpose of studying the system.
 Model is nothing but simplification of the system
 Should be sufficiently detailed to permit valid conclusions to be drawn about the real system
 Different models of the same system could be required as the purpose of investigation
changes.
20
Types of models
 Models can be mathematical or physical
 A mathematical model uses symbolic notation and mathematical equations to represent a
system
 A physical model is larger or smaller version of an object such as the enlargement of atom or
scaled down version of solar system
 Simulation models can be classified as
 Static or dynamic
 Deterministic or stochastic
 Discrete or continuous
21
 Static model represents a system at a particular point in time
 Dynamic model  represents the system as they change over time
 Eg: bank simulator from 9 am to 4 pm
 Deterministic model  model that contains no random variables
 Stochastic model  model which has one or more random variables as inputs.
 Random inputs leads to random output
22
Discrete event system simulation
 State variable changes only at a discrete set of point in time
 The simulation models are analysed by numerical rather than analytical methods
 Analytical methods employ the deductive reasoning of mathematics to solve the model.
 Numerical methods employ computational procedures to solve mathematical models.
23
Steps in Simulation Study
 Initialization phase (First phase)
1. Problem Formulation
2. Setting objectives and overall project plan
 Model building (Second Phase)
3. Model Conceptualization
4. Data Collection
5. Model Translation
6. Verification
7. Validation
 Third phase
8. Experimental Design
9. Production runs and Analysis
10. More Runs?
 Documentation (Fourth phase)
11. Documentation and Reporting
12. Implementation
24
25
Problem formulation
 Every study should begin with the statement of the problem
 Problem must be clearly understood by the analyst from those who have the problem
 If the problem statement is still being developed by the analyst, it is important that the policy
makers understand and agree with the formulation.
26
Setting objectives and overall project plan
 The objectives indicate the questions to be answered by the simulation
 At this point, determination should be made concerning whether simulation is the appropriate
methodology for the problem as formulated and the objectives as stated.
 Should include the plans for the study in terms of the number of people involve, the cost of
study, number of days required to accomplish each phase of the work, along with the results
expected in each stage.
27
Model conceptualization
 It is not possible to provide a set if instructions that will lead to building successful and
appropriate models in every instance
 Hence it is good to build simple model and build towards greater complexityy
 It is not necessary to have one to one mapping between the model and real system, only
essence of real system is needed.
 Involving the model user will both enhance the quality of the resulting model and increase the
confidence of the model user in the application of the model.
28
Data collection
 There is direct relation between the construction of model and collection of the needed input
data
 As the model changes the required data elements can also change.
 Data collection takes large portion of time, hence it is necessary to begin as early as possible
29
Model translation
 Model must be entered into a computer recognizable format
 Model is converted into program to accomplish the desired result with little or no actual
coding
 If the problem is amenable to solution with simulation software, the model development is
greatly reduced.
30
Verified?
 After converting the model into program, to check whether it performs properly
 With complex models, it is difficult, if not impossible to translate the model successfully in its
entirely without a good deal of debugging
 If the input parameters and logical structure of the model are correctly represented in the
computer, verification is completed.
31
Validated?
 Achieved through calibration of the model
 An iterative process of comparing the model against the actual system behaviour and using
discrepancies between the two, the insights gained , to improve the model.
 The process is repeated until the accuracy is judged acceptable
32
Experimental design
 The alternatives that are to be simulated must be determined
 For each system design that is simulated, decisions need to be made concerning the length of
the initialization period, the length of simulation runs and the numbers of replications to be
made of each run.
33
Production runs and analysis
 Used to estimate measures of performance for the system designs that are being simulated.
34
More runs?
 After the run is completed, the analyst determines whether additional runs are needed and
what design those additional experiments should follows.
35
Documentation and reporting
 There are two types of documentation
 Program
 Progress
 Program documentation – here the program is documented well so that if same program when to
be used by another analyst, it can be easily understood hence policymakers and model users can
make decisions based on analysis very easily
 Progress documentation- written history of a simulation project
 Tells about work done and decisions made
 “It is better to work with many intermediate milestones that with one absolute deadline”
36
implementation
 The success of implementation phase depends on the previous stages
 If the model user has been involved during the entire model building process and if the model
user understands the nature of the model, its outputs, the likelihood of implementation is
enhanced.
 If the model and its underlying assumptions have not been properly communicated, then
implementation will probably suffer, regardless of simulation validity.
37
exercises
38
Example 1
 Name the several entities , attributes, events and state variables for the following systems
a) A cafeteria
b) A grocery store
c) A Laundromat
d) A fast food restaurant
e) A hospital emergency room
f) A taxicab company with 10 taxis
g) An automobile assembly line
39
solution
a) Cafeteria
40
Entities Diners (customers)
Attributes 1. Size of appetite (thurst for hunger)
2. Entree preference (choice of main course)
Activities 1. Selecting food
2. Paying for food
Events 1. Arrival at service line
2. Departure from service line
State variables 1. Number of diners in waiting line
2. Number of servers working
solution
b) Grocery store
41
Entities Shoppers
Attributes 1. Length of grocery list
Activities 1. Checking out
Events 1. Arrival of checkout counters
2. Departure from checkout counter
State variables 1. Number of shoppers in line
2. Numbers of checkout lanes in operation
solution
c) Laundromat (coin based- public washing machine)
42
Entities Washing machine
Attributes 1. Breakdown rate
Activities 1. Repairing the machine
Events 1. Occurrence of breakdown
2. Completion of service
State variables 1. Number of machine running
2. Number of machine in repair
3. Number of machine in waiting for repair
solution
d) Fast food restaurant
43
Entities Customers
Attributes 1. Size of order desired
Activities 1. Placing the order
2. Paying the order
Events 1. Arrival at the counter
2. Completion of the purchase
State variables 1. Number of customers waiting
2. Number of position operating
solution
e) A hospital emergency room
44
Entities Patients
Attributes 1. Attention level required
Activities 1. Providing the service required
Events 1. Arrival of the patients
2. Departure of the patients
State variables 1. Number of patients waiting
2. Number of doctors waiting
solution
f) A taxi cab company with 10 taxis
45
Entities Fares
Attributes 1. Origination (start location)
2. Destination (end location)
Activities 1. travelling
Events 1. Pick up of fare
2. Drop off of fare
State variables 1. Number of busy taxi cabs
2. Number of fares waiting to be picked up
solution
g) Automobile assembly line
46
Entities Robot welders
Attributes 1. Speed
2. Breakdown rate
Activities 1. Spot welding
Events 1. Breaking down
State variables 1. Availability of machines
Example 2
What are the events and activities associated
with the use of your checkbook?
47
solution
 Event
 Deposit
 Withdrawal
 Activities
 Writing a check
 Cashing a check
 Making a deposit
 Verifying the account balance
 Reconciling the checkbook with the bank statement
48
End of unit 1
THANK YOU
49

More Related Content

PDF
System simulation & modeling notes[sjbit]
PPTX
System Modeling & Simulation Introduction
PPT
Simulation Powerpoint- Lecture Notes
PDF
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
PPT
Modelling simulation (1)
PPTX
Introduction to simulation modeling
PPTX
Introduction to simulation and modeling
PPTX
The principles of simulation system design.pptx
System simulation & modeling notes[sjbit]
System Modeling & Simulation Introduction
Simulation Powerpoint- Lecture Notes
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
Modelling simulation (1)
Introduction to simulation modeling
Introduction to simulation and modeling
The principles of simulation system design.pptx

What's hot (20)

PPTX
Simulation and its application
DOCX
OR (JNTUK) III Mech Unit 8 simulation
PDF
Solutions Manual for Discrete Event System Simulation 5th Edition by Banks
PPT
Simulation
PPT
Introduction to Simulation
PPTX
Simulation concept, Advantages & Disadvantages
PPT
Total Quality Management-Performance-Measures.ppt
PPTX
Simulation, Modeling, it’s application, advantage & disadvantage
PPTX
Unit 2 monte carlo simulation
PPTX
Applications of simulation in Business with Example
PPTX
Unit 4 simulation and queing theory(m/m/1)
PPT
Chp. 2 simulation examples
PDF
SE_Lec 05_System Modelling and Context Model
PPTX
Simulation & Modelling
PPTX
Unit 9 implementing the reliability strategy
PPTX
Assembly line balancing
PPTX
Availability and reliability
PDF
Kroger Store Simulation Using Arena
PPT
Introduction to simulation
PPTX
Ch21 real time software engineering
Simulation and its application
OR (JNTUK) III Mech Unit 8 simulation
Solutions Manual for Discrete Event System Simulation 5th Edition by Banks
Simulation
Introduction to Simulation
Simulation concept, Advantages & Disadvantages
Total Quality Management-Performance-Measures.ppt
Simulation, Modeling, it’s application, advantage & disadvantage
Unit 2 monte carlo simulation
Applications of simulation in Business with Example
Unit 4 simulation and queing theory(m/m/1)
Chp. 2 simulation examples
SE_Lec 05_System Modelling and Context Model
Simulation & Modelling
Unit 9 implementing the reliability strategy
Assembly line balancing
Availability and reliability
Kroger Store Simulation Using Arena
Introduction to simulation
Ch21 real time software engineering
Ad

Viewers also liked (20)

PDF
Mourão Moura - input2012
PDF
Simulation Technology Challenges
PDF
Introduction to Simulation- Predictive Analytics
PDF
The use of 3D simulation technology to improve health and safety performance ...
PPT
02 20110314-simulation
PPTX
An Introduction to Simulation in the Social Sciences
PPT
Future Of Simulation In Healthcare Education
PDF
Esri CityEngine
PDF
Simulation technology, speed up your iterative process (by Jan Buytaert)
PPT
Smell Simulation...A technology that can smell
PDF
Dashboard Business Simulation Deck
PDF
PPS
Parallel Simulation of Urban Dynamics on the GPU Ivan Blečić, Arnaldo Cecchi...
PPTX
Spatial Microsimulation for City Modelling, Social Forecasting and Urban Poli...
PPTX
Simulation of urban mobility (sumo) prest
PPT
Leonardo Marques Monteiro - New Methods in Urban Simulation
PDF
A collaborative environment for urban landscape simulation
PDF
Mobile CDS - mmW / LTE Simulator - Mobile CAD
PPTX
SIMULATION
Mourão Moura - input2012
Simulation Technology Challenges
Introduction to Simulation- Predictive Analytics
The use of 3D simulation technology to improve health and safety performance ...
02 20110314-simulation
An Introduction to Simulation in the Social Sciences
Future Of Simulation In Healthcare Education
Esri CityEngine
Simulation technology, speed up your iterative process (by Jan Buytaert)
Smell Simulation...A technology that can smell
Dashboard Business Simulation Deck
Parallel Simulation of Urban Dynamics on the GPU Ivan Blečić, Arnaldo Cecchi...
Spatial Microsimulation for City Modelling, Social Forecasting and Urban Poli...
Simulation of urban mobility (sumo) prest
Leonardo Marques Monteiro - New Methods in Urban Simulation
A collaborative environment for urban landscape simulation
Mobile CDS - mmW / LTE Simulator - Mobile CAD
SIMULATION
Ad

Similar to Unit 1 introduction (20)

PDF
Introduction to simulation.pdf
PDF
SIMULATION.pdf
PPT
Discreate Event Simulation_PPT1-R0.ppt
PPTX
Unit 1 introduction to simulation
PPTX
Unit 6 Simulation.pptx
PPTX
Simulation and modeling introduction.pptx
PPTX
System Simulation and Modelling with types and Event Scheduling
PPT
Unit-1 Mod-Sim.ppt
PPTX
Lecture 1 of system simulation and modulation.pptx
DOCX
Modeling & simulation in projects
DOCX
MODELING & SIMULATION.docx
PDF
1-introduction-to-simulation-ioenotes.pdf
PPT
Simulation
PPTX
Simulation-System Modeling and Simulation
PPTX
Simulation and Modelling Reading Notes.pptx
PPTX
Proman
PPT
Lecture 2 of system simulation and modulation.ppt
PDF
Introduction to modeling_and_simulation
PDF
Introduction to modeling_and_simulation
PPT
cs1538.ppt
Introduction to simulation.pdf
SIMULATION.pdf
Discreate Event Simulation_PPT1-R0.ppt
Unit 1 introduction to simulation
Unit 6 Simulation.pptx
Simulation and modeling introduction.pptx
System Simulation and Modelling with types and Event Scheduling
Unit-1 Mod-Sim.ppt
Lecture 1 of system simulation and modulation.pptx
Modeling & simulation in projects
MODELING & SIMULATION.docx
1-introduction-to-simulation-ioenotes.pdf
Simulation
Simulation-System Modeling and Simulation
Simulation and Modelling Reading Notes.pptx
Proman
Lecture 2 of system simulation and modulation.ppt
Introduction to modeling_and_simulation
Introduction to modeling_and_simulation
cs1538.ppt

More from raksharao (20)

PPTX
Unit 1-logic
PPTX
Unit 1 rules of inference
PPTX
Unit 1 quantifiers
PPTX
Unit 1 introduction to proofs
PPTX
Unit 7 verification & validation
PPTX
Unit 6 input modeling problems
PPTX
Unit 6 input modeling
PPTX
Unit 5 general principles, simulation software
PPTX
Unit 5 general principles, simulation software problems
PPTX
Unit 4 queuing models
PPTX
Unit 4 queuing models problems
PPTX
Unit 3 random number generation, random-variate generation
PPTX
Unit 1 introduction contd
PDF
Module1 part2
PDF
Module1 Mobile Computing Architecture
PPTX
java-Unit4 chap2- awt controls and layout managers of applet
PPTX
java Unit4 chapter1 applets
PPTX
Chap3 multi threaded programming
PPTX
Java-Unit 3- Chap2 exception handling
PPTX
FIT-Unit3 chapter2- Computer Languages
Unit 1-logic
Unit 1 rules of inference
Unit 1 quantifiers
Unit 1 introduction to proofs
Unit 7 verification & validation
Unit 6 input modeling problems
Unit 6 input modeling
Unit 5 general principles, simulation software
Unit 5 general principles, simulation software problems
Unit 4 queuing models
Unit 4 queuing models problems
Unit 3 random number generation, random-variate generation
Unit 1 introduction contd
Module1 part2
Module1 Mobile Computing Architecture
java-Unit4 chap2- awt controls and layout managers of applet
java Unit4 chapter1 applets
Chap3 multi threaded programming
Java-Unit 3- Chap2 exception handling
FIT-Unit3 chapter2- Computer Languages

Recently uploaded (20)

PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
DOCX
573137875-Attendance-Management-System-original
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Welding lecture in detail for understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
OOP with Java - Java Introduction (Basics)
PDF
PPT on Performance Review to get promotions
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
web development for engineering and engineering
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
Construction Project Organization Group 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
573137875-Attendance-Management-System-original
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CH1 Production IntroductoryConcepts.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Welding lecture in detail for understanding
Model Code of Practice - Construction Work - 21102022 .pdf
Lecture Notes Electrical Wiring System Components
OOP with Java - Java Introduction (Basics)
PPT on Performance Review to get promotions
bas. eng. economics group 4 presentation 1.pptx
Arduino robotics embedded978-1-4302-3184-4.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Lesson 3_Tessellation.pptx finite Mathematics
Foundation to blockchain - A guide to Blockchain Tech
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
web development for engineering and engineering
Structs to JSON How Go Powers REST APIs.pdf
Construction Project Organization Group 2.pptx

Unit 1 introduction

  • 2. contents  When simulation is the appropriate tool and when it is not appropriate  Advantages and disadvantages of Simulation  Areas of application  Systems and system environment  Components of a system  Discrete and continuous systems  Model of a system  Types of Models  Discrete-Event System Simulation  Steps in a Simulation Study 2
  • 3. What is simulation?  Definition: It is the imitation of the operation of a real world process or system over time.  It involves the generation of artificial history of the system and the observation of that artificial history to draw the inferences concerning to the characteristics of the real system.  The behavior of a system as it evolves over time is studied by developing simulation model.  Simulation modeling can be used both as an analysis tool and a design tool.  Analysis Tool: To predict the effect of changes to the existing systems  Design Tool: To predict the performance of new systems under varying sets of circumstances. 3
  • 4. When simulation is an appropriate tool?  To study the internal interactions of a computer system or a subsystem within a complex system.  To study the informational, organizational and environmental changes which affects the model’s behavior.  To gain the knowledge which may help to investigate the improvement of a model 4
  • 5. When simulation is an appropriate tool? Cont’d  Changing the simulation i/p’s and studying the o/p’s can produce a valuable insight  Can be used as pedagogical device to reinforce analytical solution methodologies  Can be used to experiment with new designs or policies before implementation to prepare what might happen.  To verify analytic solutions. 5
  • 6. When simulation is an appropriate tool? Cont’d  Simulating different capabilities can determine the requirements on it.  Animation shows a system in simulated operation can be visualized.  To study the modern systems. 6
  • 7. When Simulation is not appropriate?  Should not be used when the problem can be solved with common sense  Should not be used when the problem can be solved analytically.  Should not be used if it is easier to perform the direct experiments.  Not to use simulation if costs exceeds the savings. 7
  • 8. When Simulation is not appropriate? Cont’d  Not to be performed if the resources or time are not available  Not advised when no data available.  If managers have unreasonable expectations or if the power of simulation is over estimated , simulation might not be appropriate.  If the system behavior is too complex or can’t be defined , simulation is not appropriate. 8
  • 9. Advantages of simulation  New policies and all the different rules and regulation of real system can be explored.  Testing of new systems without committing resources is possible.  Hypothesis about how or why certain phenomena occur can be tested for feasibility.  Insight can be obtained about the importance of variables to the performance of the system. 9
  • 10. Advantages of simulation cont’d  Bottleneck analysis can be performed to discover where work in process, information, Materials and so on are being delayed excessively.  It can help in understanding how the system operates rather than how individuals think the system operates.  “what if” questions can be answered to design the new systems. 10
  • 11. Disadvantages of simulation  Model building requires special training.  Simulation results can be difficult to interpret.  Simulation modeling and analysis can be time consuming and expensive.  Can be used only in some cases when an analytical solution is possible or even preferable. 11
  • 12. Areas of Application  Manufacturing applications  Wafer fabrication  Business Process Simulation  Construction Engineering and Project management  Logistics, Supply chain and Distribution Applications  Military applications  Health Care  Additional applications 12
  • 13. System & Environment  A system is defined as a group of objects that are joined together in some regular interaction towards the accomplishment of some purpose  E.g..: production system manufacturing automobiles  A system is often affected by changes occurring outside the system, such changes are said to occur in the system environment.  In modelling systems, it is necessary to determine the boundary between the system and environment 13
  • 14. Components of system  Entity: Object of interest in the system.  Attribute: Property of an entity.  Activity: Time period of specified length  State: Collection of variables necessary to describe a system at any time  Event: An instantaneous occurrence that might change the state of the system.  Terms such as  Endogenous: describes the activities and event occur within a system  Exogenous: describes the activities and events in the environment that affects the system 14
  • 16. Types of systems  Can be classified as discrete and continuous system  Discrete system is one whose state variables change only at discrete set of points in time  E. g. : Bank and customers  No. of customers change only when they arrive or service to be provided has completed.  Following figure depicts a discrete system 16
  • 17. Discrete system state variable 17
  • 18. Types of systems  A continuous system is one in which the state variables change continuously over the time  E.g. : head of water behind the time  During excess water, they do flood control, for electricity they draw water  Following figure depicts continuous system 18
  • 19. Continuous system state variable 19
  • 20. Model of a system  A model is defined as a representation of a system for the purpose of studying the system.  Model is nothing but simplification of the system  Should be sufficiently detailed to permit valid conclusions to be drawn about the real system  Different models of the same system could be required as the purpose of investigation changes. 20
  • 21. Types of models  Models can be mathematical or physical  A mathematical model uses symbolic notation and mathematical equations to represent a system  A physical model is larger or smaller version of an object such as the enlargement of atom or scaled down version of solar system  Simulation models can be classified as  Static or dynamic  Deterministic or stochastic  Discrete or continuous 21
  • 22.  Static model represents a system at a particular point in time  Dynamic model  represents the system as they change over time  Eg: bank simulator from 9 am to 4 pm  Deterministic model  model that contains no random variables  Stochastic model  model which has one or more random variables as inputs.  Random inputs leads to random output 22
  • 23. Discrete event system simulation  State variable changes only at a discrete set of point in time  The simulation models are analysed by numerical rather than analytical methods  Analytical methods employ the deductive reasoning of mathematics to solve the model.  Numerical methods employ computational procedures to solve mathematical models. 23
  • 24. Steps in Simulation Study  Initialization phase (First phase) 1. Problem Formulation 2. Setting objectives and overall project plan  Model building (Second Phase) 3. Model Conceptualization 4. Data Collection 5. Model Translation 6. Verification 7. Validation  Third phase 8. Experimental Design 9. Production runs and Analysis 10. More Runs?  Documentation (Fourth phase) 11. Documentation and Reporting 12. Implementation 24
  • 25. 25
  • 26. Problem formulation  Every study should begin with the statement of the problem  Problem must be clearly understood by the analyst from those who have the problem  If the problem statement is still being developed by the analyst, it is important that the policy makers understand and agree with the formulation. 26
  • 27. Setting objectives and overall project plan  The objectives indicate the questions to be answered by the simulation  At this point, determination should be made concerning whether simulation is the appropriate methodology for the problem as formulated and the objectives as stated.  Should include the plans for the study in terms of the number of people involve, the cost of study, number of days required to accomplish each phase of the work, along with the results expected in each stage. 27
  • 28. Model conceptualization  It is not possible to provide a set if instructions that will lead to building successful and appropriate models in every instance  Hence it is good to build simple model and build towards greater complexityy  It is not necessary to have one to one mapping between the model and real system, only essence of real system is needed.  Involving the model user will both enhance the quality of the resulting model and increase the confidence of the model user in the application of the model. 28
  • 29. Data collection  There is direct relation between the construction of model and collection of the needed input data  As the model changes the required data elements can also change.  Data collection takes large portion of time, hence it is necessary to begin as early as possible 29
  • 30. Model translation  Model must be entered into a computer recognizable format  Model is converted into program to accomplish the desired result with little or no actual coding  If the problem is amenable to solution with simulation software, the model development is greatly reduced. 30
  • 31. Verified?  After converting the model into program, to check whether it performs properly  With complex models, it is difficult, if not impossible to translate the model successfully in its entirely without a good deal of debugging  If the input parameters and logical structure of the model are correctly represented in the computer, verification is completed. 31
  • 32. Validated?  Achieved through calibration of the model  An iterative process of comparing the model against the actual system behaviour and using discrepancies between the two, the insights gained , to improve the model.  The process is repeated until the accuracy is judged acceptable 32
  • 33. Experimental design  The alternatives that are to be simulated must be determined  For each system design that is simulated, decisions need to be made concerning the length of the initialization period, the length of simulation runs and the numbers of replications to be made of each run. 33
  • 34. Production runs and analysis  Used to estimate measures of performance for the system designs that are being simulated. 34
  • 35. More runs?  After the run is completed, the analyst determines whether additional runs are needed and what design those additional experiments should follows. 35
  • 36. Documentation and reporting  There are two types of documentation  Program  Progress  Program documentation – here the program is documented well so that if same program when to be used by another analyst, it can be easily understood hence policymakers and model users can make decisions based on analysis very easily  Progress documentation- written history of a simulation project  Tells about work done and decisions made  “It is better to work with many intermediate milestones that with one absolute deadline” 36
  • 37. implementation  The success of implementation phase depends on the previous stages  If the model user has been involved during the entire model building process and if the model user understands the nature of the model, its outputs, the likelihood of implementation is enhanced.  If the model and its underlying assumptions have not been properly communicated, then implementation will probably suffer, regardless of simulation validity. 37
  • 39. Example 1  Name the several entities , attributes, events and state variables for the following systems a) A cafeteria b) A grocery store c) A Laundromat d) A fast food restaurant e) A hospital emergency room f) A taxicab company with 10 taxis g) An automobile assembly line 39
  • 40. solution a) Cafeteria 40 Entities Diners (customers) Attributes 1. Size of appetite (thurst for hunger) 2. Entree preference (choice of main course) Activities 1. Selecting food 2. Paying for food Events 1. Arrival at service line 2. Departure from service line State variables 1. Number of diners in waiting line 2. Number of servers working
  • 41. solution b) Grocery store 41 Entities Shoppers Attributes 1. Length of grocery list Activities 1. Checking out Events 1. Arrival of checkout counters 2. Departure from checkout counter State variables 1. Number of shoppers in line 2. Numbers of checkout lanes in operation
  • 42. solution c) Laundromat (coin based- public washing machine) 42 Entities Washing machine Attributes 1. Breakdown rate Activities 1. Repairing the machine Events 1. Occurrence of breakdown 2. Completion of service State variables 1. Number of machine running 2. Number of machine in repair 3. Number of machine in waiting for repair
  • 43. solution d) Fast food restaurant 43 Entities Customers Attributes 1. Size of order desired Activities 1. Placing the order 2. Paying the order Events 1. Arrival at the counter 2. Completion of the purchase State variables 1. Number of customers waiting 2. Number of position operating
  • 44. solution e) A hospital emergency room 44 Entities Patients Attributes 1. Attention level required Activities 1. Providing the service required Events 1. Arrival of the patients 2. Departure of the patients State variables 1. Number of patients waiting 2. Number of doctors waiting
  • 45. solution f) A taxi cab company with 10 taxis 45 Entities Fares Attributes 1. Origination (start location) 2. Destination (end location) Activities 1. travelling Events 1. Pick up of fare 2. Drop off of fare State variables 1. Number of busy taxi cabs 2. Number of fares waiting to be picked up
  • 46. solution g) Automobile assembly line 46 Entities Robot welders Attributes 1. Speed 2. Breakdown rate Activities 1. Spot welding Events 1. Breaking down State variables 1. Availability of machines
  • 47. Example 2 What are the events and activities associated with the use of your checkbook? 47
  • 48. solution  Event  Deposit  Withdrawal  Activities  Writing a check  Cashing a check  Making a deposit  Verifying the account balance  Reconciling the checkbook with the bank statement 48
  • 49. End of unit 1 THANK YOU 49