SlideShare a Scribd company logo
1 of 18
Giuseppe Bianchi
Basic teletraffic conceptsBasic teletraffic concepts
An intuitive approachAn intuitive approach
(theory will come next)(theory will come next)
Focus on “calls”Focus on “calls”
Giuseppe Bianchi
1 user making phone calls1 user making phone calls
BUSY 1
IDLE 0
time
 How to characterize this process?
 statistical distribution of the “BUSY” period
 statistical distribution of the “IDLE” period
 statistical characterization of the process “memory”
E.g. at a given time, does the probability that a user starts a call result
different depending on what happened in the past?
TRAFFIC is a “stochastic process”
Giuseppe Bianchi
Traffic characterizationTraffic characterization
suitable for traffic engineeringsuitable for traffic engineering
( ) ( )
valueprocessmean
stateBUSYinisusert,timerandomaaty that,probabilit
mindurationcallaverageminpercallsofnumberaverage
t
tinbusy timeofamount
Aintensitytraffic limi
=
==
=×=
=
∆
∆
=
∞→∆
τλ
t
All equivalent (if stationary process)
Giuseppe Bianchi
Traffic Intensity: exampleTraffic Intensity: example
User makes in average 1 call every
hour
Each call lasts in average 120 s
Traffic intensity =
120 sec / 3600 sec = 2 min / 60 min = 1/30
Probability that a user is busy
User busy 2 min out of 60 = 1/30
adimensional
Giuseppe Bianchi
Traffic generated by more thanTraffic generated by more than
one usersone users
TOT
U1
U2
U3
U4
i
i
i AAA 4
4
1
== ∑=
Traffic intensity
(adimensional, measured in Erlangs):
[ ] ( )
[ ] AAE
AA
k
P
i
k
i
k
i
=⋅=
−





=
−
4callsactive
1
4
callsactivek
4
Giuseppe Bianchi
exampleexample
5 users
Each user makes an average of 3 calls per
hour
Each call, in average, lasts for 4 minutes
[ ] [ ]
[ ] [ ]erlerlA
erlhours
hour
calls
Ai
1
5
1
5
5
1
60
4
3
=×=
=×



=
Meaning: in average, there is 1 active call;
but the actual number of active calls varies
from 0 (no active user) to 5 (all users active),
with given probability
number of active users probability
0 0,327680
1 0,409600
2 0,204800
3 0,051200
4 0,006400
5 0,000320
Giuseppe Bianchi
Second exampleSecond example
 30 users
 Each user makes an
average of 1 calls per
hour
 Each call, in average,
lasts for 4 minutes
Erlangs2
60
4
130 =





⋅×=A
SOME NOTES:
-In average, 2 active calls (intensity A);
-Frequently, we find up to 4 or 5 calls;
-Prob(n.calls>8) = 0.01%
-More than 11 calls only once over 1M
TRAFFIC ENGINEERING: how many
channels to reserve for these users!
n. active users binom probab cumulat
0 1 1,3E-01 0,126213
1 30 2,7E-01 0,396669
2 435 2,8E-01 0,676784
3 4060 1,9E-01 0,863527
4 27405 9,0E-02 0,953564
5 142506 3,3E-02 0,987006
6 593775 1,0E-02 0,996960
7 2035800 2,4E-03 0,999397
8 5852925 5,0E-04 0,999898
9 14307150 8,7E-05 0,999985
10 30045015 1,3E-05 0,999998
11 54627300 1,7E-06 1,000000
12 86493225 1,9E-07 1,000000
13 119759850 1,9E-08 1,000000
14 145422675 1,7E-09 1,000000
15 155117520 1,3E-10 1,000000
16 145422675 8,4E-12 1,000000
17 119759850 5,0E-13 1,000000
18 86493225 2,6E-14 1,000000
19 54627300 1,2E-15 1,000000
20 30045015 4,5E-17 1,000000
21 14307150 1,5E-18 1,000000
22 5852925 4,5E-20 1,000000
23 2035800 1,1E-21 1,000000
24 593775 2,3E-23 1,000000
25 142506 4,0E-25 1,000000
26 27405 5,5E-27 1,000000
27 4060 5,8E-29 1,000000
28 435 4,4E-31 1,000000
29 30 2,2E-33 1,000000
30 1 5,2E-36 1,000000
Giuseppe Bianchi
A note on binomial coefficient computationA note on binomial coefficient computation
( ) ( ) ( )( )
( ) ( ) ( ) exp...)before!overflow!(no
)!problems!overflowbut






−−=
=−−=













=





+=
+==





∑∑∑ ===
48
1
12
1
60
1
logloglogexp
!48log!12log!60logexp
12
60
logexp
12
60
(8132099.8!60
1239936.1
!48!12
!60
12
60
iii
iii
e
e
( )
( ) ( ) ( ) ( ) ( )
)never!!overflow!(no






−++−−=
=−





∑∑∑ ===
ii
iii
ii
AAiii
AA
1log48log12logloglogexp
1
12
60
48
1
12
1
60
1
4812
Giuseppe Bianchi
Infinite UsersInfinite Users
[ ] ( )
( ) k
M
k
kM
i
k
i
M
A
M
A
M
A
kkM
M
AA
k
M
P






−






−






−
=−





=
−
1
1
!!
!
1usersMcalls,activek
ssume M users, generating an overall traffic intensity A
.e. each user generates traffic at intensity Ai =A/M).
We have just found that
t Minfinity, while maintaining the same overall traffic intensity A
[ ]
( )
( ) ( )
!
11
11
lim
!
11
!
1
!
!
limuserscalls,activek
k
A
e
M
A
M
A
M
kMMM
k
A
M
A
M
A
M
A
kkM
M
P
k
A
k
A
A
M
kM
k
kM
k
k
M
−
−
−
−
∞→
−
∞→
=





−⋅














−⋅
+−−
⋅=
=





−⋅





−⋅⋅⋅
−
=∞

Giuseppe Bianchi
Poisson DistributionPoisson Distribution
( )
!k
A
eAP
k
A
k
−
=
0%
5%
10%
15%
20%
25%
30%
0 2 4 6 8 10 12 14 16 18 20 22
poisson
binomial (M=30)
A=2 erl
A=10 erl
Very good matching with Binomial
(when M large with respect to A)
Much simpler to use than Binomial
(no annoying queueing theory complications)
Giuseppe Bianchi
Limited number of channelsLimited number of channels
 The number of channels
C is less than the number
of users M (eventually
infinite)
 Some offered calls will be
“blocked”
 What is the blocking
probability?
We have an expression for
P[k offered calls]
We must find an expression for
P[k accepted calls]
As: TOT
U1
U2
U3
U4
THE most important problem
in circuit switching
X
X
No. carried calls versus t
No. offered calls versus t
[ ]callsacceptedC]block[ PP =
Giuseppe Bianchi
Channel utilization probabilityChannel utilization probability
 C channels available
 Assumptions:
 Poisson distribution (infin. users)
 Blocked calls cleared
 It can be proven (from
Queueing theory) that:
(very simple result!)
 Hence:
[ ]
[ ]∑=
=
=∈
C
i
P
P
P
0
callsofferedi
callsofferedk
]C)(0,ksystem,in thecallsk[
offered traffic: 2 erl - C=3
0%
5%
10%
15%
20%
25%
30%
35%
0 1 2 3 4 5 6 7 8
offered calls
accepted calls
[ ]
[ ]∑=
== C
i
P
P
PP
0
callsofferedi
callsofferedC
]callsacceptedC[]fullsystem[
Giuseppe Bianchi
Blocking probability: Erlang-BBlocking probability: Erlang-B
 Fundamental formula for
telephone networks planning
 Ao=offered traffic in Erlangs
( )oCC
j
j
o
C
o
block AE
j
A
C
A
,1
0 !
! ==Π
∑=
( )
( )
( )oCo
oCo
oC
AEAC
AEA
AE
1,1
1,1
,1
−
−
+
=
0,01%
0,10%
1,00%
10,00%
100,00%
0 1 2 3 4 5
offered load (erlangs)
blockingprobability
C=1,2,3,4,5,6,7
 Efficient recursive computation
available
Giuseppe Bianchi
 Erlang-B obtained for the
infinite users case
 It is easy (from queueing
theory) to obtain an explicit
blocking formula for the
finite users case:
 ENGSET FORMULA:
M
A
A
i
M
A
C
M
A
o
i
C
k
k
i
C
i
block
=





 −





 −
=Π
∑=0
1
1
 Erlang-B can be re-obtained as
limit case
 Minfinity
 Ai0
 M·AiAo
 Erlang-B is a very good
approximation as long as:
 A/M small (e.g. <0.2)
 In any case, Erlang-B is a
conservative formula
 yields higher blocking
probability
 Good feature for planning
NOTE: finite usersNOTE: finite users
Giuseppe Bianchi
Capacity planningCapacity planning
Target: support users with a given Grade Of
Service (GOS)
GOS expressed in terms of upper-bound for the blocking
probability
GOS example: subscribers should find a line available in the
99% of the cases, i.e. they should be blocked in no more than
1% of the attempts
Given:
C channels
Offered load Ao
Target GOS Btarget
C obtained from numerical inversion of ( )oC AEB ,1target =
Giuseppe Bianchi
Channel usage efficiencyChannel usage efficiency
oA C channels ( )BAA oc −= 1
Offered load (erl) Carried load (erl)
BAo
Blocked traffic
( )( ) blockingsmallif
1
:efficiency ,1
C
A
C
AEA
C
A ooCoc
≈
−
==η
Fundamental property: for same GOS, efficiency
increases as C grows!! (trunking gain)
Giuseppe Bianchi
exampleexample
0,1%
1,0%
10,0%
100,0%
0 20 40 60 80 100 120
capacity C
blockingprobability
A = 40 erl
A = 60 erl
A = 80 erl
A = 100 erl
GOS = 1% maximum blocking.
Resulting system dimensioning
and efficiency:
40 erl C >= 53
60 erl C >= 75
80 erl C >= 96
100 erl C >= 117
η = 74.9%
η = 79.3%
η = 82.6%
η = 84.6%
Giuseppe Bianchi
Erlang B calculation - tablesErlang B calculation - tables

More Related Content

What's hot

Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
avtarsingh
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)
Muhammad NasRi
 

What's hot (20)

Queuing model
Queuing model Queuing model
Queuing model
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Waiting lines
Waiting linesWaiting lines
Waiting lines
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Multiplexing : Wave Division Multiplexing
Multiplexing : Wave Division MultiplexingMultiplexing : Wave Division Multiplexing
Multiplexing : Wave Division Multiplexing
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
Ijetr021226
Ijetr021226Ijetr021226
Ijetr021226
 
simulation in Queue
simulation in Queuesimulation in Queue
simulation in Queue
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
14 queuing
14 queuing14 queuing
14 queuing
 
Queuing in Project Management
Queuing in Project ManagementQueuing in Project Management
Queuing in Project Management
 
Timing synchronization F Ling_v1.2
Timing synchronization F Ling_v1.2Timing synchronization F Ling_v1.2
Timing synchronization F Ling_v1.2
 
Routing in telephone networks
Routing in telephone networksRouting in telephone networks
Routing in telephone networks
 
12 routing(1)
12 routing(1)12 routing(1)
12 routing(1)
 

Similar to 03 traffic

Paper id 252014114
Paper id 252014114Paper id 252014114
Paper id 252014114
IJRAT
 
USE TORA TODetermine the maximum flow and the optimum flow in eac.pdf
USE TORA TODetermine the maximum flow and the optimum flow in eac.pdfUSE TORA TODetermine the maximum flow and the optimum flow in eac.pdf
USE TORA TODetermine the maximum flow and the optimum flow in eac.pdf
seamusschwaabl99557
 
Report AdvOpticalComm - Pietro Santoro -
Report AdvOpticalComm - Pietro Santoro -Report AdvOpticalComm - Pietro Santoro -
Report AdvOpticalComm - Pietro Santoro -
Pietro Santoro
 
Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...
Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...
Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...
Andrea Tino
 

Similar to 03 traffic (20)

Stft vs. mfcc
Stft vs. mfccStft vs. mfcc
Stft vs. mfcc
 
Audio Processing
Audio ProcessingAudio Processing
Audio Processing
 
Introduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptIntroduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.ppt
 
A genetic algorithm aimed at optimising seismic retrofitting of existing RC f...
A genetic algorithm aimed at optimising seismic retrofitting of existing RC f...A genetic algorithm aimed at optimising seismic retrofitting of existing RC f...
A genetic algorithm aimed at optimising seismic retrofitting of existing RC f...
 
FramelessALOHA_2014.pptx
FramelessALOHA_2014.pptxFramelessALOHA_2014.pptx
FramelessALOHA_2014.pptx
 
Dsp book ch15
Dsp book ch15Dsp book ch15
Dsp book ch15
 
A blind channel shortening for multiuser, multicarrier CDMA system over multi...
A blind channel shortening for multiuser, multicarrier CDMA system over multi...A blind channel shortening for multiuser, multicarrier CDMA system over multi...
A blind channel shortening for multiuser, multicarrier CDMA system over multi...
 
Intelligent traffic signal control system using embedded system
Intelligent traffic signal control system using embedded systemIntelligent traffic signal control system using embedded system
Intelligent traffic signal control system using embedded system
 
476 293
476 293476 293
476 293
 
Titan X Research Paper
Titan X Research PaperTitan X Research Paper
Titan X Research Paper
 
Paper id 252014114
Paper id 252014114Paper id 252014114
Paper id 252014114
 
project_2
project_2project_2
project_2
 
ResearchPaper_Final
ResearchPaper_FinalResearchPaper_Final
ResearchPaper_Final
 
USE TORA TODetermine the maximum flow and the optimum flow in eac.pdf
USE TORA TODetermine the maximum flow and the optimum flow in eac.pdfUSE TORA TODetermine the maximum flow and the optimum flow in eac.pdf
USE TORA TODetermine the maximum flow and the optimum flow in eac.pdf
 
Adc dac
Adc dacAdc dac
Adc dac
 
Report AdvOpticalComm - Pietro Santoro -
Report AdvOpticalComm - Pietro Santoro -Report AdvOpticalComm - Pietro Santoro -
Report AdvOpticalComm - Pietro Santoro -
 
Multi user-MIMO Broadcast Channel techniques
Multi user-MIMO Broadcast Channel techniquesMulti user-MIMO Broadcast Channel techniques
Multi user-MIMO Broadcast Channel techniques
 
Blind deconvolution in Wireless Communication
Blind deconvolution in Wireless CommunicationBlind deconvolution in Wireless Communication
Blind deconvolution in Wireless Communication
 
Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...
Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...
Improved implementation of a Deadline Monotonic algorithm for aperiodic traff...
 
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 

03 traffic

  • 1. Giuseppe Bianchi Basic teletraffic conceptsBasic teletraffic concepts An intuitive approachAn intuitive approach (theory will come next)(theory will come next) Focus on “calls”Focus on “calls”
  • 2. Giuseppe Bianchi 1 user making phone calls1 user making phone calls BUSY 1 IDLE 0 time  How to characterize this process?  statistical distribution of the “BUSY” period  statistical distribution of the “IDLE” period  statistical characterization of the process “memory” E.g. at a given time, does the probability that a user starts a call result different depending on what happened in the past? TRAFFIC is a “stochastic process”
  • 3. Giuseppe Bianchi Traffic characterizationTraffic characterization suitable for traffic engineeringsuitable for traffic engineering ( ) ( ) valueprocessmean stateBUSYinisusert,timerandomaaty that,probabilit mindurationcallaverageminpercallsofnumberaverage t tinbusy timeofamount Aintensitytraffic limi = == =×= = ∆ ∆ = ∞→∆ τλ t All equivalent (if stationary process)
  • 4. Giuseppe Bianchi Traffic Intensity: exampleTraffic Intensity: example User makes in average 1 call every hour Each call lasts in average 120 s Traffic intensity = 120 sec / 3600 sec = 2 min / 60 min = 1/30 Probability that a user is busy User busy 2 min out of 60 = 1/30 adimensional
  • 5. Giuseppe Bianchi Traffic generated by more thanTraffic generated by more than one usersone users TOT U1 U2 U3 U4 i i i AAA 4 4 1 == ∑= Traffic intensity (adimensional, measured in Erlangs): [ ] ( ) [ ] AAE AA k P i k i k i =⋅= −      = − 4callsactive 1 4 callsactivek 4
  • 6. Giuseppe Bianchi exampleexample 5 users Each user makes an average of 3 calls per hour Each call, in average, lasts for 4 minutes [ ] [ ] [ ] [ ]erlerlA erlhours hour calls Ai 1 5 1 5 5 1 60 4 3 =×= =×    = Meaning: in average, there is 1 active call; but the actual number of active calls varies from 0 (no active user) to 5 (all users active), with given probability number of active users probability 0 0,327680 1 0,409600 2 0,204800 3 0,051200 4 0,006400 5 0,000320
  • 7. Giuseppe Bianchi Second exampleSecond example  30 users  Each user makes an average of 1 calls per hour  Each call, in average, lasts for 4 minutes Erlangs2 60 4 130 =      ⋅×=A SOME NOTES: -In average, 2 active calls (intensity A); -Frequently, we find up to 4 or 5 calls; -Prob(n.calls>8) = 0.01% -More than 11 calls only once over 1M TRAFFIC ENGINEERING: how many channels to reserve for these users! n. active users binom probab cumulat 0 1 1,3E-01 0,126213 1 30 2,7E-01 0,396669 2 435 2,8E-01 0,676784 3 4060 1,9E-01 0,863527 4 27405 9,0E-02 0,953564 5 142506 3,3E-02 0,987006 6 593775 1,0E-02 0,996960 7 2035800 2,4E-03 0,999397 8 5852925 5,0E-04 0,999898 9 14307150 8,7E-05 0,999985 10 30045015 1,3E-05 0,999998 11 54627300 1,7E-06 1,000000 12 86493225 1,9E-07 1,000000 13 119759850 1,9E-08 1,000000 14 145422675 1,7E-09 1,000000 15 155117520 1,3E-10 1,000000 16 145422675 8,4E-12 1,000000 17 119759850 5,0E-13 1,000000 18 86493225 2,6E-14 1,000000 19 54627300 1,2E-15 1,000000 20 30045015 4,5E-17 1,000000 21 14307150 1,5E-18 1,000000 22 5852925 4,5E-20 1,000000 23 2035800 1,1E-21 1,000000 24 593775 2,3E-23 1,000000 25 142506 4,0E-25 1,000000 26 27405 5,5E-27 1,000000 27 4060 5,8E-29 1,000000 28 435 4,4E-31 1,000000 29 30 2,2E-33 1,000000 30 1 5,2E-36 1,000000
  • 8. Giuseppe Bianchi A note on binomial coefficient computationA note on binomial coefficient computation ( ) ( ) ( )( ) ( ) ( ) ( ) exp...)before!overflow!(no )!problems!overflowbut       −−= =−−=              =      += +==      ∑∑∑ === 48 1 12 1 60 1 logloglogexp !48log!12log!60logexp 12 60 logexp 12 60 (8132099.8!60 1239936.1 !48!12 !60 12 60 iii iii e e ( ) ( ) ( ) ( ) ( ) ( ) )never!!overflow!(no       −++−−= =−      ∑∑∑ === ii iii ii AAiii AA 1log48log12logloglogexp 1 12 60 48 1 12 1 60 1 4812
  • 9. Giuseppe Bianchi Infinite UsersInfinite Users [ ] ( ) ( ) k M k kM i k i M A M A M A kkM M AA k M P       −       −       − =−      = − 1 1 !! ! 1usersMcalls,activek ssume M users, generating an overall traffic intensity A .e. each user generates traffic at intensity Ai =A/M). We have just found that t Minfinity, while maintaining the same overall traffic intensity A [ ] ( ) ( ) ( ) ! 11 11 lim ! 11 ! 1 ! ! limuserscalls,activek k A e M A M A M kMMM k A M A M A M A kkM M P k A k A A M kM k kM k k M − − − − ∞→ − ∞→ =      −⋅               −⋅ +−− ⋅= =      −⋅      −⋅⋅⋅ − =∞ 
  • 10. Giuseppe Bianchi Poisson DistributionPoisson Distribution ( ) !k A eAP k A k − = 0% 5% 10% 15% 20% 25% 30% 0 2 4 6 8 10 12 14 16 18 20 22 poisson binomial (M=30) A=2 erl A=10 erl Very good matching with Binomial (when M large with respect to A) Much simpler to use than Binomial (no annoying queueing theory complications)
  • 11. Giuseppe Bianchi Limited number of channelsLimited number of channels  The number of channels C is less than the number of users M (eventually infinite)  Some offered calls will be “blocked”  What is the blocking probability? We have an expression for P[k offered calls] We must find an expression for P[k accepted calls] As: TOT U1 U2 U3 U4 THE most important problem in circuit switching X X No. carried calls versus t No. offered calls versus t [ ]callsacceptedC]block[ PP =
  • 12. Giuseppe Bianchi Channel utilization probabilityChannel utilization probability  C channels available  Assumptions:  Poisson distribution (infin. users)  Blocked calls cleared  It can be proven (from Queueing theory) that: (very simple result!)  Hence: [ ] [ ]∑= = =∈ C i P P P 0 callsofferedi callsofferedk ]C)(0,ksystem,in thecallsk[ offered traffic: 2 erl - C=3 0% 5% 10% 15% 20% 25% 30% 35% 0 1 2 3 4 5 6 7 8 offered calls accepted calls [ ] [ ]∑= == C i P P PP 0 callsofferedi callsofferedC ]callsacceptedC[]fullsystem[
  • 13. Giuseppe Bianchi Blocking probability: Erlang-BBlocking probability: Erlang-B  Fundamental formula for telephone networks planning  Ao=offered traffic in Erlangs ( )oCC j j o C o block AE j A C A ,1 0 ! ! ==Π ∑= ( ) ( ) ( )oCo oCo oC AEAC AEA AE 1,1 1,1 ,1 − − + = 0,01% 0,10% 1,00% 10,00% 100,00% 0 1 2 3 4 5 offered load (erlangs) blockingprobability C=1,2,3,4,5,6,7  Efficient recursive computation available
  • 14. Giuseppe Bianchi  Erlang-B obtained for the infinite users case  It is easy (from queueing theory) to obtain an explicit blocking formula for the finite users case:  ENGSET FORMULA: M A A i M A C M A o i C k k i C i block =       −       − =Π ∑=0 1 1  Erlang-B can be re-obtained as limit case  Minfinity  Ai0  M·AiAo  Erlang-B is a very good approximation as long as:  A/M small (e.g. <0.2)  In any case, Erlang-B is a conservative formula  yields higher blocking probability  Good feature for planning NOTE: finite usersNOTE: finite users
  • 15. Giuseppe Bianchi Capacity planningCapacity planning Target: support users with a given Grade Of Service (GOS) GOS expressed in terms of upper-bound for the blocking probability GOS example: subscribers should find a line available in the 99% of the cases, i.e. they should be blocked in no more than 1% of the attempts Given: C channels Offered load Ao Target GOS Btarget C obtained from numerical inversion of ( )oC AEB ,1target =
  • 16. Giuseppe Bianchi Channel usage efficiencyChannel usage efficiency oA C channels ( )BAA oc −= 1 Offered load (erl) Carried load (erl) BAo Blocked traffic ( )( ) blockingsmallif 1 :efficiency ,1 C A C AEA C A ooCoc ≈ − ==η Fundamental property: for same GOS, efficiency increases as C grows!! (trunking gain)
  • 17. Giuseppe Bianchi exampleexample 0,1% 1,0% 10,0% 100,0% 0 20 40 60 80 100 120 capacity C blockingprobability A = 40 erl A = 60 erl A = 80 erl A = 100 erl GOS = 1% maximum blocking. Resulting system dimensioning and efficiency: 40 erl C >= 53 60 erl C >= 75 80 erl C >= 96 100 erl C >= 117 η = 74.9% η = 79.3% η = 82.6% η = 84.6%
  • 18. Giuseppe Bianchi Erlang B calculation - tablesErlang B calculation - tables