Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5....

33
J.1 Circuit Switching: Traffic Engineering References Chapter 1, Telecommunication System Engineering, Roger L. Freeman, Wiley.

Transcript of Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5....

Page 1: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.1

Circuit Switching: Traffic EngineeringReferences

• Chapter 1, Telecommunication System Engineering,Roger L. Freeman, Wiley.

Page 2: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.2

Introduction

Example:– mesh connection (full mesh) for an eight-subscriber

system

Page 3: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.3

Introduction

– justify a mesh connection is when each and everysubscriber wishes to communicate with every othersubscriber in the network for virtually the entire day.

– Most subscriber do not use their telephones on a full-timebasis

– the ordinary subscriber will normally talk to only oneother subscriber at a time• will not need to talk to all other subscribers

simultaneously

Page 4: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.4

Introduction

– Star network with a switch at the center• switch reduce the number of links between subscribers

Page 5: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.5

Introduction

Terminology– Trunk

• the telephone lines connecting one telephone switch orexchange with another are called trunks.

• one of the most important steps in telecommunicationengineering practice is to determine the number oftrunks required between exchanges.

Dimensioning

Page 6: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.6

Introduction

Terminology– Calling rate (C)

• The number of calls which arrive over a time interval– Holding time (H)

• The average duration of a call

– Telephone traffic may fluctuate throughout the day, andmay have a “busy hour” which is the hour that has themost number of calls• busy hour depends on various factors such as stock

market, weather and international events

Page 7: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.7

Introduction

Example

Page 8: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.8

Measurement of Traffic

– The traffic intensity, more often called the traffic, isdefined as the average number of calls in progress. Theunit of traffic is Erlang (E)

– A: traffic intensity– C: number of calls arrivals during time T– h: average holding time

TChA /=

Page 9: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.9

Measurement of Traffic

– Since a single trunk cannot carry more than one call, wecan write

– The probability of finding the trunk busy is equal to theproportion of time for which the trunk is busy. Thus, thisprobability equals the occupancy (A) of the trunk.

1≤A

Page 10: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.10

Measurement of Traffic

Example: 1.5 erlang of traffic carried on three trunks

Trunk 1

Trunk 2

Trunk 3

time

1.5E

Busy

Free

Page 11: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.11

Measurement of Traffic

Example:– On average, during the busy hour, a company makes 120

outgoing calls of average duration 2 minutes. It receives200 incoming calls of average duration 3 minutes.• Find the outgoing traffic, the incoming traffic and the

total traffic

Outgoing traffic = 120 x 2 / 60 = 4 EIncoming traffic = 200 x 3 / 60 =10 ETotal traffic = 4 + 10 = 14 E

Page 12: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.12

Measurement of Traffic

Example:– During the busy hour, on average, a customer with a

single telephone line makes three calls and receives threecalls. The average call duration is 2 minutes. What is theprobability that a caller will find the line engaged?

Total traffic = Occupancy of line = (3+3) x 2 / 60 = 0.1 E

Probability of finding the line engaged = 0.1

Page 13: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.13

Blockage, Lost Calls, and Grade of Service

Lost call or blocked calls– In a circuit-switched system, all attempts to make calls

over a congested group of trunks are unsuccessful. Theunsuccessful call is called lost call or blocked call.

Grade of service– probability of meeting blockage is called the grade of

service (B)– Example: On average, one call in 100 will be blocked

• B=0.1

Page 14: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.14

Blockage, Lost Calls, and Grade of Service

Lost call or blocked calls– In a circuit-switched system, all attempts to make calls

over a congested group of trunks are unsuccessful. Theunsuccessful call is called lost call or blocked call.

Grade of service– probability of meeting blockage is called the grade of

service (B)

calls offered ofnumber Totalcallslost ofNumber

=B

Page 15: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.15

Blockage, Lost Calls, and Grade of Service

– Grade of service is also the• proportion of the time for which congestion exists• probability of congestion• probability that a call will be lost due to congestion

– If traffic A erlangs is offered by a group of trunks havinga grad of service B, the traffic lost is AB and the trafficcarried is A(1-B) erlangs.

Page 16: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.16

Blockage, Lost Calls, and Grade of Service

Example– During the busy hour, 1200 calls were offered to a group

of trunks and six calls were lost. The average callduration was 3 minutes

– The traffic offered = A = 1200 x 3 /60 = 60 E– The traffic carried = A-B = (1200-6) x 3 / 60 = 59.7 E– The traffic lost = B = 6 x 3 / 60 = 0.3 E– Grade of service = B/A = 0.3 / 60 = 0.005– The total duration of the periods of congestion = B x T = 0.005 x 3600 =18 seconds

Page 17: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.17

Traffic Formulas

Models of traffic– call arrivals at an exchange are random in nature.– It fits a family of probability-distribution curves

following a Poisson distribution

– Variance-to-mean ratio (VMR)

µσα

2

=

Page 18: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.18

Traffic Formulas

Traffic probability distribution (Smooth, Rough and Random)

– Smooth: VMR < 1

Page 19: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.19

Traffic Formulas

Traffic probability distribution– Rough: VMR > 1

Page 20: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.20

Traffic Formulas

Rough traffic– tends to be “peakier” than random and smooth traffic.

– For a given grade of service, more circuits are requiredfor rough traffic because of the greater spread ofdistribution curve

Page 21: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.21

Traffic Formulas

Traffic probability distribution– Random: VMR = 1– Poisson distribution function is an example of random

traffic where VMR = 1

Page 22: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.22

Traffic Formulas

– The number of call arrivals in a given time has a Poissondistribution

• x is the number of call arrivals in time T• µ is the mean number of call arrivals in T

µµ −= ex

xPx

!)(

Page 23: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.23

Traffic Formulas

– Consider call-holding times to have a negativeexponential distribution

• P is the probability of a call lasting longer than t• h is the mean call duration

htetTP /)( −=≥

Page 24: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.24

Traffic Formulas

Example– On average one call arrives every 5 seconds. During a

period of 10 seconds, what is the probability that– a. No call arrives

No call arrives =

– b. One call arrivesNo call arrives =

– c. More than one call arrives

135.0!0

2)0( 20

== −eP

27.0!1

2)1( 21

== −eP

595.0)1()0(1)1( =−−=>= PPxP

Page 25: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.25

Traffic Formulas

Example– In a telephone system, the average call duration is 2

minutes. A call has already lasted 4 minutes. What is theprobability that

– a. the call will last at least another 4 minutes• the probability is independent of the time which as

already elapsed.

– b. The call will end within the next 4 minutes

135.02/4/ === −− eeP ht

865.0135.01)(1)( =−=≥−=≤ tTPtTP

Page 26: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.26

Lost-call systems

– Consider that a large number of local loops are served bya small number of trunks in an exchange

– when a call demanding a trunk link arrives, it is assigneda free trunk line if one is available, but if all trunks areengaged, that call will be lost since no provision ofbuffering is made.

TrafficofferedA erlangs

N outgoingtrunks

Page 27: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.27

Erlang’s lost-call formula

– For a lost-call system having N trunks, when offeredtraffic A, the first Erlang distribution is given by

∑=

= N

k

k

x

kA

xA

xP

0 !

!)(

Page 28: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.28

Erlang’s lost-call formula

– The probability of a lost call, which is the grade of serviceB, is

∑=

= N

k

k

N

kA

NA

B

0 !

!

Page 29: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.29

Erlang’s lost-call formula

Example– A group of 5 trunks is offered 2 E of traffic. Find– a. The grade of service

– b. The probability that only one trunk is busy

037.02667.72667.0

!2!5

2

!

!5

0

5

0

====

∑∑== k

kN

k

k

N

kkA

NA

B

275.02667.72

!

!12

)1(

0

1

===

∑=

N

k

k

kA

P

Page 30: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.30

Erlang’s lost-call formula

– c. The probability that only one trunk is free

– d. The probability that at least one trunk is free

0917.02667.7

24/16

!

!42

)4(

0

4

===

∑=

N

k

k

kA

P

963.0037.011)5(1)5( =−=−=−=< BPxP

Page 31: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.31

Traffic Table

TU:trafficunit

Page 32: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.32

Traffic Table

Example– ON average, during the busy hour, a company makes 120

outgoing calls of average duration 2 minutes. It receives200 incoming calls of average duration 3 minutes. Thiscompany wishes to obtain the grad of service of 0.01 forboth incoming and outgoing calls. How many exchangeslines should it rent if

– a. Incoming and outgoing calls are handled on separategroups of lines

– b. A common group of lines is used for both incomingand outgoing calls.

Page 33: Circuit Switching: Traffic Engineering Referencesem/Notes/00J Traffic Engineering.pdf · 2001. 5. 7. · Circuit Switching: Traffic Engineering References • Chapter 1, Telecommunication

J.33

Traffic Table

– a. The outgoing traffic is 120 x 2 / 60 = 4 EThe incoming traffic is 200 x 3 / 60 = 10 E

From the table,4 E of outing traffic needs 10 lines10 E of incoming traffic needs 18 lines

– b. The total traffic is 14 EFrom the table,14 E of traffic needs 23 lines