Pertemuan 17 QUEUEING MODELS Matakuliah: D0174/ Pemodelan Sistem dan Simulasi Tahun: Tahun 2009.

Slides:



Advertisements
Similar presentations
Model Antrian (Waiting Line Models ) Pertemuan 18:
Advertisements

Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
Model Antrian Ganda Pertemuan 21 Matakuliah: K0414 / Riset Operasi Bisnis dan Industri Tahun: 2008 / 2009.
1 Chapter 8 Queueing models. 2 Delay and Queueing Main source of delay Transmission (e.g., n/R) Propagation (e.g., d/c) Retransmission (e.g., in ARQ)
Lecture 13 – Continuous-Time Markov Chains
Queueing Theory: Recap
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Simple queuing models (Sec )
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 6 SCHEDULING E
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Queueing Theory Chapter 17.
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Modeling and Analysis of Manufacturing Systems Session 2 QUEUEING MODELS January 2001.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer Performance.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
1 Chapter 7 Dynamic Job Shops Advantages/Disadvantages Planning, Control and Scheduling Open Queuing Network Model.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
Introduction to Queuing Theory
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
Queueing Theory I. Summary Little’s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K  …
Flows and Networks Plan for today (lecture 5): Last time / Questions? Blocking of transitions Kelly / Whittle network Optimal design of a Kelly / Whittle.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
1 Chapter 5 Flow Lines Types Issues in Design and Operation Models of Asynchronous Lines –Infinite or Finite Buffers Models of Synchronous (Indexing) Lines.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
Queueing Analysis of Production Systems (Factory Physics)
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Networks of Queues Plan for today (lecture 6): Last time / Questions? Product form preserving blocking Interpretation traffic equations Kelly / Whittle.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Flows and Networks Plan for today (lecture 4): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
TexPoint fonts used in EMF.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
M/M/1 Queues Customers arrive according to a Poisson process with rate. There is only one server. Service time is exponential with rate  j-1 jj+1...
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
QUEUING. CONTINUOUS TIME MARKOV CHAINS {X(t), t >= 0} is a continuous time process with > sojourn times S 0, S 1, S 2,... > embedded process X n = X(S.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Lecture 14 – Queuing Networks
Queueing Theory What is a queue? Examples of queues:
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Queuing models Basic definitions, assumptions, and identities
IV-2 Manufacturing Systems modeling
System Performance: Queuing
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
Variability 8/24/04 Paul A. Jensen
Queueing Theory II.
Flows and Networks Plan for today (lecture 6):
Queueing networks.
Queuing Networks Mean Value Analysis
Queuing Theory III.
Carey Williamson Department of Computer Science University of Calgary
LECTURE 09 QUEUEING THEORY PART3
Presentation transcript:

Pertemuan 17 QUEUEING MODELS Matakuliah: D0174/ Pemodelan Sistem dan Simulasi Tahun: Tahun 2009

Learning Objectives Terminologi Model Antrian Struktur Dasar Model Antrian Implementasi model antrian pada single station dan networks

Struktur Dasar Model Antrian

SINGLE WORKSTATION SYSTEM: STATION + INPUT QUEUE INPUT: Batches of raw materials. WORKSTATION: one or more identically capable processors (servers). OUTPUT: Completed products. SIMPLEST SPECIAL CASE (M/M/1): –Batch size = 1 ; Server size = 1 –Exponential intearrival and service times –FCFS service policy –Service time = set-up time + processing time

Single Station (cont’d) Average arrival rate: Average service rate:  Utilization factor (expected number of items in process):  = /  Expected number of items at station: L = L q +  Expected throughput time: W = W q + 1/  Actual number of items at station: n Probability of having n items at time t: p t (n)

Single Station (cont’d) Probability of n = 0 at t p t+  t (0) = p t (0) (1 -  t) + p t (1)   t Probability of n > 0 at t p t+  t (n) = p t (n) (1 -  t -   t) + p t (n+1)   t + p t (n-1)  t

Single Station (cont’d) In rate form: For n = 0 dp t+  t (0)/dt = - p t (0) +  p t (1) For n > 0 dp t+  t (n)/dt = - ( +  ) p t (n) +  p t (n+1) + p t (n-1)

Single Station (cont’d) At steady state p t+  t (n) = p t (n) = p(n) : For n = 0 p(0) =  p(1) For n > 0 ( +  ) p(n) =  p(n+1) + p(n-1)

Single Station (cont’d) Steady state probabilities: For n = 0 p(1) =  p(0) For n > 0 p(n+1) = [( +  )/  ] p(n) -  p(n-1)

Single Station (cont’d) Steady state probabilities (cont’d): p(n) =  n p(0) Constraint:  p(n) = 1

Single Station (cont’d) Combining: p(0) =  Also: p(n) =  n Expected number of items in system L =  n p(n) =  / 

Single Station (cont’d) Expected throughput time: W = 1/   Little’s Law: L = W See summary in Table 11.1, p. 366 See Example 11.1

Single Station (cont’d) Poisson arrivals, general FCFS service M/G/1 E(S) = expectation for service time (1/  ) E(T) = expectation for throughput time T E(N) = expectation for number of jobs N See Example 11.2, p. 367

Single Station (cont’d) How about other that FCFS policy? If multiple parts with different priorities are being processed then priority service may have to be instituted See Sec and Example 11.3, p. 369

Networks of Workstations Consider M workstations with jobs moving between workstation pairs following a routing scheme. If an external arrival process generates jobs that enter the network anytime, we have an open network. If the number of jobs in the network is maintained constant we have a closed network.

Facts about Networks The sum of independent Poisson random variables is Poisson. If arrival rate is Poisson, the time interval between arrivals is Exponential. If service time is Exponential, the output rate is Poisson.

Facts about Networks (cont’d) The interdeparture time from an M/M/c system with infinite queue capacity is Exponential. If a Poisson process of rate is split into multiple processes with probability p i, the individual streams become Poisson with arrival rates equal to p i

Open Networks Illustration of Facts: –See Example 11.4, p. 372 Poisson Arrivals and FCFS policy –Parts are taken from Warehouse for Kitting –Kits are sent to Assembly station(s) –Finished parts are sent to Inspection/Packing –See Fig. 11.2, p. 373

Open Networks (cont’d) Kitting-Assembly-Inspect/Pack Problem –Kitting queue has always 1 hr worth of work –Kitting rate = 10 kits/hr –Assembly rate = 12 parts/hr –Inspection/Pack rate = 15 parts/hr –Assume all times are Exponential. –Serial System with Random Processing Times.

Kitting-Assembly-Inspect/Pack Output rate from Kitting is Poisson. Arrival time into Assembly is Exponential. Output from Assembly is Poisson. Arrival time into Inspect/Pack is Exponential. State of system described by number of jobs at Assembly and Inspect/Pack (n1, n2)

Kitting-Assembly-Inspect/Pack States and transitions diagram (Fig. 11.3) Steady-state balance equations (Eqn , p. 373) Product Form Solution p(n1,n2) = (1 -  1 )  1 n1 (1 -  2 )  2 n2 Recall for single workstation p(n) =  n

Important Note The product form solution allows the analysis of the M-station network by first analyzing the M individual stations separatedly and then combining the results. See Example 11.5

Jackson’s Generalization M workstations with c j servers each. External arrivals are Poisson with rate j FCFS Service times are Exponential w/mean 1/  j Job at station j transfers to k with probability p jk Queue sizes are unlimited.

Jackson (cont’d) Effective arrival rate = External arrivals + Internal arrivals j ’ = j +  k k ’ p kj Note this is a system of linear algebraic equations for the various j ’ Utilization factors must then be computed using the Effective arrival rates.

Jackson (cont’d) The state of system is given by the vector n = (n1, n2, n3,..., n M ) The probability of the system being in a state n is p(n).

Procedure for Open Networks 1.- Solve for the effective arrival rates in all workstations (Eqn ) 2.- Analyze each station independently using Table Aggregate results across stations to obtain performance measures. See Example 11.6, p. 377, Ex. 11.7, p. 378

Closed Networks Sometimes it may be convenient not to introduce new jobs into the system but until a unit is completed and delivered. This maintains the number of jobs in the system at a constant level N. In this case WIP becomes a control parameter not an output statistic.

Closed Networks As N increases, both peoduction rate and throughput increase. Production rate is limited by lowest service rate station. Worsktations are not independent now. Set of possible states is such that  nj = N

Mean Value Analysis Assume P part types (  njp = Np;  Np = N) Mean service time for part p on station j = 1/  jp Throughput time of part p at j Wjp = 1/  jp + ((Np-1)/Np) Ljp/  jp +  Ljr/  jp

MVA (cont’d) Throughput rates X p = N p /(  v jp W jp ) Number of visits of part p to station j = v jp Queue lengths L jp = X p v jp W jp

MVA (cont’d) Iterative Solution Procedure 1.- Guess the values of Ljp 2.- Obtain Wjp 3.- Compute Xp 4.- Compute improved values of Ljp 5.- Repeat until satisfied. See Example 11.0, pp

Product Form Solutions for Closed Networks Probability of selecting part of type p to enter the system next d p Station visit count v j =  v jp d p Total work required at station j  j =  v jp d p  jp Service rate at j 1  jp =  j / v j

Product Form Solutions for Closed Networks (cont’d) Rate station j serves customers under n r j (n) = min(n j,c j )  j Probability of job leaving station j for k p jk Steady state equation (Eqn 11.32, p. 394) p( n )  r j (n) =  p( n jk ) p jk r j ( n jk ) See Example 11.10, p. 394-

Product Form Solutions for Closed Networks (cont’d) The solution to the balance equations is p( n ) = G -1 (N) (f1*f2*f3...fM) Where, if nj < cj f j (n j ) =  j nj /nj! And if nj > cj f j (n j ) =  j nj /(cj! cj nj-cj ) And G -1 (N) =  (f1*f2*f3...fM)

Tugas 1.Di Stasiun Pengisian Bahan Bakar Umum (SPBU), sering terjai antrian. Buatlah suatu studi kasus di SPBU terdekat dengan mengimplementasikan model antrian 2.Jelaskan manfaat dari implementasi model antrian ! 3.Jelaskan yang dimaksud dengan Model Transportasi !

Daftar Pustaka Harrel. Ghosh. Bowden. (2000). Simulation Using Promodel. McGraw-Hill. New York. RG Coyle. (1996). System Dynamics Modelling : A Practice Approach. Chapman & Hall. United Kingdom.

TERIMA KASIH