Class 9 Stochastic Markovian Service Station in Steady State - Part I: Classical Queueing Birth & Death Models

Size: px
Start display at page:

Download "Class 9 Stochastic Markovian Service Station in Steady State - Part I: Classical Queueing Birth & Death Models"

Transcription

1 Service Engineering Class 9 Stochastic Markovian Service Station in Steady State - Part I: Classical Queueing Birth & Death Models Service Engineering: Starting to Close the Circle. Workforce Management (WFM): Hierarchical Operational View. 4CallCenters A Personal Tool for Workforce Management. Markov Jump Processes (MJP): Ergodicity; The Method of Cuts; Reversibility. The M/M/ Queue. Infinite-Server Queues (M/M/ ). The Erlang-C (M/M/n) model. Pooling. Queueing Models with Blocking.

2 Service Engineering: A Subjective View Goal (Subjective): Develop scientifically-based design principles (rules-of-thumb) and tools (software) that support the balance of service quality, process efficiency and business profitability, from the (often conflicting) views of customers, servers and managers. Contrast/Complement the traditional and prevalent Service Management (U.S. Business Schools) Industrial Engineering (European/Japanese Engineering Schools) Examples: Staffing - How many agents required for balancing servicequality with operational efficiency (or, for maximizing profit). Skills-Based Routing (SBR) - Platinum and Gold and Silver customers, all seeking Information or Purchase or Technical Support, via Telephone or IVR or e.mail of Chat. Service Process Design + Staffing + SBR. Recipe for Progress in Research, Teaching, Applications: Simple Models at the Service of Complex Realities, with a pinch of a Multidisciplinary View (Operations, HRM, Marketing, MIS) = Service Engineering. 2

3 Workforce Management (WFM): Hierarchical Operational View Workforce Management: Hierarchical Operational View Forecasting Customers: Statistics, Time-Series Agents : HRM (Hire, Train; Incentives, Careers) Staffing: Queueing Theory # FTE s (Seats) per unit of time Service Level, Costs Shifts: IP, Combinatorial Optimization; LP Shift structure Union constraints, Costs Rostering: Heuristics, AI (Complex) Agents Assignments Individual constraints Skills-based Routing: Stochastic Control 3 74

4 Software Tool: 4CallCenters (4CC) - Mathematical Engine: Technion M.Sc. thesis of Ofer Garnett. - Used in Germany, India, Brazil,..., Israel. - Important tool in our course. - Free download from 4

5 Example of 4CC Output: Congestion Curves % Abandon vs. Calls/Hour for various Number of Agents %Abandon vs. Calls per Interval for various Number of Agents (E[Service] = 3:30 min, E[(Im)Patience] = 6:00 min.) 80.0% 70.0% 60.0% %Abandon 50.0% 40.0% 30.0% 20.0% 0.0%.0% Calls per Interval 5 4

6 A Long Line for a Shorter Wait at the Supermarket - New York Times Page of 4 Pooling Queues at a NYC Supermarket A Long Line for a Shorter Wait at the Supermarket Robert Caplin for The New York Times Sam Baris directing customers at Whole Foods in Columbus Circle, where the long line moves quickly. By MICHAEL BARBARO Published: June 23, 2007 Show New Yorkers a checkout line and they ll tell you whether it s worth the wait. SIGN IN TO OR SAVE THIS PRINT REPRINTS Readers Opinions Share Your Thoughts What are some of your recent checkout experiences? Post a Comment Multimedia Starbucks at 9 a.m.? Eight minutes, head to the next one down the street. Duane Reade at 6 p.m.? Twelve minutes, come back in the morning. SHARE But now a relative newcomer to Manhattan is trying to teach the locals a new rule of living: the longer the line, the shorter the wait. Come again? For its first stores here, Whole Foods, the gourmet supermarket, directs customers to form serpentine single lines that feed into a passel of cash registers. Banks have used a similar system for decades. But supermarkets, fearing a long line will scare off shoppers, have generally favored the one-line-per-register system. By 7 p.m. on a weeknight, the lines at each of the four Whole Foods stores in Manhattan can be 50 deep, but they zip along faster than most lines with 0 shoppers. 23/06/2007 6

7 Markov Jump Processes: Brief Review Characterization: i, j S; π 0 = (π 0 i ) - initial distribution, Q = [q ij ] - generator matrix. Steady-state equations: 0 = πq i π i =, π i 0 Ergodic Theorem: Let X be irreducible (i j). Assume that there exists a solution π to its steady-state equations. Then π is its (unique) stationary and limit-distribution. Transition rates: π i q ij = long-run (steady-state) transitionrate (number of transitions per unit of time) from i to j. Balance equations: For each state j S, its long-run (steadystate) entry-rate equals its exit-rate. Formally, i j π i q ij = π j q jj = i j π j q ji, j. Cuts: B S, the long-run (steady-state) transition rate from B to B c equals that from B c to B. Formally, i B j B c π i q ij = i B c j B π i q ij. B c B 7

8 Markov Jump Processes: Time-Reversibility, Birth & Death. Reversibility: A stochastic process X = {X t, < t < } is called reversible if for any r {X t, 0 t r} d = {X r t, 0 t r}. Fact. Ergodic MJP in steady-state is reversible if and only if the detailed-balance equations hold: π i q ij = π j q ji, i, j S. Birth & Death process: MJP on S = {0,, 2,...}, with jumps only between adjacent states: q ij = 0 if i j >. λ i- λ 0 λ λ i 0 2 i- i i+ µ µ 2 µ i µ i+ Cuts: π i λ i = π i+ µ i+ (π i q i,i+ = π i+ q i+,i ). (Take B = {0,,..., i} and B c = {i +, i + 2,...}.) Corollary. Every ergodic Birth & Death process is reversible. (Follows from the cut-equations.) 8

9 Service Station: Birth & Death Animation λ i- λ 0 λ λ i 0 2 i- i i+ µ µ 2 µ i µ i+ i number-in-system; λ i arrival rate, with i customers in system; µ i service rate, with i customers in system. Cuts at i i + : π i λ i = π i+ µ i+, i 0, which yields π i+ = λ i µ i+ π i = λ iλ i µ i+ µ i π i = = λ 0λ... λ i µ µ 2... µ i+ π 0. Stability: Steady-state (Limit) distribution exists if and only if i=0 in which case it is given by π i π 0 = λ 0... λ i µ... µ i+ <, = λ 0...λ i µ...µ i π 0, i 0, [ i 0 λ 0...λ ] i µ...µ i+ 9

10 Classical Markovian Queues Assumptions (from now on): n statistically identical independent (iid) servers; FCFS discipline First Come First Served; Work conservation: a server does not go idle if there are customers in need of service; Arriving customers all join and remain till end of service (do not abandon). Queueing Notations: G a /G s /n/k, where G a : General Arrivals (M for Poisson arrivals), G s : General Services (M for Exponential service times), n = number of servers, K = maximal number in system. Next: M/M/, M/M/, M/M/n, M/M/n/k, M/M/n/n. 0

11 Measures of Performance (Steady-State, Long-Run) λ = i 0 π i λ i - arrival rate = service rate - µ = i π i µ i L - number of customers in system (sometimes L s ); L q - number of customers in queue; W - sojourn time through the system (W s ); W q - waiting time in the queue. In steady state (in the long run), E[L] = k 0 k π k = lim T T T 0 L(t)dt. E[L q ] = k=n+ (k n) π k. Little s formula yields average times: E[L] = λ E[W ]; E[L q ] = λ E[W q ]. Average service time, E[S], must satisfy: E[W ] = E[W q ] + E[S].

12 Review: MJP MJP X = {X t, t 0} on S = {i, j,...} countable. Markov property: P r {X t = j X r, r < s; X s = i} = P ij (s, t), s < t, i, j S. Time homogeneity: P r {X s+t = j X s = i} = P ij (t), s, t, i, j, transition probabilities. Characterization: π 0 = initial distribution and P (t) = [P ij (t)], t 0, stochastic. Finite-dimensional distributions: P r {X 0 = i 0, X t = i,..., X tn = i n } = π 0 (i 0 )P i0,i (t )... P in,i n (t n t n ). P (t) : stochastic ; P (s + t) = P (s)p (t), s, t (Chapman Kolmogorov); P (0) = I ; P ( (0) = Q = [q ij ], infinitesimal generator j S q ij = 0 ). Micro to Macro : P (t) = P (t)q (= QP (t)) and P (0) = I Forward (Backward) equations. Solution : P (t) = exp[tq] = n=0 t n n! Q n, t 0. Animation: i q ij j; i, j S exponential clock at rate q ij, call it (i, j). Given i, consider clocks (i, j), j S; move to the winner when rings. Thus: stay at i exp(q i = j i q ij ) and switch to j with probability P ij = q ij /q i (q ij = q i P ij, i j; q ii = q i ). Transient analysis vs. long-run/limit stability/steady-state lim t P ij (t) = π j, i; π = πp (t), t. Calculation via steady-state equations: P ( ) = P ( )Q or balance equations: i j π i q ij = π j q jj = i j π j q ji, j. { 0 = πq i π i =, π i 0 } Transition rates: π i q ij = long-run average number of switches from i to j. Cuts: i B j B π iq c ij = i B c j B π i q ij, B S. B c B 2

13 Review: MJP 2 Ergodic Theorem: Let X be irreducible (i j). Assume that there exists a solution π to its steady-state equations. Then, X must be unexplosive and π must be its stationary distribution, its limit distribution and SLLN lim T T lim T T T 0 f(x t)dt = π i f(i) ( = Ef(X )) ; eg. f(x) = B (x). t Tg(X t, X t ) = i i π i q ij g(i, j), for g(x, x) = 0, x; e.g. g(x, y) = C (x, y). j Birth-and-death process: MJP on S = {0,, 2,...}, where all jumps are between adjacent states: q ij = 0 if i j >. Cuts: π i q i,i+ = π i+ q i+,i. (Take B = {0,,..., i} and B c = {i +, i + 2,...}.) Reversibility: any τ A stochastic process X = {X t, < t < } is called reversible if for {X t, < t < } d = {X τ t, < t < }. Fact. Ergodic MJP in steady-state is reversible if and only if the detailed balance equations hold: π i q ij = π j q ji, i, j S. Corollary. Every ergodic birth-and-death process is reversible. (Follows from the cut equations.) 3

14 The M/M/ Queue Poisson arrivals, at rate λ; Single exponential server, at rate µ (E[S] = /µ). λ λ λ 0 µ µ 2 i- µ i λ µ i+ Transition rates: λ i λ, i 0; µ i µ, i. Cut equations: λπ i = µπ i+, i 0. Traffic intensity ρ = λ µ < (iff stability). Steady-state distribution: L d = Geometric(p = ρ) (from 0): π i = ( ρ)ρ i, i 0. Hence, can calculate: E[L] = ρ/( ρ), then E[W ], then E[W q ], finally E[L q ]. Insightful calculations: Effective (actual) service rate = π n µ = µ( π 0 ) = µ ρ = µ λ µ = λ. n Contrast with Service Capacity (potential service rate) = µ. 4

15 M/M/: Sojourn Time Sojourn time is exponentially distributed: W d = exp mean = µ( ρ) = + µ ρ ρ. Proof: By PASTA and the memoryless-properly of Exponentials, W d = N i= N = L + d = Geom( ρ) (from ); N and {X i } are all independent. X i, X i exp(µ) i.i.d., Conclude by recalling: Geometric sum of iid Exponentials is Exponentially distributed. (The parameter is calculated via Wald.) Aside: The latter property is essentially Poisson-Splitting. A selfcontained proof can be give via Moment generating functions: φ W (t) = E [exp{tw }] = E exp{t N X i } i= = E E exp{t N X i } N i= (X i independent with E [exp{tx i }] = µ µ = E µ t µ( ρ) = µ t k=0 = φ exp(µ( ρ)) (t). N = µρ k= k µ t ( ρ)ρ k = µ t ) µ k µ t µ( ρ) µ( ρ) t 5

16 M/M/: Further Properties Delay probability (PASTA): P{W q > 0} = ρ. Waiting time in queue (given delay, it is exp): W q /µ d = 0 wp ρ exp ( mean = ) ρ wp ρ Note: E[ W q /µ ] = 0 ( ρ) + ρ ρ = Number-in-system/queue: E[L] = ρ ρ. ρ ρ ; E[L q] = ρ2 ρ. Server s utilization (occupancy) is ρ = λ/µ. Via Little s formula, applied to system = server : ρ = lim T T T 0 L Server(u) du = λ µ. Departure process in steady state is Poisson (λ) (Burke s theorem) useful in queueing networks. Support: Reversibility implies that the departure process equals (in distribution) the arrival process. Furthermore, Average inter-departure time = µ ρ + λ + ( ρ) = µ λ. 6

17 M/M/ Queue: 4CallCenters Average Waiting Times = E[S], for ρ = 50%; 4 E[S], for ρ = 80%; 9 E[S], for ρ = 90%;..., 9 E[S], for ρ = 95% (via model). 4CallCenters, performance measures: Average Speed of Answer (ASA) = E[W q ] (will be very different with abandonment); % Answer within Target = P{W q T }; (T = 0 important, as we ll learn later, but hardly used.) Average Queue Length = E[L q ]. 7

18 M/M/ Queue (Ample Servers) Poisson arrivals, rate λ; Infinite number of exponential servers, rate µ (E(S) = /µ). λ λ λ λ 0 2 i- i i+ µ 2µ iµ (i+)µ λ i λ, i 0; µ i = i µ, i. Cut equations: λ π i = (i + )µ π i+, i 0. Always stable. Steady-state distribution is Poisson: π i = e R Ri i!, i 0 ; R = λ is the offered load, (measured in units of Erlangs) µ = Average amount of work-units (time-units of service) that arrives to the system per time-unit = Average number of customers in steady-state (via Little s Law). Offered-Load Extension to a time-varying environment: Consider M t /M/ (time-inhomogeneous Poisson arrivals, at rate λ(t), t 0): R(t) = E t λ(u) du = Eλ(t S), t 0. t S 8

19 M/M/ Queue: Continued Very useful: -server models provide bounds (ideal): Recall, DS-PERT s with Infinite-Servers. Later, queues with abandonment. Average number-in-system in steady-state (via Little s formula): E[L] = E(# Busy Servers) = λ µ = R. All the steady-state results are valid, as is, also for M/G/ generally distributed service times. (Insensitivity of performance to the service-time distribution.) Time-Varying Arrivals: The observation R = E[L] paves the way to the definition of offered-load in a time-varying environment: In M t /G/, with a time-inhomogeneous Poisson arrival process at rate {λ(t), t 0}), the average number-in-system at time t is: R(t) = E t t S λ(u) du = Eλ(t S e), t 0. Here S denotes a service-time and S e a residual service-time (as in biased-sampling). In the special case of S exponential, S e has the same exponential distribution as S, due to the memoryless property. 9

20 The Erlang-C (M/M/n) Queue Poisson arrivals, rate λ; n exponential servers, each at rate µ. Erlang-C Widely used in call centers - the workhorse of WFM. agents arrivals ACD queue Transition-rate diagram: λ λ λ 0 µ 2µ 2 n- nµ n λ λ n+ n+2 nµ nµ Erlang-B λ j λ, j 0, Lost Calls agents µ j = (j n)µ, j. Agents utilization arrivals ρ = λ nµ. Assume ρ < (R < n) to ensure stability (in analogy to M/M/). 20

21 Example of Instability, via 4CallCenters Steady-state distribution: π i π 0 = = Ri π 0, i n, i! = nn ρ i π 0, i n, n! n j=0 R j j! + where R = λ/µ is the offered load. R n n!( ρ), 2

22 M/M/n Queue: Properties Erlang-C Formula (97) for the Delay probability: P{W q > 0} = E 2,n = π i = Rn n! i n ρ π 0. Erlang-C computation: via recursion, see Erlang-B below. Erlang-C approximations: important later in course. Number-in-queue: P{L q = i} = E 2,n ( ρ)ρ i, i > 0, or L q = 0 wp E 2,n Geom 0 ( ρ) wp E 2,n Waiting time distribution: W q /µ = Compare with M/M/! 0 wp E 2,n Exp ( mean = n ρ) wp E2,n Departure process: Poisson(λ) in steady-state. Proof via reversibility, as with M/M/. 22

23 M/M/n Queue: Waiting-Time Distribution In analogy to M/M/, Formally: P E[S] W q W q > 0 d = exp(n( ρ)), E[S] W q > t W q > 0 = e n( ρ)t. P{W q > t} = k= P{L q = k } P{E k > t} (where E k d = Erlang(k, nµ)) = E 2,n k= ( ρ)ρ k t = E 2,n nµ( ρ) t = E 2,n nµ( ρ) t = E 2,n e nµ( ρ)t. e nµx nµ(nµx) k (k )! k= e nµ( ρ)x dx e nµx dx (nµρx) k dx (k )! 23

24 Pooling: Economies of Scale Kleinrock, L. Vol. II, Chapter 5 (976) (Pelephone s Call Center) Example: Kleinrock, L. Vol.II, Resource Chapter Sharing 5 (976) (a) m m (d) C m C m C C (b) m (e) m m C m C m C C (c) m (f) m m C mc Simplest is Best! Do not model complicated undesirable scenarios! 4CallCenters output m M/M/ scale-up M/M/m technology M/M/ λ, µ mλ, µ mλ, mµ Combine: queues servers Saved inefficiency idleness lost capacity ( long queue, 2 idle) (rate mµ at all times) ( ) Remark EW q m, λ, µ m EWq (, λ, µ) ( ) while EW s m, λ, µ m EWs (, λ, µ) individual server s capacity (Explain, via P m (Wait > 0), noting W q W q > 0.) Summary (pg. 287) Large systems (scaling up input rate and system capacity) yield improvements (in average response-time) that are proportional to the scaling factor. For a given scale factor, the single-server (fast) system is superior to the multiple-server (slow) system, as far as total time a system in concerned. The opposite is true, however, when restricting to only waiting time. (See Homework)

25 Pooling M/M/ to M/M/n Pooling Queues (one vs. many) and Servers (slow vs. fast) Erlang-C n M M λ, μ Multiple queues Multiple Servers 2 M M n nλ, μ Single queue Multiple Servers 3 M M nλ, nμ Single queue Single server λ λ. n μ μ nλ. n μ μ nλ nμ Tradeoff Enabler Gain Utilization Separate vs. single queue Process design Load balancing t (avoid a long queue & idle servers) λ μ = ρ ( nλ ) ( n) μ = ρ Slow vs. fast server Technology Maximal capacity nμ vs. nμ ( nλ ) ( n ) t μ = ρ PW { q > 0} ρ 2 E2, n( ρ) 2 ρ E W q W > 0 q μ ρ nμ ρ = nμ ρ EW q = [ ] E W W > 0 P{ W > 0} q q q ρ μ ρ 4 E2, n μ n( ρ) 3 ρ μ n( ρ) E [ S] μ = μ > nμ E W sys = = E[ W ] + E[ S] q μ ρ 5 E μ n( ρ) 2, n + 6 nμ ρ 25

26 Basic Relations: E2, n E2, n ( ρ) ρ n ρ Intuition? Proof: E = P( at least oneserver idle) = 2, n n n P{ server i idle} = n( ρ) = P { server iidle} i= i= P{ server i idle} = ρ qed... Corollary: ρ E2, n E2, n ρ 2 3 Corollary: E E n ρ n( ρ) n( ρ) + 2, n 2, n ( ) EW ( n, nλ, μ) EW (, nλ, nμ) EW ( n, nλ, μ) EW (, nλ, nμ) q q sys sys Multiple-slow Single-fast Multiple-slow Single-fast Intuition: E2, ( ρ) ρ n nλ. n μ μ vs. random nλ λ λ. n μ μ E2, n ( ρ ) ρ since have an earlier commitment 26

27 Pooling M/M/ to M/M/n: Conclusions 2 : Pooling yields E[W q ] decrease by more than factor n; 3 : Fast server yields E[W ] and E[W q ] decrease by factor n; 2 3 : Fast server better for E[W ]; Pooling better for E[W q ]. 27

28 M/M/n/K Queue Poisson arrivals, rate λ; n exponential servers, rate µ; K trunks (K n); If all trunks busy, arriving customer blocked (busy signal). λ λ λ λ 0 n- n n+ K- K µ nµ nµ nµ λ j = λ, 0 j K, µ j = (j n)µ, j K. Formulae straightforward but cumbersome (simply truncate M/M/n). Always reaches steady state. 28

29 M/M/n/K Queue: 4CallCenters Use Change Settings = Features = Trunks. Note new indicators: Average Trunks Utilized and %Blocked. 4CallCenters: Advanced Profiling Arrival rate varied from 900 to 07 per hour, in step 9. Excel interface: graphs and spreadsheets. 29

30 M/M/n/K vs. Erlang-C Average service time = 6 min, 00 agents, 50 trunks Average Speed of Answer (secs) Calls per Interval M/M/00/50 M/M/00 Similar performance for light loads. Erlang-C explodes as ρ = λ nµ. 30

31 The Erlang-B (M/M/n/n) Queue λ λ λ 0 µ 2µ 2 n- nµ n λ i λ, 0 i n, µ i = i µ, i n. Steady-State: π i = Ri i! / n j=0 R j j!, 0 i n. Note: The above applies to M/G/n/n - again, insensitivity. 3

32 M/M/n/K vs. Erlang-B l Average service time = 6 min, 00 agents 40% 35% 30% 25% %Block 20% 5% 0% 5% 0% Calls per Interval M/M/00/50 M/M/00/00 Moderate load: additional trunks prevent blocking. Heavy load: % blocking /ρ ( fluid limit ). 32

33 Erlang-B Formula (97) Loss probability: E,n = π n = Rn n! / n j=0 Follows from PASTA. Recall: Erlang-B valid for M/G/n/n (General services.) λπ n rate of lost customers, λ( π n ) effective throughput. Erlang-B Computation via recursion: R j j!. E,n = RE,n n + RE,n = ρe,n + ρe,n E,0 =. Erlang-B Computation: E,n = (n R)E 2,n n RE 2,n ; E 2,n = E,n ( ρ) + ρe,n ; E 2,n > E,n, as expected: why? 33

34 Telephone Call Center arrivals retrials lost calls busy ACD 23 queue k agents 2 retrials abandonment n lost calls returns Two customer-centric (subjective) operational measures of performance: Abandonment due to (im)patience, or need; Retrials/Redials, which can often be absorbed into the Poisson arrival process). How to model Abandonment? The Palm / Erlang-A model. 34

Classical Queueing Models.

Classical Queueing Models. Sergey Zeltyn January 2005 STAT 99. Service Engineering. The Wharton School. University of Pennsylvania. Based on: Classical Queueing Models. Mandelbaum A. Service Engineering course, Technion. http://iew3.technion.ac.il/serveng2005w

More information

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis. Service Engineering Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis. G/G/1 Queue: Virtual Waiting Time (Unfinished Work). GI/GI/1: Lindley s Equations

More information

Performance Evaluation of Queuing Systems

Performance Evaluation of Queuing Systems Performance Evaluation of Queuing Systems Introduction to Queuing Systems System Performance Measures & Little s Law Equilibrium Solution of Birth-Death Processes Analysis of Single-Station Queuing Systems

More information

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1 Queueing systems Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queueing systems - Renato Lo Cigno 1 Queues A Birth-Death process is well modeled by a queue Indeed queues can be used to

More information

Erlang-C = M/M/N. agents. queue ACD. arrivals. busy ACD. queue. abandonment BACK FRONT. lost calls. arrivals. lost calls

Erlang-C = M/M/N. agents. queue ACD. arrivals. busy ACD. queue. abandonment BACK FRONT. lost calls. arrivals. lost calls Erlang-C = M/M/N agents arrivals ACD queue Erlang-A lost calls FRONT BACK arrivals busy ACD queue abandonment lost calls Erlang-C = M/M/N agents arrivals ACD queue Rough Performance Analysis

More information

Abandonment and Customers Patience in Tele-Queues. The Palm/Erlang-A Model.

Abandonment and Customers Patience in Tele-Queues. The Palm/Erlang-A Model. Sergey Zeltyn February 25 zeltyn@ie.technion.ac.il STAT 991. Service Engineering. The Wharton School. University of Pennsylvania. Abandonment and Customers Patience in Tele-Queues. The Palm/Erlang-A Model.

More information

Non Markovian Queues (contd.)

Non Markovian Queues (contd.) MODULE 7: RENEWAL PROCESSES 29 Lecture 5 Non Markovian Queues (contd) For the case where the service time is constant, V ar(b) = 0, then the P-K formula for M/D/ queue reduces to L s = ρ + ρ 2 2( ρ) where

More information

Markov processes and queueing networks

Markov processes and queueing networks Inria September 22, 2015 Outline Poisson processes Markov jump processes Some queueing networks The Poisson distribution (Siméon-Denis Poisson, 1781-1840) { } e λ λ n n! As prevalent as Gaussian distribution

More information

IEOR 6711, HMWK 5, Professor Sigman

IEOR 6711, HMWK 5, Professor Sigman IEOR 6711, HMWK 5, Professor Sigman 1. Semi-Markov processes: Consider an irreducible positive recurrent discrete-time Markov chain {X n } with transition matrix P (P i,j ), i, j S, and finite state space.

More information

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 "

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 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 " Little s Law a(t): the process that counts the number of arrivals

More information

Dynamic Control of Parallel-Server Systems

Dynamic Control of Parallel-Server Systems Dynamic Control of Parallel-Server Systems Jim Dai Georgia Institute of Technology Tolga Tezcan University of Illinois at Urbana-Champaign May 13, 2009 Jim Dai (Georgia Tech) Many-Server Asymptotic Optimality

More information

Introduction to Markov Chains, Queuing Theory, and Network Performance

Introduction to Markov Chains, Queuing Theory, and Network Performance Introduction to Markov Chains, Queuing Theory, and Network Performance Marceau Coupechoux Telecom ParisTech, departement Informatique et Réseaux marceau.coupechoux@telecom-paristech.fr IT.2403 Modélisation

More information

Link Models for Circuit Switching

Link Models for Circuit Switching Link Models for Circuit Switching The basis of traffic engineering for telecommunication networks is the Erlang loss function. It basically allows us to determine the amount of telephone traffic that can

More information

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking Lecture 7: Simulation of Markov Processes Pasi Lassila Department of Communications and Networking Contents Markov processes theory recap Elementary queuing models for data networks Simulation of Markov

More information

Service Engineering January Laws of Congestion

Service Engineering January Laws of Congestion Service Engineering January 2004 http://ie.technion.ac.il/serveng2004 Laws of Congestion The Law for (The) Causes of Operational Queues Scarce Resources Synchronization Gaps (in DS PERT Networks) Linear

More information

Stochastic process. X, a series of random variables indexed by t

Stochastic process. X, a series of random variables indexed by t Stochastic process X, a series of random variables indexed by t X={X(t), t 0} is a continuous time stochastic process X={X(t), t=0,1, } is a discrete time stochastic process X(t) is the state at time t,

More information

GI/M/1 and GI/M/m queuing systems

GI/M/1 and GI/M/m queuing systems GI/M/1 and GI/M/m queuing systems Dmitri A. Moltchanov moltchan@cs.tut.fi http://www.cs.tut.fi/kurssit/tlt-2716/ OUTLINE: GI/M/1 queuing system; Methods of analysis; Imbedded Markov chain approach; Waiting

More information

Part II: continuous time Markov chain (CTMC)

Part II: continuous time Markov chain (CTMC) Part II: continuous time Markov chain (CTMC) Continuous time discrete state Markov process Definition (Markovian property) X(t) is a CTMC, if for any n and any sequence t 1

More information

The Offered-Load Process: Modeling, Inference and Applications. Research Thesis

The Offered-Load Process: Modeling, Inference and Applications. Research Thesis The Offered-Load Process: Modeling, Inference and Applications Research Thesis Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science in Statistics Michael Reich Submitted

More information

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017 CPSC 531: System Modeling and Simulation Carey Williamson Department of Computer Science University of Calgary Fall 2017 Motivating Quote for Queueing Models Good things come to those who wait - poet/writer

More information

Introduction to Queuing Networks Solutions to Problem Sheet 3

Introduction to Queuing Networks Solutions to Problem Sheet 3 Introduction to Queuing Networks Solutions to Problem Sheet 3 1. (a) The state space is the whole numbers {, 1, 2,...}. The transition rates are q i,i+1 λ for all i and q i, for all i 1 since, when a bus

More information

Systems Simulation Chapter 6: Queuing Models

Systems Simulation Chapter 6: Queuing Models Systems Simulation Chapter 6: Queuing Models Fatih Cavdur fatihcavdur@uludag.edu.tr April 2, 2014 Introduction Introduction Simulation is often used in the analysis of queuing models. A simple but typical

More information

Lecture 20: Reversible Processes and Queues

Lecture 20: Reversible Processes and Queues Lecture 20: Reversible Processes and Queues 1 Examples of reversible processes 11 Birth-death processes We define two non-negative sequences birth and death rates denoted by {λ n : n N 0 } and {µ n : n

More information

The Transition Probability Function P ij (t)

The Transition Probability Function P ij (t) The Transition Probability Function P ij (t) Consider a continuous time Markov chain {X(t), t 0}. We are interested in the probability that in t time units the process will be in state j, given that it

More information

Single-Server Service-Station (G/G/1)

Single-Server Service-Station (G/G/1) Service Engineering July 997 Last Revised January, 006 Single-Server Service-Station (G/G/) arrivals queue 000000000000 000000000000 departures Arrivals A = {A(t), t 0}, counting process, e.g., completely

More information

On Priority Queues with Impatient Customers: Stationary and Time-Varying Analysis

On Priority Queues with Impatient Customers: Stationary and Time-Varying Analysis On Priority Queues with Impatient Customers: Stationary and Time-Varying Analysis RESEARCH THESIS SUBMITTED IN PARTIAL FULFILLMENT OF REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE IN OPERATIONS RESEARCH

More information

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem Wade Trappe Lecture Overview Network of Queues Introduction Queues in Tandem roduct Form Solutions Burke s Theorem What

More information

1 IEOR 4701: Continuous-Time Markov Chains

1 IEOR 4701: Continuous-Time Markov Chains Copyright c 2006 by Karl Sigman 1 IEOR 4701: Continuous-Time Markov Chains A Markov chain in discrete time, {X n : n 0}, remains in any state for exactly one unit of time before making a transition (change

More information

PBW 654 Applied Statistics - I Urban Operations Research

PBW 654 Applied Statistics - I Urban Operations Research PBW 654 Applied Statistics - I Urban Operations Research Lecture 2.I Queuing Systems An Introduction Operations Research Models Deterministic Models Linear Programming Integer Programming Network Optimization

More information

M/G/1 and M/G/1/K systems

M/G/1 and M/G/1/K systems M/G/1 and M/G/1/K systems Dmitri A. Moltchanov dmitri.moltchanov@tut.fi http://www.cs.tut.fi/kurssit/elt-53606/ OUTLINE: Description of M/G/1 system; Methods of analysis; Residual life approach; Imbedded

More information

Name of the Student:

Name of the Student: SUBJECT NAME : Probability & Queueing Theory SUBJECT CODE : MA 6453 MATERIAL NAME : Part A questions REGULATION : R2013 UPDATED ON : November 2017 (Upto N/D 2017 QP) (Scan the above QR code for the direct

More information

Introduction to Queueing Theory

Introduction to Queueing Theory Introduction to Queueing Theory Raj Jain Washington University in Saint Louis Jain@eecs.berkeley.edu or Jain@wustl.edu A Mini-Course offered at UC Berkeley, Sept-Oct 2012 These slides and audio/video recordings

More information

The Palm/Erlang-A Queue, with Applications to Call Centers

The Palm/Erlang-A Queue, with Applications to Call Centers The Palm/Erlang-A Queue, with Applications to Call Centers Contents Avishai Mandelbaum and Sergey Zeltyn Faculty of Industrial Engineering & Management Technion, Haifa 32000, ISRAEL emails: avim@tx.technion.ac.il,

More information

CS 798: Homework Assignment 3 (Queueing Theory)

CS 798: Homework Assignment 3 (Queueing Theory) 1.0 Little s law Assigned: October 6, 009 Patients arriving to the emergency room at the Grand River Hospital have a mean waiting time of three hours. It has been found that, averaged over the period of

More information

Markov chains. 1 Discrete time Markov chains. c A. J. Ganesh, University of Bristol, 2015

Markov chains. 1 Discrete time Markov chains. c A. J. Ganesh, University of Bristol, 2015 Markov chains c A. J. Ganesh, University of Bristol, 2015 1 Discrete time Markov chains Example: A drunkard is walking home from the pub. There are n lampposts between the pub and his home, at each of

More information

Simple queueing models

Simple queueing models Simple queueing models c University of Bristol, 2012 1 M/M/1 queue This model describes a queue with a single server which serves customers in the order in which they arrive. Customer arrivals constitute

More information

Part I Stochastic variables and Markov chains

Part I Stochastic variables and Markov chains Part I Stochastic variables and Markov chains Random variables describe the behaviour of a phenomenon independent of any specific sample space Distribution function (cdf, cumulative distribution function)

More information

Queues and Queueing Networks

Queues and Queueing Networks Queues and Queueing Networks Sanjay K. Bose Dept. of EEE, IITG Copyright 2015, Sanjay K. Bose 1 Introduction to Queueing Models and Queueing Analysis Copyright 2015, Sanjay K. Bose 2 Model of a Queue Arrivals

More information

Kendall notation. PASTA theorem Basics of M/M/1 queue

Kendall notation. PASTA theorem Basics of M/M/1 queue Elementary queueing system Kendall notation Little s Law PASTA theorem Basics of M/M/1 queue 1 History of queueing theory An old research area Started in 1909, by Agner Erlang (to model the Copenhagen

More information

On Priority Queues with Impatient Customers: Stationary and Time-Varying Analysis

On Priority Queues with Impatient Customers: Stationary and Time-Varying Analysis On Priority Queues with Impatient Customers: Stationary and Time-Varying Analysis RESEARCH THESIS SUBMITTED IN PARTIAL FULFILLMENT OF REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE IN OPERATIONS RESEARCH

More information

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011 Exercise 6.5: Solutions to Homework 0 6.262 Discrete Stochastic Processes MIT, Spring 20 Consider the Markov process illustrated below. The transitions are labelled by the rate q ij at which those transitions

More information

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Chapter 5. Continuous-Time Markov Chains Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Continuous-Time Markov Chains Consider a continuous-time stochastic process

More information

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA 1 / 24 Queueing Review (mostly from BCNN) Christos Alexopoulos and Dave Goldsman Georgia Institute of Technology, Atlanta, GA, USA 10/6/16 2 / 24 Outline 1 Introduction 2 Queueing Notation 3 Transient

More information

Designing a Telephone Call Center with Impatient Customers

Designing a Telephone Call Center with Impatient Customers Designing a Telephone Call Center with Impatient Customers with Ofer Garnett Marty Reiman Sergey Zeltyn Appendix: Strong Approximations of M/M/ + Source: ErlangA QEDandSTROG FIAL.tex M/M/ + M System Poisson

More information

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Queueing Theory. VK Room: M Last updated: October 17, 2013. Queueing Theory VK Room: M1.30 knightva@cf.ac.uk www.vincent-knight.com Last updated: October 17, 2013. 1 / 63 Overview Description of Queueing Processes The Single Server Markovian Queue Multi Server

More information

The Offered-Load Process: Modeling, Inference and Applications. Research Thesis

The Offered-Load Process: Modeling, Inference and Applications. Research Thesis The Offered-Load Process: Modeling, Inference and Applications Research Thesis Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science in Statistics Michael Reich Submitted

More information

Continuous Time Processes

Continuous Time Processes page 102 Chapter 7 Continuous Time Processes 7.1 Introduction In a continuous time stochastic process (with discrete state space), a change of state can occur at any time instant. The associated point

More information

Irreducibility. Irreducible. every state can be reached from every other state For any i,j, exist an m 0, such that. Absorbing state: p jj =1

Irreducibility. Irreducible. every state can be reached from every other state For any i,j, exist an m 0, such that. Absorbing state: p jj =1 Irreducibility Irreducible every state can be reached from every other state For any i,j, exist an m 0, such that i,j are communicate, if the above condition is valid Irreducible: all states are communicate

More information

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA 1 / 26 Queueing Review (mostly from BCNN) Christos Alexopoulos and Dave Goldsman Georgia Institute of Technology, Atlanta, GA, USA 10/25/17 2 / 26 Outline 1 Introduction 2 Queueing Notation 3 Transient

More information

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks Recap Probability, stochastic processes, Markov chains ELEC-C7210 Modeling and analysis of communication networks 1 Recap: Probability theory important distributions Discrete distributions Geometric distribution

More information

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory CDA5530: Performance Models of Computers and Networks Chapter 4: Elementary Queuing Theory Definition Queuing system: a buffer (waiting room), service facility (one or more servers) a scheduling policy

More information

Data analysis and stochastic modeling

Data analysis and stochastic modeling Data analysis and stochastic modeling Lecture 7 An introduction to queueing theory Guillaume Gravier guillaume.gravier@irisa.fr with a lot of help from Paul Jensen s course http://www.me.utexas.edu/ jensen/ormm/instruction/powerpoint/or_models_09/14_queuing.ppt

More information

Introduction to queuing theory

Introduction to queuing theory Introduction to queuing theory Claude Rigault ENST claude.rigault@enst.fr Introduction to Queuing theory 1 Outline The problem The number of clients in a system The client process Delay processes Loss

More information

Statistics 150: Spring 2007

Statistics 150: Spring 2007 Statistics 150: Spring 2007 April 23, 2008 0-1 1 Limiting Probabilities If the discrete-time Markov chain with transition probabilities p ij is irreducible and positive recurrent; then the limiting probabilities

More information

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL by Ward Whitt Department of Industrial Engineering and Operations Research Columbia University, New York, NY 10027 Abstract An algorithm is developed to

More information

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS Andrea Bobbio Anno Accademico 999-2000 Queueing Systems 2 Notation for Queueing Systems /λ mean time between arrivals S = /µ ρ = λ/µ N mean service time traffic

More information

Markov Processes and Queues

Markov Processes and Queues MIT 2.853/2.854 Introduction to Manufacturing Systems Markov Processes and Queues Stanley B. Gershwin Laboratory for Manufacturing and Productivity Massachusetts Institute of Technology Markov Processes

More information

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013 Networking = Plumbing TELE302 Lecture 7 Queueing Analysis: I Jeremiah Deng University of Otago 29 July 2013 Jeremiah Deng (University of Otago) TELE302 Lecture 7 29 July 2013 1 / 33 Lecture Outline Jeremiah

More information

Continuous-Time Markov Chain

Continuous-Time Markov Chain Continuous-Time Markov Chain Consider the process {X(t),t 0} with state space {0, 1, 2,...}. The process {X(t),t 0} is a continuous-time Markov chain if for all s, t 0 and nonnegative integers i, j, x(u),

More information

Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits. IEOR 4615: Service Engineering Professor Whitt February 19, 2015

Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits. IEOR 4615: Service Engineering Professor Whitt February 19, 2015 Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits IEOR 4615: Service Engineering Professor Whitt February 19, 2015 Outline Deterministic Fluid Models Directly From Data: Cumulative

More information

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0. IEOR 46: Introduction to Operations Research: Stochastic Models Chapters 5-6 in Ross, Thursday, April, 4:5-5:35pm SOLUTIONS to Second Midterm Exam, Spring 9, Open Book: but only the Ross textbook, the

More information

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES 295 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES 16 Queueing Systems with Two Types of Customers In this section, we discuss queueing systems with two types of customers.

More information

Queueing Networks and Insensitivity

Queueing Networks and Insensitivity Lukáš Adam 29. 10. 2012 1 / 40 Table of contents 1 Jackson networks 2 Insensitivity in Erlang s Loss System 3 Quasi-Reversibility and Single-Node Symmetric Queues 4 Quasi-Reversibility in Networks 5 The

More information

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers UNIVERSITY OF OKLAHOMA GENERAL EXAM REPORT A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers Prepared by HUSNU SANER NARMAN husnu@ou.edu based on the papers 1) F. S.

More information

Session-Based Queueing Systems

Session-Based Queueing Systems Session-Based Queueing Systems Modelling, Simulation, and Approximation Jeroen Horters Supervisor VU: Sandjai Bhulai Executive Summary Companies often offer services that require multiple steps on the

More information

Figure 10.1: Recording when the event E occurs

Figure 10.1: Recording when the event E occurs 10 Poisson Processes Let T R be an interval. A family of random variables {X(t) ; t T} is called a continuous time stochastic process. We often consider T = [0, 1] and T = [0, ). As X(t) is a random variable

More information

Queueing. Chapter Continuous Time Markov Chains 2 CHAPTER 5. QUEUEING

Queueing. Chapter Continuous Time Markov Chains 2 CHAPTER 5. QUEUEING 2 CHAPTER 5. QUEUEING Chapter 5 Queueing Systems are often modeled by automata, and discrete events are transitions from one state to another. In this chapter we want to analyze such discrete events systems.

More information

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions Queueing Theory II Summary! M/M/1 Output process! Networks of Queue! Method of Stages " Erlang Distribution " Hyperexponential Distribution! General Distributions " Embedded Markov Chains M/M/1 Output

More information

Intro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin

Intro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin Queuing Networks Florence Perronnin Polytech Grenoble - UGA March 23, 27 F. Perronnin (UGA) Queuing Networks March 23, 27 / 46 Outline Introduction to Queuing Networks 2 Refresher: M/M/ queue 3 Reversibility

More information

P (L d k = n). P (L(t) = n),

P (L d k = n). P (L(t) = n), 4 M/G/1 queue In the M/G/1 queue customers arrive according to a Poisson process with rate λ and they are treated in order of arrival The service times are independent and identically distributed with

More information

INDEX. production, see Applications, manufacturing

INDEX. production, see Applications, manufacturing INDEX Absorbing barriers, 103 Ample service, see Service, ample Analyticity, of generating functions, 100, 127 Anderson Darling (AD) test, 411 Aperiodic state, 37 Applications, 2, 3 aircraft, 3 airline

More information

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18. IEOR 6711: Stochastic Models I, Fall 23, Professor Whitt Solutions to Final Exam: Thursday, December 18. Below are six questions with several parts. Do as much as you can. Show your work. 1. Two-Pump Gas

More information

IOE 202: lectures 11 and 12 outline

IOE 202: lectures 11 and 12 outline IOE 202: lectures 11 and 12 outline Announcements Last time... Queueing models intro Performance characteristics of a queueing system Steady state analysis of an M/M/1 queueing system Other queueing systems,

More information

15 Closed production networks

15 Closed production networks 5 Closed production networks In the previous chapter we developed and analyzed stochastic models for production networks with a free inflow of jobs. In this chapter we will study production networks for

More information

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if 1 Queuing Theory 3. Birth-Death Process Law of Motion Flow balance equations Steady-state probabilities: c j = λ 0λ 1...λ j 1 µ 1 µ 2...µ j π 0 = 1 1+ j=1 c j, if j=1 c j is finite. π j = c j π 0 Example

More information

Introduction to Queueing Theory

Introduction to Queueing Theory Introduction to Queueing Theory Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at: 30-1 Overview Queueing Notation

More information

Introduction to queuing theory

Introduction to queuing theory Introduction to queuing theory Queu(e)ing theory Queu(e)ing theory is the branch of mathematics devoted to how objects (packets in a network, people in a bank, processes in a CPU etc etc) join and leave

More information

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1 NICTA Short Course Network Analysis Vijay Sivaraman Day 1 Queueing Systems and Markov Chains Network Analysis, 2008s2 1-1 Outline Why a short course on mathematical analysis? Limited current course offering

More information

Queuing Theory. Queuing Theory. Fatih Cavdur April 27, 2015

Queuing Theory. Queuing Theory. Fatih Cavdur April 27, 2015 Queuing Theory Fatih Cavdur fatihcavdur@uludag.edu.tr April 27, 2015 Introduction Introduction Simulation is often used in the analysis of queuing models. A simple but typical model is the single-server

More information

Chapter 1. Introduction. 1.1 Stochastic process

Chapter 1. Introduction. 1.1 Stochastic process Chapter 1 Introduction Process is a phenomenon that takes place in time. In many practical situations, the result of a process at any time may not be certain. Such a process is called a stochastic process.

More information

Slides 9: Queuing Models

Slides 9: Queuing Models Slides 9: Queuing Models Purpose Simulation is often used in the analysis of queuing models. A simple but typical queuing model is: Queuing models provide the analyst with a powerful tool for designing

More information

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours. UNIVERSITY OF YORK MSc Examinations 2004 MATHEMATICS Networks Time Allowed: 3 hours. Answer 4 questions. Standard calculators will be provided but should be unnecessary. 1 Turn over 2 continued on next

More information

Routing and Staffing in Large-Scale Service Systems: The Case of Homogeneous Impatient Customers and Heterogeneous Servers 1

Routing and Staffing in Large-Scale Service Systems: The Case of Homogeneous Impatient Customers and Heterogeneous Servers 1 Routing and Staffing in Large-Scale Service Systems: The Case of Homogeneous Impatient Customers and Heterogeneous Servers 1 Mor Armony 2 Avishai Mandelbaum 3 June 25, 2008 Abstract Motivated by call centers,

More information

Performance Modelling of Computer Systems

Performance Modelling of Computer Systems Performance Modelling of Computer Systems Mirco Tribastone Institut für Informatik Ludwig-Maximilians-Universität München Fundamentals of Queueing Theory Tribastone (IFI LMU) Performance Modelling of Computer

More information

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days? IEOR 4106: Introduction to Operations Research: Stochastic Models Spring 2005, Professor Whitt, Second Midterm Exam Chapters 5-6 in Ross, Thursday, March 31, 11:00am-1:00pm Open Book: but only the Ross

More information

CDA5530: Performance Models of Computers and Networks. Chapter 3: Review of Practical

CDA5530: Performance Models of Computers and Networks. Chapter 3: Review of Practical CDA5530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes Definition Stochastic ti process X = {X(t), t T} is a collection of random variables (rvs); one

More information

J. MEDHI STOCHASTIC MODELS IN QUEUEING THEORY

J. MEDHI STOCHASTIC MODELS IN QUEUEING THEORY J. MEDHI STOCHASTIC MODELS IN QUEUEING THEORY SECOND EDITION ACADEMIC PRESS An imprint of Elsevier Science Amsterdam Boston London New York Oxford Paris San Diego San Francisco Singapore Sydney Tokyo Contents

More information

Elementary queueing system

Elementary queueing system Elementary queueing system Kendall notation Little s Law PASTA theorem Basics of M/M/1 queue M/M/1 with preemptive-resume priority M/M/1 with non-preemptive priority 1 History of queueing theory An old

More information

Continuous time Markov chains

Continuous time Markov chains Continuous time Markov chains Alejandro Ribeiro Dept. of Electrical and Systems Engineering University of Pennsylvania aribeiro@seas.upenn.edu http://www.seas.upenn.edu/users/~aribeiro/ October 16, 2017

More information

reversed chain is ergodic and has the same equilibrium probabilities (check that π j =

reversed chain is ergodic and has the same equilibrium probabilities (check that π j = Lecture 10 Networks of queues In this lecture we shall finally get around to consider what happens when queues are part of networks (which, after all, is the topic of the course). Firstly we shall need

More information

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory Contents Preface... v 1 The Exponential Distribution and the Poisson Process... 1 1.1 Introduction... 1 1.2 The Density, the Distribution, the Tail, and the Hazard Functions... 2 1.2.1 The Hazard Function

More information

Quantitative Model Checking (QMC) - SS12

Quantitative Model Checking (QMC) - SS12 Quantitative Model Checking (QMC) - SS12 Lecture 06 David Spieler Saarland University, Germany June 4, 2012 1 / 34 Deciding Bisimulations 2 / 34 Partition Refinement Algorithm Notation: A partition P over

More information

Birth-Death Processes

Birth-Death Processes Birth-Death Processes Birth-Death Processes: Transient Solution Poisson Process: State Distribution Poisson Process: Inter-arrival Times Dr Conor McArdle EE414 - Birth-Death Processes 1/17 Birth-Death

More information

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved. The objective of queuing analysis is to offer a reasonably satisfactory service to waiting customers. Unlike the other tools of OR, queuing theory is not an optimization technique. Rather, it determines

More information

15 Closed production networks

15 Closed production networks 5 Closed production networks In the previous chapter we developed and analyzed stochastic models for production networks with a free inflow of jobs. In this chapter we will study production networks for

More information

Review of Queuing Models

Review of Queuing Models Review of Queuing Models Recitation, Apr. 1st Guillaume Roels 15.763J Manufacturing System and Supply Chain Design http://michael.toren.net/slides/ipqueue/slide001.html 2005 Guillaume Roels Outline Overview,

More information

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia). wkc/course/part2.pdf

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia).  wkc/course/part2.pdf PART II (3) Continuous Time Markov Chains : Theory and Examples -Pure Birth Process with Constant Rates -Pure Death Process -More on Birth-and-Death Process -Statistical Equilibrium (4) Introduction to

More information

MARKOV PROCESSES. Valerio Di Valerio

MARKOV PROCESSES. Valerio Di Valerio MARKOV PROCESSES Valerio Di Valerio Stochastic Process Definition: a stochastic process is a collection of random variables {X(t)} indexed by time t T Each X(t) X is a random variable that satisfy some

More information

STAT 380 Continuous Time Markov Chains

STAT 380 Continuous Time Markov Chains STAT 380 Continuous Time Markov Chains Richard Lockhart Simon Fraser University Spring 2018 Richard Lockhart (Simon Fraser University)STAT 380 Continuous Time Markov Chains Spring 2018 1 / 35 Continuous

More information

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Chapter 2. Poisson Processes Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Outline Introduction to Poisson Processes Definition of arrival process Definition

More information