EE 489 Traffic Theory University of Alberta Dept. of Electrical and Computer Engineering Wayne Grover TRLabs and University of Alberta.

Slides:



Advertisements
Similar presentations
E&CE 418: Tutorial-4 Instructor: Prof. Xuemin (Sherman) Shen
Advertisements

Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Groups models Modeling and Dimensioning of Mobile Networks: from GSM to LTE.
Florida Institute of technologies ECE 5221 Personal Communication Systems Prepared by: Dr. Ivica Kostanic Lecture 19: Traffic planning (3) Spring 2011.
Capacity Setting and Queuing Theory
Author: Wayne Grover (materials set in PowerPoint by J. Doucette 2002) 1 Alternate Routing Other H. U. C Alternate Route AB High Usage Route (Direct Route)
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Queueing Theory: Part I
CHAPTER 6 Statistical Analysis of Experimental Data
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 16 Waiting Line Models and.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Trunking & Grade of Service
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
The Marriage Problem Finding an Optimal Stopping Procedure.
Basic teletraffic concepts An intuitive approach
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Introduction to Operations Research
1 Voice Traffic Engineering & Management. 2 PSTN and PBX networks are designed with 2 objectives: Maximize usage of their circuits Maximize usage of their.
Introduction to Network Design. e 2 Acknowledgement Edward Chow Robert Cahn.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
Modeling and Analysis of Computer Networks
M/M/1 queue λn = λ, (n >=0); μn = μ (n>=1) λ μ λ: arrival rate
COMT 2201 Managing Telecommunications Systems. COMT 2202 Managing Telecommunications Configuration Management Security Management Accounting Management.
1 Queuing Systems (2). Queueing Models (Henry C. Co)2 Queuing Analysis Cost of service capacity Cost of customers waiting Cost Service capacity Total.
JMB Chapter 5 Part 2 EGR Spring 2011 Slide 1 Multinomial Experiments  What if there are more than 2 possible outcomes? (e.g., acceptable, scrap,
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
EE6610: Week 6 Lectures.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
1 Dr. Ali Amiri TCOM 5143 Lecture 8 Capacity Assignment in Centralized Networks.
Modeling and Simulation Queuing theory
An Optimal Design of the M/M/C/K Queue for Call Centers
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
COMT 4291 Computing Resource Requirements for Circuit Switched Networks Introduction.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
EE 489 Telecommunication Systems Engineering University of Alberta Dept. of Electrical and Computer Engineering Introduction to Traffic Theory Wayne Grover.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Signalling Techniques
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
The Cellular Concept Early Mobile Communications The Cellular Concept
1 Queuing Delay and Queuing Analysis. RECALL: Delays in Packet Switched (e.g. IP) Networks End-to-end delay (simplified) = End-to-end delay (simplified)
2/16/2016 Subject Name: Digital Switching Systems Subject Code:10EC82 Prepared By: Aparna.P, Farha Kowser Department: Electronics and Communication Date:
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
COMT 4291 Queuing Analysis COMT Call/Packet Arrival Arrival Rate, Inter-arrival Time, 1/ Arrival Rate measures the number of customer arrivals.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Thought of the day Thought of the day Difference between science and spirituality is same as the difference between word and silence. Sameer Trapasiya.
The Cellular Concept Early Mobile Communications The Cellular Concept
Queueing Fundamentals for Network Design Application ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Management of Waiting Lines Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
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.
Module D Waiting Line Models.
Tele traffic A telephone network is composed of a variety of common equipment, such as: Digital receivers Call processors Inter-stage switching links &
Fundamentals of Cellular Networks (Part IV)
Models of Traffic Flow 1.
CTMCs & N/M/* Queues.
Models for Calculating Blocking Probabilities
Introduction to Network Design
IV-2 Manufacturing Systems modeling
Dept. of Electrical and Computer Engineering
The M/G/1 Queue and others.
“Sizing the Direct Route”
Some Discrete Probability Distributions Part 2
CSE 550 Computer Network Design
Multinomial Experiments
Presentation transcript:

EE 489 Traffic Theory University of Alberta Dept. of Electrical and Computer Engineering Wayne Grover TRLabs and University of Alberta

Material prepared by W. Grover ( ) 2 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Engineering One billion+ terminals in voice network alone –Plus data, video, fax, finance, etc. Imagine all users want service simultaneously…its not even nearly possible (despite our common intuition) –In practice, the actual amount of equipment provisioned is vastly less than would support all users simultaneously And yet, by and large, we get the impression of phone and data networks that work very well! How is this possible?  Traffic theory !!

Material prepared by W. Grover ( ) 3 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Engineering – Trade-offs Design number of transmission paths, or radio channels? –How many required normally? –What if there is an overload? Design switching and routing mechanisms –How do we route efficiently? –E.g. High-usage trunk groups Overflow trunk groups Where should traffic flows be combined or kept separate? Design network topology –Number and sizing of switching nodes and locations –Number and sizing of transmission systems and locations –Survivability

Material prepared by W. Grover ( ) 4 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Characterization of Telephone Traffic Calling Rate Calling Rate (  ) – also called arrival rate, or attempts rate, etc. –Average number of calls initiated per unit time (e.g. attempts per hour) –Each call arrival is independent of other calls (we assume) –Call attempt arrivals are random in time –Until otherwise, we assume a “large” calling group or source pool  T If receive  calls from a terminal in time T: m If receive  calls from m terminals in time T: Group calling ratePer terminal calling rate

Material prepared by W. Grover ( ) 5 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Characterization of Telephone Traffic (2) Calling rate assumption: –Number of calls in time T is Poisson distributed: –In our case  Time between calls is “-ve exponentially” distributed: Class Question: What do these observations about telephone traffic imply about the nature of the traffic sources?

Material prepared by W. Grover ( ) 6 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering -ve Exponential Holding Times Implies the “Memory-less” propertyImplies the “Memory-less” property –Prob. a call last another minute is independent of how long the call has already lasted! Call “forgets” that it has already survived to time T 1 Proof: Recall:

Material prepared by W. Grover ( ) 7 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Characterization of Telephone Traffic (3) Holding TimehHolding Time (h) –Mean length of time a call lasts –Probability of lasting time t or more is also –ve exponential in nature: –Real voice calls fits very closely to the negative exponential form above –As non-voice “calls” begin to dominate, more and more calls have a constant holding time characteristic Departure Rate Departure Rate (  ):

Material prepared by W. Grover ( ) 8 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Some Real Holding Time Data

Material prepared by W. Grover ( ) 9 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Volume (V)  = # calls in time period T h = mean holding time V = volume of calls in time period T ccsIn N. America this is historically usually expressed in terms of “ccs”: –Hundred call seconds c“c”c“c” c“c”c“c” s“s”s“s” –1 ccs is volume of traffic equal to: –one circuit busy for 100 seconds, or –two circuits busy for 50 seconds, or –100 circuits busy for one second, etc.

Material prepared by W. Grover ( ) 10 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Intensity (A) traffic flowtrafficAlso called “traffic flow” or simply “traffic”.  = # calls in time period T h = mean holding time T = time period of observations Units: ccs/hour –“ccs/hour”, or –dimensionless (if h and T are in the same units of time) Erlang “Erlang” unit  = # calls in time period T h = mean holding time T = time period of observations  = calling rate  = # calls in time period T h = mean holding time T = time period of observations  = calling rate  = departure rate Recall:  = # calls in time period T h = mean holding time T = time period of observations  = calling rate  = departure rate V = call volume

Material prepared by W. Grover ( ) 11 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering The Erlang Dimensionless unit of traffic intensity Named after Danish mathematician A. K. Erlang ( ) EUsually denoted by symbol E. 1 Erlang is equivalent to traffic intensity that keeps: –one circuit busy 100% of the time, or –two circuits busy 50% of the time, or –four circuits busy 25% of the time, etc. 26 Erlangs is equivalent to traffic intensity that keeps : –26 circuits busy 100% of the time, or –52 circuits busy 50% of the time, or –104 circuits busy 25% of the time, etc.

Material prepared by W. Grover ( ) 12 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Class Could 4 E be produced as a traffic intensity by: –16 sources? (What is the utilization?) –4 sources (same) –1 source? What is special about the traffic intensity if it pertains to one source or terminal only?

Material prepared by W. Grover ( ) 13 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang (2) ErlangccsHow does the Erlang unit correspond to ccs? Percentage of time a terminal is busy is equivalent to the traffic generated by that terminal in Erlangs, or Average number of circuits in a group busy at any time Typical usages: –residence phone -> 0.02 E –business phone -> 0.15 E –interoffice trunk -> 0.70 E

Material prepared by W. Grover ( ) 14 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Offered, Carried, and Lost Offered Traffic T O AOffered Traffic ( T O ) equivalent to Traffic Intensity (A) –Takes into account all attempted calls, whether blocked or not, and uses their expected holding times Carried Traffic T C Lost Traffic T LAlso Carried Traffic ( T C ) and Lost Traffic ( T L ) dedicated serviceConsider a group of 150 terminals, each with 10% utilization (or in other words, 0.1 E per source) and dedicated service: each terminal has an outgoing trunk (i.e. terminal:trunk ratio = 1:1) T O = A = 150 x 0.10 E = 15.0 E T C = 150 x 0.10 E = 15.0 E T L = 0 E

Material prepared by W. Grover ( ) 15 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Offered, Carried, and Lost (2) A = T O = T C + T L Traffic Intensity Offered Traffic Carried Traffic Lost Traffic T L = T O x Prob. Blocking (or congestion) = P(B) x T O = P(B) x A Circuit Utilization  Circuit EfficiencyCircuit Utilization (  ) - also called Circuit Efficiency –proportion of time a circuit is busy, or –average proportion of time each circuit in a group is busy

Material prepared by W. Grover ( ) 16 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Grade of Service (gos) In general, the term used for some traffic design objective Indicative of customer satisfaction In systems where blocked calls are cleared, usually use: Typical gos objectives: –in busy hour, range from 0.2% to 5% for local calls, however –generally no more that 1% –long distance calls often slightly higher In systems with queuing, gos often defined as the probability of delay exceeding a specific length of time

Material prepared by W. Grover ( ) 17 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Grade of Service Related Terms Busy HourBusy Hour –One hour period during which traffic volume or call attempts is the highest overall during any given time period Peak (or Daily) Busy HourPeak (or Daily) Busy Hour –Busy hour for each day, usually varies from day to day Busy SeasonBusy Season –3 months (not consecutive) with highest average daily busy hour High Day Busy Hour (HDBH)High Day Busy Hour (HDBH) –One hour period during busy season with the highest load

Material prepared by W. Grover ( ) 18 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Grade of Service Related Terms (2) HighestABSBH Average Busy Season Busy Hour (ABSBH)Average Busy Season Busy Hour (ABSBH) –One hour period with highest average daily busy hour during the busy season Average Busy Season Busy Hour (ABSBH)Average Busy Season Busy Hour (ABSBH) –One hour period with highest average daily busy hour during the busy season –For example, assume days shown below make up the busy season: Note: Red indicates daily busy hour

Material prepared by W. Grover ( ) 19 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Hourly Traffic Variations

Material prepared by W. Grover ( ) 20 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Daily Traffic Variations

Material prepared by W. Grover ( ) 21 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Seasonal Traffic Variations

Material prepared by W. Grover ( ) 22 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Seasonal Traffic Variations (2)

Material prepared by W. Grover ( ) 23 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Typical Call Attempts Breakdown Calls Completed % Called Party No Answer % Called Party Busy % Call Abandoned - 2.6% Dialing Error - 1.6% Number Changed or Disconnected - 0.4% Blockage or Failure - 1.9%

Material prepared by W. Grover ( ) 24 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering 3 Types of Blocking Models BCCBlocked Calls Cleared (BCC) –Blocked calls leave system and do not return –Good approximation for calls in 1 st choice trunk group BCHBlocked Calls Held (BCH) –Blocked calls remain in the system for the amount of time it would have normally stayed for –If a server frees up, the call picks up in the middle and continues –Not a good model of real world behaviour (mathematical approximation only) –Tries to approximate call reattempt efforts BCWBlocked Calls Wait (BCW) –Blocked calls enter a queue until a server is available –When a server becomes available, the call’s holding time begins

Material prepared by W. Grover ( ) 25 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Source #1 Offered Traffic Source #2 Offered Traffic minutes Total Traffic Offered: T O = 0.4 E E T O = 0.7 E 2 sources Blocked Calls Cleared (BCC) Only one server Traffic Carried 1 st call arrives and is served 1 2 nd call arrives but server already busy 2 2 nd call is cleared 1 3 rd call arrives and is served 3 4 th call arrives and is served 4 Total Traffic Carried: T C = 0.5 E

Material prepared by W. Grover ( ) 26 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Source #1 Offered Traffic Source #2 Offered Traffic minutes Total Traffic Offered: T O = 0.4 E E T O = 0.7 E 2 sources Blocked Calls Held (BCH) Traffic Carried Only one server 1 st call arrives and is served 2 nd call arrives but server busy 2 nd call is served 3 rd call arrives and is served 4 th call arrives and is served Total Traffic Carried: T C = 0.6 E 2 nd call is held until server free

Material prepared by W. Grover ( ) 27 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Source #1 Offered Traffic Source #2 Offered Traffic minutes Total Traffic Offered: T O = 0.4 E E T O = 0.7 E 2 sources Blocked Calls Wait (BCW) Only one server Traffic Carried 1 st call arrives and is served 1 2 nd call arrives but server busy 2 2 nd call waits until server free 2 nd call served 12 3 rd call arrives, waits, and is served 3 4 th call arrives, waits, and is served 4 Total Traffic Carried: T C = 0.7 E

Material prepared by W. Grover ( ) 28 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Blocking Probabilities Steady StateSystem must be in a Steady State –Also called state of statistical equilibrium –Arrival RateDeparture Rate –Arrival Rate of new calls equals Departure Rate of disconnecting calls –Why? If calls arrive faster that they depart? If calls depart faster than they arrive?

Material prepared by W. Grover ( ) 29 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Binomial Distribution Model Assumptions: –m –m sources –A –A Erlangs of offered traffic per source: T O = A/m probability that a specific source is busy: P(B) = A/m kCan use Binomial Distribution to give the probability that a certain number (k) of those m sources is busy:

Material prepared by W. Grover ( ) 30 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Binomial Distribution Model (2) N serversWhat does it mean if we only have N servers (N<m)? –We can have at most N busy sources at a time –What about the probability of blocking? All N servers must be busy before we have blocking Remember:

Material prepared by W. Grover ( ) 31 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Binomial Distribution Model (3) What does it mean if k>N? –Impossible to have more sources busy than servers to serve them –Doesn’t accurately represent reality In reality, P(k>N) = 0 –In this model, we still assign P(k>N) = A/m –Acts as good model of real behaviour Some people call back, some don’t Which type of blocking model is the Binomial Distribution? –Blocked Calls Held (BCH)

Material prepared by W. Grover ( ) 32 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Time Congestions vs. Call Congestion Time Congestion –Proportion of time a system is congested (all servers busy) –Probability of blocking from point of view of servers Call Congestion –Probability that an arriving call is blocked –Probability of blocking from point of view of calls Why/How are they different? Time Congestion: Probability that all servers are busy. Call Congestion: Probability that there are more sources wanting service than there are servers.

Material prepared by W. Grover ( ) 33 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Poisson Traffic Model large msmall A/mPoisson approximates Binomial with large m and small A/m = Mean # of Busy Sources Note: What is ? –Mean number of busy sources – = A

Material prepared by W. Grover ( ) 34 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Poisson Traffic Model (2) Now we can calculate probability of blocking: Remember: “P” = Poisson “N” = # Servers “A” = Offered Traffic Example : Poisson10 E Poisson P(B) with 10 E 7 servers offered to 7 servers

Material prepared by W. Grover ( ) 35 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Tables Consider a 1% chance of blocking in a system with N=10 trunks –How much offered traffic can the system handle? How do we calculate A? –Very carefully, or –Use traffic tables

Material prepared by W. Grover ( ) 36 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Tables (2) P(B)=P(N,A) N A

Material prepared by W. Grover ( ) 37 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Traffic Tables (3) P(N,A)=0.01 N=10 A=4.14 E If system with N = 10 trunks has P(B) = 0.01: System can handle Offered traffic (A) = 4.14 E

Material prepared by W. Grover ( ) 38 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Poisson Traffic Tables P(N,A)=0.01 N=10 A=4.14 E If system with N = 10 trunks has P(B) = 0.01: System can handle Offered traffic (A) = 4.14 E

Material prepared by W. Grover ( ) 39 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Efficiency of Large Groups What if there are N = 100 trunks? –Will they serve A = 10 x 4.14 E = 41.4 E with same P(B) = 1%? –No! –Traffic tables will show that A = 78.2 E! Why will 10 times trunks serve almost 20 times traffic? efficiency of large groups –Called efficiency of large groups: For N = 10, A = 4.14 E For N = 100, A = 78.2 E The larger the trunk group, the greater the efficiency

Material prepared by W. Grover ( ) 40 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering TrafCalc Software What if we need to calculate P(N,A) and not in traffic table? –TrafCalc –TrafCalc: Custom-designed software Calculates P(B) or A, or Creates custom traffic tables

Material prepared by W. Grover ( ) 41 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering TrafCalc Software (2) How do we calculate P(32,20)?

Material prepared by W. Grover ( ) 42 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering TrafCalc Software (3) How do we calculate A for which P(32,A) = 0.01?

Material prepared by W. Grover ( ) 43 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang B Model More sophisticated model than Binomial or Poisson Blocked Calls Cleared (BCC) Good for calls that can reroute to alternate route if blocked No approximation for reattempts if alternate route blocked too birth-death processDerived using birth-death process –See selected pages from Leonard Kleinrock, Queueing Systems Volume 1: Theory, John Wiley & Sons, 1975

Material prepared by W. Grover ( ) 44 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang B Birth-Death Process  tConsider infinitesimally small time  t during which only one arrival or departure (or none) may occur Let  be the arrival rate from an infinite pool or sources  = 1/hLet  = 1/h be the departure rate per call kk  –Note: if k calls in system, departure rate is k  Steady State Diagram: 012N-1N ……   22  NN (N-1)  33 Immediate Service Blockage

Material prepared by W. Grover ( ) 45 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang B Birth-Death Process (2) Steady State (statistical equilibrium) –Rate of arrival is the same as rate of departure –Average rate a system enters a given state is equal to the average rate at which the system leaves that state 012N-1N ……   22  NN (N-1)  33 P0P0 P1P1 P2P2 P N-1 PNPN Probability of moving from state 1 to state 2? P1P1P1P1 Probability of moving from state 2 to state 1? 2P22P22P22P2

Material prepared by W. Grover ( ) 46 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang B Birth-Death Process (3) Set up balance equations: 012N-1N ……   22  NN (N-1)  33 P0P0 P1P1 P2P2 P N-1 PNPN

Material prepared by W. Grover ( ) 47 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang B Birth-Death Process (4) Rule of Total Probability: Recall: For blocking, must be in state k = N: “B” = Erlang B “N” = # Servers “A” = Offered Traffic

Material prepared by W. Grover ( ) 48 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang B Traffic Table Example: In a BCC system with m=  sources, we can accept a 0.1% chance of blocking in the nominal case of 40E offered traffic. However, in the extreme case of a 20% overload, we can accept a 0.5% chance of blocking. How many outgoing trunks do we need?B(N,A)=0.001 A=40 E N=59 Nominal design: 59 trunks B(N,A)=0.005 A  48 E N=64 Overload design: 64 trunks Requirement: 64 trunks

Material prepared by W. Grover ( ) 49 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Example (2) P(N,A)=0.01 N=32 A=20.3 E

Material prepared by W. Grover ( ) 50 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering P(N,A) & B(N,A) - High Blocking We recognize that Poisson and Erlang B models are only approximations but which is better? –Compare them using a 4-trunk group offered A=10E Erlang B Poisson How can 4 trunks handle 10E offered traffic and be busy only 2.6% of the time?

Material prepared by W. Grover ( ) 51 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering P(N,A) & B(N,A) - High Blocking (2) Obviously, the Poisson result is so far off that it is almost meaningless as an approximation of the example. –4 servers offered enough traffic to keep 10 servers busy full time (10E) should result in much higher utilization. Erlang B result is more believable. –All 4 trunks are busy most of the time. What if we extend the exercise by increasing A? –Erlang B result goes to 4E carried traffic –Poisson result goes to 0E carried Illustrates the failure of the Poisson model as valid for situations with high blocking –Poisson only good approximation when low blocking –Use Erlang B if high blocking

Material prepared by W. Grover ( ) 52 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Engset Distribution Model BCC model with small number of sources (m > N)  = mean departure rate per call = mean arrival rate of a single source  k = arrival rate if in the system is state k  k = (m-k) 012N-1N …… P0P0 P1P1 P2P2 P N-1 PNPN m (m-1)  22 (m-2) [M-(N-2)] [m-(N-1)] NN (N-1)  33 Immediate Service Blockage

Material prepared by W. Grover ( ) 53 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Engset Traffic Model (2) Balance equations give: and therefore: but can show that: “E” = Engset

Material prepared by W. Grover ( ) 54 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Engset Traffic Table M = 30 sources # trunks (N) Traffic offered (A) P(B)=E(m,N,A) Example: 30 terminals each provide 0.16 Erlangs to a concentrator with a goal of less than 1% blocking. How many outgoing trunks do we need? A = 30 x 0.16 = 4.8 E A=4.8 E P(B)<0.01 N=10 N = 10 Trunks Requirement: N = 10 Trunks Check m < 10 x N? M=30 < 10 x 10 = 100

Material prepared by W. Grover ( ) 55 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang C Distribution Model infinite sourcesinfinite queue lengthBCW model with infinite sources (m) and infinite queue length  = arrival rate of new calls  = mean departure rate per call 012NQ1 Q2 …… P0P0 P1P1 P2P2 PNPN P Q1 P Q2   22    NN NN NN NN 33 Immediate Service Blockage

Material prepared by W. Grover ( ) 56 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang C Distribution Model (2) Balance equations give: and But P(B) = P(k  N): but can show that: “C” = Erlang C

Material prepared by W. Grover ( ) 57 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Erlang C Traffic Tables # trunks (N) Traffic offered (A) P(B)=C(N,A) Example: What is the probability of blocking in an Erlang C system with 18 servers offered 7 Erlangs of traffic?N=18 A=7 E C(18,7)=0.0004

Material prepared by W. Grover ( ) 58 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Delay in Erlang C Expected number of calls in the queue? Recall: Also:

Material prepared by W. Grover ( ) 59 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Comparison of Traffic Models Offered Traffic (A) P(B) Binomial (BCH, m sources) Poisson (BCH,  sources) Erlang B (BCC,  sources) Engset (BCC, m sources) Erlang C (BCW,  sources)

Material prepared by W. Grover ( ) 60 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Efficiency of Large Groups Already seen that for same P(B), increasing servers results in more than proportional increase in traffic carried example 1: and example 2: and example 3: and What does this mean? –If it’s possible to collect together several diverse sources, you can provide better gos at same cost, or provide same gos at cheaper cost

Material prepared by W. Grover ( ) 61 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Efficiency of Large Groups (2) Two trunk groups offered 5 Erlangs each, and B(N,A)=0.002 N 1 =? 5 E N 2 =? 5 E How many trunks total? From traffic tables, find B(13,5)  N 1 =13 N 2 =13 N total = = 26 trunks Trunk efficiency? 38.4% utilization

Material prepared by W. Grover ( ) 62 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Efficiency of Large Groups (3) One trunk group offered 10 Erlangs, and B(N,A)=0.002 N=? 10 E How many trunks? From traffic tables, find B(20,10)  N=20 N = 20 trunks Trunk efficiency? 49.9% utilization For same gos, we can save 6 trunks!

Material prepared by W. Grover ( ) 63 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Efficiency of Large Groups (4) N  B=0.1 B=0.01 B=0.001 N A B=0.1 B=0.01 B=0.001

Material prepared by W. Grover ( ) 64 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Sensitivity to Overload Consider 2 cases: Case 1: N = 10 and B(N,A) = 0.01 B(10,4.5)  0.01, so can carry 4.5 E What if 20% overload (5.4 E)? B(10,5.4)  times P(B) with 20% overload Case 1: N = 30 and B(N,A) = 0.01 B(30,20.3)  0.01, so can carry 20.3 E What if 20% overload (24.5 E)? B(30,24.5)  times P(B) with 20% overload! “Trunk Group Splintering” if high possibility of overloads, small groups may be better

Material prepared by W. Grover ( ) 65 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Incremental Traffic Carried by N th Trunk If a trunk group is of size N-1, how much extra traffic can it carry if you add one extra trunk? –Before, can carry: T C1 = A x [1-(B(N-1,A)] –After, can carry: T C2 = A x [1-(B(N,A)] What does this mean? –Random Hunting –Random Hunting: Increase in trunk group’s total carried traffic after adding an N th trunk –Sequential Hunting –Sequential Hunting: Actual traffic carried by the N th trunk in the group for very low blocking

Material prepared by W. Grover ( ) 66 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Incremental Traffic Carried by N th Trunk (3) N ANAN Fixed B(N,A)

Material prepared by W. Grover ( ) 67 Traffic Theory, W. Grover–University of Alberta, Dept. of Electrical and Computer Engineering Example Individual trunks are only economic if they can carry 0.4 E or more. A trunk group of size N=10 is offered 6 E. Will all 10 trunks be economical?  At least the 10 th trunk is not economical