SlideShare a Scribd company logo
Problems of queueing model
• Simulation examples
• Single channel queue example
• Able-baker example
• Inventory system
Able baker problem
• In this model,
• There are two servers. Able and baker
• Able server does the job better than the Baker server
• Baker gets the customer when the able server is busy
• When both the servers are idle, able server gets the
customer
Example 1
• Simulate the able-baker problem for 10 customers given that the
interarrival distribution and service time distribution is as given
below.
• Calculate the following
• Average waiting time
• Average service time of able and baker server
• Consider the following random numbers for
• Arrival time : 26, 98, 90, 26, 42, 74, 80, 68, 22
• Service time : 95, 21, 51, 92, 89, 38, 13, 61, 50, 49
Inter arrival time Probability
1 0.25
2 0.40
3 0.20
4 0.15
Service time-able Probability
2 0.30
3 0.28
4 0.25
5 0.17
Service time-Baker Probability
3 0.35
4 0.25
5 0.20
6 0.20
Example 2
• Simulate the able-baker problem for 10 customers given that the
interarrival distribution and service time distribution is as given below.
• Calculate the following
• Average waiting time
• Average service time of able and baker server
• Average time customer spends in the system
• Average time between arrivals
• Consider the following random numbers for
• Arrival time : 9, 60, 73, 35, 88, 10, 21, 49, 53
• Service time :32, 94, 79, 5, 75, 84, 57, 55, 30, 50
Inter arrival time Probability
1 0.35
2 0.10
3 0.15
4 0.40
Service time-able Probability
2 0.4
3 0.1
4 0.3
5 0.2
Service time-Baker Probability
3 0.35
4 0.20
5 0.25
6 0.20
Simulation of inventory system
• Inventory system has a periodic review of length N at which
time the inventory level is checked.
• An order is made to bring the inventory up to level M
• At the end of review period an order of quantity Q is placed.
• Demands are not known usually, so order quantities are
probabilities.
• Demands are not usually uniform and do fluctuate over time
Example 1
• A paper seller buys the paper for Rs 4 each and sells them for Rs 6 each,
the newspaper not sold at the end of day are sold as scrap for 0.5 each.
There are three types of days “good, fair, poor” with probabilities 0.4,
0.35, 0.25 respectively. Develop a simulation table for purchase of 70
newspapers and demand for 10 days. Calculate the total profit.
• Given that random numbers for types of news days are 94, 77, 49, 45 ,
43, 37, 49, 0, 16, 24 and for demand are 80, 20, 15, 88, 98, 65, 86, 73,
24, 60. instead of 70 papers ,if 80 papers is purchased will it be more
profitable?
• Profit=revenue of sales- cost of newspaper-lost profit from excess
demand + salary of sales of scrap paper
• Distribution of newspaper demand is as follows
Demand Good probability Fair probability Poor probability
40 0.03 0.10 0.44
50 0.05 0.18 0.22
60 0.15 0.40 0.16
70 0.20 0.20 0.12
80 0.35 0.08 0.06
90 0.15 0.04 0.00
100 0.07 0.00 0.00
Example 2
• A baker bakes 30 dozens of bread each day. The probability
distribution of customers in table 1. customers order 1,2,3 or 4
dozens of bread loafs according to distribution given below in
table 2. assume that each day all the customers order the same
dozens of bread loafs. The selling price is rs 5.40 per dozen and
making price is rs 3.80 per dozen. The left over bread loafs will be
sold for half price at profit of baker. Instead of 30 dozens , if 40
dozens are baked per day will it be more profitable?
• Random digits are
• Customers : 50, 61, 73, 24, 96
• Dozens : 5,3,7,0,8
Table 1
Number of customers per day Probability
8 0.35
10 0.30
12 0.25
14 0.10
Table 2
Number of dozens/customers Probability
1 0.4
2 0.3
3 0.2
4 0.1
Example 3
• Dr XYZ is dentist who schedules all patients for 30 min
appointments. Some of the patients take more or less than
30 min. depending upon type of dental work to be done. The
following table shows the various category of work,
probability and time required to complete the work
• Simulate the dental clinic for 3 hours and determine the
following
• Average waiting time
• Total idle time of the doctor
• Assume that patients show up at clinic at exactly at their
scheduled time starting from 8.0 am. Use the following
random numbers for handling the above problem
• 40, 82, 11 , 34, 25, 66
Categories Probability Time required
Filling 0.40 45
Crown 0.15 60
Cleaning 0.15 15
Extraction 0.10 45
Check up 0.20 15
Lead time inventory system
Example 1
• Suppose that the maximum inventory level M is equal to 11
units and review period N in equal to 5 days.
• The problem is to estimate the average ending units in the
inventory and number of days where shortage occurs for the
problem lead time in random variable. Assume that the
orders placed at the close of the business and received for
the inventory at the beginning depending on the lead time.
For this problem we begin inventory with 3 items and
assume that the first order of 8 items arrive at third day
morning
• Order quantity=order up to level-ending inventory +
shortage quantity
• Consider the following random numbers for different cycles
• For lead time : 5, 0, 3,4,8
Cycle Random digits
1 24, 35, 65, 81, 54
2 3, 87, 27, 73, 70
3 47, 45, 48, 17, 09
4 42,87, 26, 36, 40
5 7, 63, 19, 88, 94
Random digit demands Probability
0 0.10
1 0.25
2 0.35
3 0.21
4 0.09
Random digit lead time Probability
1 0.6
2 0.3
3 0.1
Example 2
• Demand for widgets follows the following probability
distribution
• Stock is examined every 7 days (the plant is in operation
every day) and if the stock level has reached 6 units or less
an order for 10 widgets is placed. The lead time is
probabilistic and follows the following distribution
Demand 0 1 2 3 4
Probability 0.33 0.25 0.20 0.12 0.10
• When the simulation begins 12 widgets are on hand and number of
orders have back ordered (back ordering is allowed)
• Simulate the operation of this system for 6 weeks. For lead time ,
random numbers are 3, 1, 1, 4, 0, 4
• The random numbers for the simulation is
Lead time 0 1 2
Probability 0.3 0.5 0.2
Cycle Random digits
1 94, 87, 63, 66, 30, 69, 37
2 01,66,51, 92, 36, 47, 80
3 94, 31,07, 09, 19, 29,29
4 94,87, 85, 66, 78, 94, 56
5 67, 07, 43, 36, 03, 46,16
6 74, 82, 31, 17, 00, 08, 85
Example 3
• The number of fridge ordered each day is randomly
distributed as shown below
• The distribution of lead time is given below
Demand 0 1 2 3 4
Probability 0.10 0.25 0.35 0.21 0.09
Lead time 1 2 3
Probability 0.6 0.3 0.1
• Assume that the orders are placed at the end of 5th day of
each cycle. The simulation begins with inventory level at 3
refrigerators and an order of 8 refrigerators to arrive is 2
days. Simulate this for 5 cycles according up to level
inventory system . Assume that order up to level is (m) is 11
End of unit 4
Thank you 
Ad

More Related Content

What's hot (20)

Job sequencing with deadline
Job sequencing with deadlineJob sequencing with deadline
Job sequencing with deadline
Arafat Hossan
 
Chap2 slides
Chap2 slidesChap2 slides
Chap2 slides
BaliThorat1
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
itsvineeth209
 
Random Number Generation
Random Number GenerationRandom Number Generation
Random Number Generation
Kishoj Bajracharya
 
Frame buffer
Frame bufferFrame buffer
Frame buffer
Aparna Joshi
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX
 
Lecture28 tsp
Lecture28 tspLecture28 tsp
Lecture28 tsp
Dr Sandeep Kumar Poonia
 
Output analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial BiasOutput analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial Bias
Tilakpoudel2
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
De La Salle University-Manila
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
KULDEEP MATHUR
 
Midsquare method- simulation system
Midsquare method- simulation systemMidsquare method- simulation system
Midsquare method- simulation system
Arman Hossain
 
Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)
Vrinda Sheela
 
Inter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.pptInter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.ppt
NitihyaAshwinC
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
University of Potsdam
 
Page replacement algorithms
Page replacement algorithmsPage replacement algorithms
Page replacement algorithms
Piyush Rochwani
 
Scheduling Definition, objectives and types
Scheduling Definition, objectives and types Scheduling Definition, objectives and types
Scheduling Definition, objectives and types
Maitree Patel
 
Bezeir curve na B spline Curve
Bezeir curve na B spline CurveBezeir curve na B spline Curve
Bezeir curve na B spline Curve
Pooja Dixit
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
swapnac12
 
Job sequencing with deadline
Job sequencing with deadlineJob sequencing with deadline
Job sequencing with deadline
Arafat Hossan
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
itsvineeth209
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX
 
Output analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial BiasOutput analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial Bias
Tilakpoudel2
 
Midsquare method- simulation system
Midsquare method- simulation systemMidsquare method- simulation system
Midsquare method- simulation system
Arman Hossain
 
Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)Job sequencing with deadlines(with example)
Job sequencing with deadlines(with example)
Vrinda Sheela
 
Inter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.pptInter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.ppt
NitihyaAshwinC
 
Page replacement algorithms
Page replacement algorithmsPage replacement algorithms
Page replacement algorithms
Piyush Rochwani
 
Scheduling Definition, objectives and types
Scheduling Definition, objectives and types Scheduling Definition, objectives and types
Scheduling Definition, objectives and types
Maitree Patel
 
Bezeir curve na B spline Curve
Bezeir curve na B spline CurveBezeir curve na B spline Curve
Bezeir curve na B spline Curve
Pooja Dixit
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
swapnac12
 

Viewers also liked (20)

Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examples
Pravesh Negi
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniques
mailrenuka
 
Simulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture NotesSimulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture Notes
Kesavartinii Bala Krisnain
 
Prueba
PruebaPrueba
Prueba
guest53268
 
Penny Fab Example Simulation
Penny Fab Example SimulationPenny Fab Example Simulation
Penny Fab Example Simulation
Jesse Uitto
 
Qarajeet
QarajeetQarajeet
Qarajeet
Äjeet Rathore
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
raksharao
 
Assembly Line Balancing | Case Study
Assembly Line Balancing | Case StudyAssembly Line Balancing | Case Study
Assembly Line Balancing | Case Study
Md Abu Bakar Siddique
 
Operations Management : Line Balancing
Operations Management : Line BalancingOperations Management : Line Balancing
Operations Management : Line Balancing
Rohan Bharaj
 
Simulation & Modelling
Simulation & ModellingSimulation & Modelling
Simulation & Modelling
Saneem Nazim
 
Queuing model
Queuing model Queuing model
Queuing model
goyalrama
 
Line balancing
Line balancingLine balancing
Line balancing
George Cherian
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Amit Sinha
 
Assembly Line Balancing -Example
Assembly Line Balancing -ExampleAssembly Line Balancing -Example
Assembly Line Balancing -Example
Joseph Konnully
 
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
Manmohan Anand
 
SIMULATION
SIMULATIONSIMULATION
SIMULATION
Eminent Planners
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
avtarsingh
 
Validity and Reliability
Validity and ReliabilityValidity and Reliability
Validity and Reliability
Maury Martinez
 
Validity, reliability & practicality
Validity, reliability & practicalityValidity, reliability & practicality
Validity, reliability & practicality
Samcruz5
 
Quantitative Techniques
Quantitative TechniquesQuantitative Techniques
Quantitative Techniques
Deepthy Sai Manikandan
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examples
Pravesh Negi
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniques
mailrenuka
 
Penny Fab Example Simulation
Penny Fab Example SimulationPenny Fab Example Simulation
Penny Fab Example Simulation
Jesse Uitto
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
raksharao
 
Assembly Line Balancing | Case Study
Assembly Line Balancing | Case StudyAssembly Line Balancing | Case Study
Assembly Line Balancing | Case Study
Md Abu Bakar Siddique
 
Operations Management : Line Balancing
Operations Management : Line BalancingOperations Management : Line Balancing
Operations Management : Line Balancing
Rohan Bharaj
 
Simulation & Modelling
Simulation & ModellingSimulation & Modelling
Simulation & Modelling
Saneem Nazim
 
Queuing model
Queuing model Queuing model
Queuing model
goyalrama
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Amit Sinha
 
Assembly Line Balancing -Example
Assembly Line Balancing -ExampleAssembly Line Balancing -Example
Assembly Line Balancing -Example
Joseph Konnully
 
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
Manmohan Anand
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
avtarsingh
 
Validity and Reliability
Validity and ReliabilityValidity and Reliability
Validity and Reliability
Maury Martinez
 
Validity, reliability & practicality
Validity, reliability & practicalityValidity, reliability & practicality
Validity, reliability & practicality
Samcruz5
 
Ad

Similar to Unit 4 queuing models problems (16)

Mod fpp
Mod fppMod fpp
Mod fpp
Taliya Hemanth
 
Unit 2 monte carlo simulation
Unit 2 monte carlo simulationUnit 2 monte carlo simulation
Unit 2 monte carlo simulation
DevaKumari Vijay
 
Simulation technique in OR
Simulation technique in ORSimulation technique in OR
Simulation technique in OR
Sarabjeet Kaur
 
Lecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptx
Lecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptxLecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptx
Lecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptx
geddamjeevan5
 
Unit2 montecarlosimulation
Unit2 montecarlosimulationUnit2 montecarlosimulation
Unit2 montecarlosimulation
DevaKumari Vijay
 
The Beer Game Simulation
The Beer Game SimulationThe Beer Game Simulation
The Beer Game Simulation
Paola Montoya
 
OpenSky - Lean
OpenSky - LeanOpenSky - Lean
OpenSky - Lean
Rita Lokre
 
Case Study using Simulation
Case Study using Simulation Case Study using Simulation
Case Study using Simulation
Sanjay Santhakumar
 
Olio ie training for all stuff
Olio ie training for all stuffOlio ie training for all stuff
Olio ie training for all stuff
MaududAhmmad
 
Work sampling and structured estimating
Work sampling and structured estimatingWork sampling and structured estimating
Work sampling and structured estimating
pareshpanshikar
 
QBA Simulation and Inventory.pptx
QBA Simulation and Inventory.pptxQBA Simulation and Inventory.pptx
QBA Simulation and Inventory.pptx
ArthurRanola
 
Examples
ExamplesExamples
Examples
Musika Fredrick
 
Grade 9 Uo-L4-Scientific No & Sig Dig
Grade 9 Uo-L4-Scientific No & Sig DigGrade 9 Uo-L4-Scientific No & Sig Dig
Grade 9 Uo-L4-Scientific No & Sig Dig
gruszecki1
 
Capacity-Planning-I.ppt
Capacity-Planning-I.pptCapacity-Planning-I.ppt
Capacity-Planning-I.ppt
yasinaptech
 
Simulation pst
Simulation pstSimulation pst
Simulation pst
S.M.Zahidul Islam sumon
 
Quality_Tools2_38 slide_____________.ppt
Quality_Tools2_38 slide_____________.pptQuality_Tools2_38 slide_____________.ppt
Quality_Tools2_38 slide_____________.ppt
vijayns8
 
Unit 2 monte carlo simulation
Unit 2 monte carlo simulationUnit 2 monte carlo simulation
Unit 2 monte carlo simulation
DevaKumari Vijay
 
Simulation technique in OR
Simulation technique in ORSimulation technique in OR
Simulation technique in OR
Sarabjeet Kaur
 
Lecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptx
Lecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptxLecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptx
Lecture 2 Modeling and Solving LP Problems in a Spreadsheet (1).pptx
geddamjeevan5
 
Unit2 montecarlosimulation
Unit2 montecarlosimulationUnit2 montecarlosimulation
Unit2 montecarlosimulation
DevaKumari Vijay
 
The Beer Game Simulation
The Beer Game SimulationThe Beer Game Simulation
The Beer Game Simulation
Paola Montoya
 
OpenSky - Lean
OpenSky - LeanOpenSky - Lean
OpenSky - Lean
Rita Lokre
 
Olio ie training for all stuff
Olio ie training for all stuffOlio ie training for all stuff
Olio ie training for all stuff
MaududAhmmad
 
Work sampling and structured estimating
Work sampling and structured estimatingWork sampling and structured estimating
Work sampling and structured estimating
pareshpanshikar
 
QBA Simulation and Inventory.pptx
QBA Simulation and Inventory.pptxQBA Simulation and Inventory.pptx
QBA Simulation and Inventory.pptx
ArthurRanola
 
Grade 9 Uo-L4-Scientific No & Sig Dig
Grade 9 Uo-L4-Scientific No & Sig DigGrade 9 Uo-L4-Scientific No & Sig Dig
Grade 9 Uo-L4-Scientific No & Sig Dig
gruszecki1
 
Capacity-Planning-I.ppt
Capacity-Planning-I.pptCapacity-Planning-I.ppt
Capacity-Planning-I.ppt
yasinaptech
 
Quality_Tools2_38 slide_____________.ppt
Quality_Tools2_38 slide_____________.pptQuality_Tools2_38 slide_____________.ppt
Quality_Tools2_38 slide_____________.ppt
vijayns8
 
Ad

More from raksharao (20)

Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logic
raksharao
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
raksharao
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
raksharao
 
Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofs
raksharao
 
Unit 7 verification & validation
Unit 7 verification & validationUnit 7 verification & validation
Unit 7 verification & validation
raksharao
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
raksharao
 
Unit 6 input modeling
Unit 6 input modeling Unit 6 input modeling
Unit 6 input modeling
raksharao
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
raksharao
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problems
raksharao
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
raksharao
 
Module1 part2
Module1 part2Module1 part2
Module1 part2
raksharao
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
raksharao
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of applet
raksharao
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 applets
raksharao
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programming
raksharao
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handling
raksharao
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
raksharao
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer program
raksharao
 
output devices
output devicesoutput devices
output devices
raksharao
 
Chap2 exception handling
Chap2 exception handlingChap2 exception handling
Chap2 exception handling
raksharao
 
Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logic
raksharao
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
raksharao
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
raksharao
 
Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofs
raksharao
 
Unit 7 verification & validation
Unit 7 verification & validationUnit 7 verification & validation
Unit 7 verification & validation
raksharao
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
raksharao
 
Unit 6 input modeling
Unit 6 input modeling Unit 6 input modeling
Unit 6 input modeling
raksharao
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
raksharao
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problems
raksharao
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
raksharao
 
Module1 part2
Module1 part2Module1 part2
Module1 part2
raksharao
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
raksharao
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of applet
raksharao
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 applets
raksharao
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programming
raksharao
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handling
raksharao
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
raksharao
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer program
raksharao
 
output devices
output devicesoutput devices
output devices
raksharao
 
Chap2 exception handling
Chap2 exception handlingChap2 exception handling
Chap2 exception handling
raksharao
 

Recently uploaded (20)

YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Sugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptxSugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptx
Dr. Renu Jangid
 
Grade 3 - English - Printable Worksheet (PDF Format)
Grade 3 - English - Printable Worksheet  (PDF Format)Grade 3 - English - Printable Worksheet  (PDF Format)
Grade 3 - English - Printable Worksheet (PDF Format)
Sritoma Majumder
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFAExercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdfAPM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
Association for Project Management
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Sugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptxSugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptx
Dr. Renu Jangid
 
Grade 3 - English - Printable Worksheet (PDF Format)
Grade 3 - English - Printable Worksheet  (PDF Format)Grade 3 - English - Printable Worksheet  (PDF Format)
Grade 3 - English - Printable Worksheet (PDF Format)
Sritoma Majumder
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFAExercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 

Unit 4 queuing models problems

  • 2. • Simulation examples • Single channel queue example • Able-baker example • Inventory system
  • 3. Able baker problem • In this model, • There are two servers. Able and baker • Able server does the job better than the Baker server • Baker gets the customer when the able server is busy • When both the servers are idle, able server gets the customer
  • 4. Example 1 • Simulate the able-baker problem for 10 customers given that the interarrival distribution and service time distribution is as given below. • Calculate the following • Average waiting time • Average service time of able and baker server • Consider the following random numbers for • Arrival time : 26, 98, 90, 26, 42, 74, 80, 68, 22 • Service time : 95, 21, 51, 92, 89, 38, 13, 61, 50, 49 Inter arrival time Probability 1 0.25 2 0.40 3 0.20 4 0.15 Service time-able Probability 2 0.30 3 0.28 4 0.25 5 0.17 Service time-Baker Probability 3 0.35 4 0.25 5 0.20 6 0.20
  • 5. Example 2 • Simulate the able-baker problem for 10 customers given that the interarrival distribution and service time distribution is as given below. • Calculate the following • Average waiting time • Average service time of able and baker server • Average time customer spends in the system • Average time between arrivals • Consider the following random numbers for • Arrival time : 9, 60, 73, 35, 88, 10, 21, 49, 53 • Service time :32, 94, 79, 5, 75, 84, 57, 55, 30, 50 Inter arrival time Probability 1 0.35 2 0.10 3 0.15 4 0.40 Service time-able Probability 2 0.4 3 0.1 4 0.3 5 0.2 Service time-Baker Probability 3 0.35 4 0.20 5 0.25 6 0.20
  • 6. Simulation of inventory system • Inventory system has a periodic review of length N at which time the inventory level is checked. • An order is made to bring the inventory up to level M • At the end of review period an order of quantity Q is placed. • Demands are not known usually, so order quantities are probabilities. • Demands are not usually uniform and do fluctuate over time
  • 7. Example 1 • A paper seller buys the paper for Rs 4 each and sells them for Rs 6 each, the newspaper not sold at the end of day are sold as scrap for 0.5 each. There are three types of days “good, fair, poor” with probabilities 0.4, 0.35, 0.25 respectively. Develop a simulation table for purchase of 70 newspapers and demand for 10 days. Calculate the total profit. • Given that random numbers for types of news days are 94, 77, 49, 45 , 43, 37, 49, 0, 16, 24 and for demand are 80, 20, 15, 88, 98, 65, 86, 73, 24, 60. instead of 70 papers ,if 80 papers is purchased will it be more profitable? • Profit=revenue of sales- cost of newspaper-lost profit from excess demand + salary of sales of scrap paper • Distribution of newspaper demand is as follows
  • 8. Demand Good probability Fair probability Poor probability 40 0.03 0.10 0.44 50 0.05 0.18 0.22 60 0.15 0.40 0.16 70 0.20 0.20 0.12 80 0.35 0.08 0.06 90 0.15 0.04 0.00 100 0.07 0.00 0.00
  • 9. Example 2 • A baker bakes 30 dozens of bread each day. The probability distribution of customers in table 1. customers order 1,2,3 or 4 dozens of bread loafs according to distribution given below in table 2. assume that each day all the customers order the same dozens of bread loafs. The selling price is rs 5.40 per dozen and making price is rs 3.80 per dozen. The left over bread loafs will be sold for half price at profit of baker. Instead of 30 dozens , if 40 dozens are baked per day will it be more profitable? • Random digits are • Customers : 50, 61, 73, 24, 96 • Dozens : 5,3,7,0,8
  • 10. Table 1 Number of customers per day Probability 8 0.35 10 0.30 12 0.25 14 0.10
  • 11. Table 2 Number of dozens/customers Probability 1 0.4 2 0.3 3 0.2 4 0.1
  • 12. Example 3 • Dr XYZ is dentist who schedules all patients for 30 min appointments. Some of the patients take more or less than 30 min. depending upon type of dental work to be done. The following table shows the various category of work, probability and time required to complete the work • Simulate the dental clinic for 3 hours and determine the following • Average waiting time • Total idle time of the doctor
  • 13. • Assume that patients show up at clinic at exactly at their scheduled time starting from 8.0 am. Use the following random numbers for handling the above problem • 40, 82, 11 , 34, 25, 66 Categories Probability Time required Filling 0.40 45 Crown 0.15 60 Cleaning 0.15 15 Extraction 0.10 45 Check up 0.20 15
  • 15. Example 1 • Suppose that the maximum inventory level M is equal to 11 units and review period N in equal to 5 days. • The problem is to estimate the average ending units in the inventory and number of days where shortage occurs for the problem lead time in random variable. Assume that the orders placed at the close of the business and received for the inventory at the beginning depending on the lead time. For this problem we begin inventory with 3 items and assume that the first order of 8 items arrive at third day morning
  • 16. • Order quantity=order up to level-ending inventory + shortage quantity • Consider the following random numbers for different cycles • For lead time : 5, 0, 3,4,8 Cycle Random digits 1 24, 35, 65, 81, 54 2 3, 87, 27, 73, 70 3 47, 45, 48, 17, 09 4 42,87, 26, 36, 40 5 7, 63, 19, 88, 94
  • 17. Random digit demands Probability 0 0.10 1 0.25 2 0.35 3 0.21 4 0.09 Random digit lead time Probability 1 0.6 2 0.3 3 0.1
  • 18. Example 2 • Demand for widgets follows the following probability distribution • Stock is examined every 7 days (the plant is in operation every day) and if the stock level has reached 6 units or less an order for 10 widgets is placed. The lead time is probabilistic and follows the following distribution Demand 0 1 2 3 4 Probability 0.33 0.25 0.20 0.12 0.10
  • 19. • When the simulation begins 12 widgets are on hand and number of orders have back ordered (back ordering is allowed) • Simulate the operation of this system for 6 weeks. For lead time , random numbers are 3, 1, 1, 4, 0, 4 • The random numbers for the simulation is Lead time 0 1 2 Probability 0.3 0.5 0.2 Cycle Random digits 1 94, 87, 63, 66, 30, 69, 37 2 01,66,51, 92, 36, 47, 80 3 94, 31,07, 09, 19, 29,29 4 94,87, 85, 66, 78, 94, 56 5 67, 07, 43, 36, 03, 46,16 6 74, 82, 31, 17, 00, 08, 85
  • 20. Example 3 • The number of fridge ordered each day is randomly distributed as shown below • The distribution of lead time is given below Demand 0 1 2 3 4 Probability 0.10 0.25 0.35 0.21 0.09 Lead time 1 2 3 Probability 0.6 0.3 0.1
  • 21. • Assume that the orders are placed at the end of 5th day of each cycle. The simulation begins with inventory level at 3 refrigerators and an order of 8 refrigerators to arrive is 2 days. Simulate this for 5 cycles according up to level inventory system . Assume that order up to level is (m) is 11
  • 22. End of unit 4 Thank you 