SlideShare a Scribd company logo
1 of 14
Simulation
imitation of some real thing, or a
 Simulation is
process.
 The act of simulating something generally involves
representation of certain


key characteristics or
behaviours
of a selected physical or abstract system.
 Simulation involves the use of models to represent real
life situation.
Simulation Model
 A simulation model is a mathematical model that
calculates the impact of uncertain inputs and
decisions we make on outcomes that we care about,
such as profit and loss, investment returns, etc.
 A simulation model will include:
 Model inputs that are uncertain numbers/
uncertain variables
 Intermediate calculations as required
 Model outputs that depend on the inputs -- These
are uncertain functions
Simulation techniques
 Simulation techniques can be used to assist
management decision-making, where analytical
methods are either not available or inappropriate.
 Typical business problems where simulation could be
used to aid management decision-making are
 Inventory control.
 Queuing problems.
 Production planning.
Simulation and Queuing problems.
 A major application of simulation has been in the
analysis of waiting line, or queuing systems.
 Since the time spent by people and things waiting in
line is a valuable resource, the reduction of waiting
time is an important aspect of operations
management.
 Waiting time has also become more important
because of the increased emphasis on quality.
Customers equate quality service with quick service
and providing quick service has become an important
aspect of quality service
Queuing problems.
 For queuing systems, it is usually not possible to
develop analytical formulas, and simulation is often
the only means of analysis.
 Simulation can hence be used to investigate
problems that are common in any situation involving
customers, items or orders arriving at a given point,
and being processed in a specified order.
 For ex:
 Customers arrive in a bank and form a single queue,
which feeds a number of service desks. The arrival
rate of the customers will determine the number of
service desks to have open at any specific point in time
Components of queuing systems
 A queue system can be divided into four components
 Arrivals: Concerned with how items (people, cars etc)
arrive in the system.
 Queue or waiting line: Concerned with what happens
between the arrival of an item requiring service and the
time when service is carried out.
 Service: Concerned with the time taken to serve a
customer.
 Outlet or departure: The exit from the system.
A queuing problem involves striking a balance
between the cost of making reductions in service time
and the benefits gained from such a reduction
Structures of queuing system
 There are a number of structures of queuing systems
in practice.
 We will study only one i.e. single queue – single
service point.
 Single queue – single service point
 Queue discipline is first come – first served.
 Arrivals* are random and for simulation this
randomness must be taken into account.
 Service times** are random and for simulation this
randomness must be taken into account
successive
*Inter-arrival time: Is the time between the arrival of
customers in a queuing situation.
**Service time: Is the length of time taken to serve customers
Random Numbers
 What is the purpose of random numbers?
 There is randomness in the way customers are
likely to arrive.
 The service time in most of the cases is also
variable.
 The purpose of the random numbers is to allow
you to randomly select an arrival or service time
from the appropriate distribution.
 To account for randomness, random numbers are
used.
Random Numbers
 Such numbers can be computer generated, and are
often listed in published statistical tables.
 Here we have a set of random numbers.
89 07 37 29 28 08 75 01 21 63
34 65 11 80 34 14 92 48 83 91
52 49 98 44 80 04 42 37 87 96
 The random numbers are displaced as two-digit
numbers in the range between 00 and 99.
 Every number is equally likely to occur and there is
no pattern, and thus no way of predicting what
number will be next in the sequence.
Example Problem
 The arrival time of a customer at a retail sales depot is according to the
following distribution





Simulate the process for 10 arrivals and estimate the average waiting
time for the customer and percentage idle time for the server.
Use the following random numbers:
For IAT: 25, 19, 64, 82, 62, 74, 29, 92, 24, 23, 68, 96.
For ST: 92, 41,66,07,44,29,52,43,87,55,47,83
Assume that the shop opens at 9:00 am in the morning.
Service time
(in minutes)
Probability
3 0.3
4 0.5
5 0.1
6 0.1
Inter-arrival time
(in minutes)
Probability
3 0.1
4 0.2
5 0.5
6 0.1
7 0.1
Solution
Inter arrival time Probability
Cumulative
Probability
Basis of random allocation
3 0.1 0.1 0.0 -- 0.09
4 0.2 0.3 0.1 -- 0.29
5 0.5 0.8 0.3 -- 0.79
6 0.1 0.9 0.9 -- 0.89
7 0.1 1 0.9 -- 0.99
Service time Probability
Cumulative
Probability
Basis of random allocation
3 0.3 0.3 0.0 -- 0.29
4 0.5 0.8 0.3 -- 0.79
5 0.1 0.9 0.8 -- 0.89
6 0.1 1 0.9 -- 0.99
Calculation of Basis of random allocation
Solution
Inter arrival
time
Basis of random
allocation
3 0.0 -- 0.09
4 0.1 -- 0.29
5 0.3 -- 0.79
6 0.9 -- 0.89
7 0.9 -- 0.99
Service time
Basis of random
allocation
3 0.0 -- 0.29
4 0.3 -- 0.79
5 0.8 -- 0.89
6 0.9 -- 0.99
Customer
Random
Number
Inter arrival
time
Random
number
Service
time
Time of
arrival
Service
starts at
Service
ends at
Waiting
customer
Idle time
1 25 4 92 6 9.04 9.04 9.10 -- 4
2 19 4 41 4 9.08 9.10 9.14 2 --
3 64 5 66 4 9.13 9.14 9.18 1 --
4 82 6 07 3 9.19 9.19 9.22 -- 1
5 62 5 44 4 9.24 9.24 9.28 -- 2
9.29 9.29 9.32 -- 1
9.33 9.33 9.37 -- 1
9.40 9.40 9.44 -- 3
9.44 9.44 9.49 -- --
9.48 9.49 9.53 1 --
Total time 53 mins
Total waiting time 4 mins
Total idle time 12 mins
6 74 5 29 3
7 29 4 52 4
8 92 7 43 4
9 24 4 87 5
10 23 4 55 4
Solution
 Average waiting time per customer is
 4/10 = .4 minutes
 Percentage average for the server is
 (12/53)*100 = 22.64%
Waiting time should be as less as possible!!
Thank you! 

More Related Content

Similar to phpapp.pptx

Queuing theory
Queuing theoryQueuing theory
Queuing theoryAmit Sinha
 
4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdfubaidullah75790
 
For an infinite queuing situation
For an infinite queuing situationFor an infinite queuing situation
For an infinite queuing situationjohann11370
 
Future group iift the strategists
Future group iift the strategistsFuture group iift the strategists
Future group iift the strategistsGunjan Solanki
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsBiswajit Bhattacharjee
 
chapter11 liner model programing.pptx
chapter11 liner model programing.pptxchapter11 liner model programing.pptx
chapter11 liner model programing.pptxJAMESFRANCISGOSE
 
Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)johann11374
 
Which of the following is a total measure of productivity
Which of the following is a total measure of productivityWhich of the following is a total measure of productivity
Which of the following is a total measure of productivityjohann11373
 
Getting an autograph from a famous person might involve standing in which typ...
Getting an autograph from a famous person might involve standing in which typ...Getting an autograph from a famous person might involve standing in which typ...
Getting an autograph from a famous person might involve standing in which typ...johann11371
 
An assumption of learning curve theory is which of the following
An assumption of learning curve theory is which of the followingAn assumption of learning curve theory is which of the following
An assumption of learning curve theory is which of the followingjohann11370
 
Which of the following is a focusing step
Which of the following is a focusing stepWhich of the following is a focusing step
Which of the following is a focusing stepjohann11373
 
Process automation report
Process automation reportProcess automation report
Process automation reportMarc Gourvenec
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examplesPravesh Negi
 
A p chart to monitor process quality
A p chart to monitor process qualityA p chart to monitor process quality
A p chart to monitor process qualityjohann11369
 
In designing a lean production facility layout
In designing a lean production facility layoutIn designing a lean production facility layout
In designing a lean production facility layoutjohann11371
 
Which of the following basic types of production layout
Which of the following basic types of production layoutWhich of the following basic types of production layout
Which of the following basic types of production layoutjohann11372
 
A company must perform a maintenance project consisting
A company must perform a maintenance project consistingA company must perform a maintenance project consisting
A company must perform a maintenance project consistingjohann11369
 
An advantage of a make to-stock process is which of the following
An advantage of a make to-stock process is which of the followingAn advantage of a make to-stock process is which of the following
An advantage of a make to-stock process is which of the followingjohann11370
 
From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...johann11371
 

Similar to phpapp.pptx (20)

Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf
 
For an infinite queuing situation
For an infinite queuing situationFor an infinite queuing situation
For an infinite queuing situation
 
Future group iift the strategists
Future group iift the strategistsFuture group iift the strategists
Future group iift the strategists
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
chapter11 liner model programing.pptx
chapter11 liner model programing.pptxchapter11 liner model programing.pptx
chapter11 liner model programing.pptx
 
Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)Which of the following is an input to the master production schedule (mps)
Which of the following is an input to the master production schedule (mps)
 
Which of the following is a total measure of productivity
Which of the following is a total measure of productivityWhich of the following is a total measure of productivity
Which of the following is a total measure of productivity
 
Getting an autograph from a famous person might involve standing in which typ...
Getting an autograph from a famous person might involve standing in which typ...Getting an autograph from a famous person might involve standing in which typ...
Getting an autograph from a famous person might involve standing in which typ...
 
An assumption of learning curve theory is which of the following
An assumption of learning curve theory is which of the followingAn assumption of learning curve theory is which of the following
An assumption of learning curve theory is which of the following
 
Which of the following is a focusing step
Which of the following is a focusing stepWhich of the following is a focusing step
Which of the following is a focusing step
 
Process automation report
Process automation reportProcess automation report
Process automation report
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examples
 
A p chart to monitor process quality
A p chart to monitor process qualityA p chart to monitor process quality
A p chart to monitor process quality
 
In designing a lean production facility layout
In designing a lean production facility layoutIn designing a lean production facility layout
In designing a lean production facility layout
 
Queuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. MohiteQueuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. Mohite
 
Which of the following basic types of production layout
Which of the following basic types of production layoutWhich of the following basic types of production layout
Which of the following basic types of production layout
 
A company must perform a maintenance project consisting
A company must perform a maintenance project consistingA company must perform a maintenance project consisting
A company must perform a maintenance project consisting
 
An advantage of a make to-stock process is which of the following
An advantage of a make to-stock process is which of the followingAn advantage of a make to-stock process is which of the following
An advantage of a make to-stock process is which of the following
 
From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...From an operational perspective, yield management is most effective under whi...
From an operational perspective, yield management is most effective under whi...
 

More from TANVEERSINGHSOLANKI

More from TANVEERSINGHSOLANKI (11)

today2.pptx
 today2.pptx today2.pptx
today2.pptx
 
Metal270.pptx
Metal270.pptxMetal270.pptx
Metal270.pptx
 
machinability index.pptx
machinability index.pptxmachinability index.pptx
machinability index.pptx
 
lubrication.ppt
lubrication.pptlubrication.ppt
lubrication.ppt
 
CLIENTS ABOUT CLIENTS HOW TO DEAL WITH THEM.pptx
CLIENTS ABOUT CLIENTS HOW TO DEAL WITH THEM.pptxCLIENTS ABOUT CLIENTS HOW TO DEAL WITH THEM.pptx
CLIENTS ABOUT CLIENTS HOW TO DEAL WITH THEM.pptx
 
centrifugal compressors.pptx
centrifugal compressors.pptxcentrifugal compressors.pptx
centrifugal compressors.pptx
 
Seminar(PRESENTATION).pptx
Seminar(PRESENTATION).pptxSeminar(PRESENTATION).pptx
Seminar(PRESENTATION).pptx
 
Metal cutting operations and terminology.pptx
Metal cutting operations and terminology.pptxMetal cutting operations and terminology.pptx
Metal cutting operations and terminology.pptx
 
Simulation.ppt
Simulation.pptSimulation.ppt
Simulation.ppt
 
Metalcutting.pdf
Metalcutting.pdfMetalcutting.pdf
Metalcutting.pdf
 
Operations Research Digital Material.pdf
Operations Research Digital Material.pdfOperations Research Digital Material.pdf
Operations Research Digital Material.pdf
 

Recently uploaded

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 

Recently uploaded (20)

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 

phpapp.pptx

  • 1. Simulation imitation of some real thing, or a  Simulation is process.  The act of simulating something generally involves representation of certain   key characteristics or behaviours of a selected physical or abstract system.  Simulation involves the use of models to represent real life situation.
  • 2. Simulation Model  A simulation model is a mathematical model that calculates the impact of uncertain inputs and decisions we make on outcomes that we care about, such as profit and loss, investment returns, etc.  A simulation model will include:  Model inputs that are uncertain numbers/ uncertain variables  Intermediate calculations as required  Model outputs that depend on the inputs -- These are uncertain functions
  • 3. Simulation techniques  Simulation techniques can be used to assist management decision-making, where analytical methods are either not available or inappropriate.  Typical business problems where simulation could be used to aid management decision-making are  Inventory control.  Queuing problems.  Production planning.
  • 4. Simulation and Queuing problems.  A major application of simulation has been in the analysis of waiting line, or queuing systems.  Since the time spent by people and things waiting in line is a valuable resource, the reduction of waiting time is an important aspect of operations management.  Waiting time has also become more important because of the increased emphasis on quality. Customers equate quality service with quick service and providing quick service has become an important aspect of quality service
  • 5. Queuing problems.  For queuing systems, it is usually not possible to develop analytical formulas, and simulation is often the only means of analysis.  Simulation can hence be used to investigate problems that are common in any situation involving customers, items or orders arriving at a given point, and being processed in a specified order.  For ex:  Customers arrive in a bank and form a single queue, which feeds a number of service desks. The arrival rate of the customers will determine the number of service desks to have open at any specific point in time
  • 6. Components of queuing systems  A queue system can be divided into four components  Arrivals: Concerned with how items (people, cars etc) arrive in the system.  Queue or waiting line: Concerned with what happens between the arrival of an item requiring service and the time when service is carried out.  Service: Concerned with the time taken to serve a customer.  Outlet or departure: The exit from the system. A queuing problem involves striking a balance between the cost of making reductions in service time and the benefits gained from such a reduction
  • 7. Structures of queuing system  There are a number of structures of queuing systems in practice.  We will study only one i.e. single queue – single service point.  Single queue – single service point  Queue discipline is first come – first served.  Arrivals* are random and for simulation this randomness must be taken into account.  Service times** are random and for simulation this randomness must be taken into account successive *Inter-arrival time: Is the time between the arrival of customers in a queuing situation. **Service time: Is the length of time taken to serve customers
  • 8. Random Numbers  What is the purpose of random numbers?  There is randomness in the way customers are likely to arrive.  The service time in most of the cases is also variable.  The purpose of the random numbers is to allow you to randomly select an arrival or service time from the appropriate distribution.  To account for randomness, random numbers are used.
  • 9. Random Numbers  Such numbers can be computer generated, and are often listed in published statistical tables.  Here we have a set of random numbers. 89 07 37 29 28 08 75 01 21 63 34 65 11 80 34 14 92 48 83 91 52 49 98 44 80 04 42 37 87 96  The random numbers are displaced as two-digit numbers in the range between 00 and 99.  Every number is equally likely to occur and there is no pattern, and thus no way of predicting what number will be next in the sequence.
  • 10. Example Problem  The arrival time of a customer at a retail sales depot is according to the following distribution      Simulate the process for 10 arrivals and estimate the average waiting time for the customer and percentage idle time for the server. Use the following random numbers: For IAT: 25, 19, 64, 82, 62, 74, 29, 92, 24, 23, 68, 96. For ST: 92, 41,66,07,44,29,52,43,87,55,47,83 Assume that the shop opens at 9:00 am in the morning. Service time (in minutes) Probability 3 0.3 4 0.5 5 0.1 6 0.1 Inter-arrival time (in minutes) Probability 3 0.1 4 0.2 5 0.5 6 0.1 7 0.1
  • 11. Solution Inter arrival time Probability Cumulative Probability Basis of random allocation 3 0.1 0.1 0.0 -- 0.09 4 0.2 0.3 0.1 -- 0.29 5 0.5 0.8 0.3 -- 0.79 6 0.1 0.9 0.9 -- 0.89 7 0.1 1 0.9 -- 0.99 Service time Probability Cumulative Probability Basis of random allocation 3 0.3 0.3 0.0 -- 0.29 4 0.5 0.8 0.3 -- 0.79 5 0.1 0.9 0.8 -- 0.89 6 0.1 1 0.9 -- 0.99 Calculation of Basis of random allocation
  • 12. Solution Inter arrival time Basis of random allocation 3 0.0 -- 0.09 4 0.1 -- 0.29 5 0.3 -- 0.79 6 0.9 -- 0.89 7 0.9 -- 0.99 Service time Basis of random allocation 3 0.0 -- 0.29 4 0.3 -- 0.79 5 0.8 -- 0.89 6 0.9 -- 0.99 Customer Random Number Inter arrival time Random number Service time Time of arrival Service starts at Service ends at Waiting customer Idle time 1 25 4 92 6 9.04 9.04 9.10 -- 4 2 19 4 41 4 9.08 9.10 9.14 2 -- 3 64 5 66 4 9.13 9.14 9.18 1 -- 4 82 6 07 3 9.19 9.19 9.22 -- 1 5 62 5 44 4 9.24 9.24 9.28 -- 2 9.29 9.29 9.32 -- 1 9.33 9.33 9.37 -- 1 9.40 9.40 9.44 -- 3 9.44 9.44 9.49 -- -- 9.48 9.49 9.53 1 -- Total time 53 mins Total waiting time 4 mins Total idle time 12 mins 6 74 5 29 3 7 29 4 52 4 8 92 7 43 4 9 24 4 87 5 10 23 4 55 4
  • 13. Solution  Average waiting time per customer is  4/10 = .4 minutes  Percentage average for the server is  (12/53)*100 = 22.64%
  • 14. Waiting time should be as less as possible!! Thank you! 