Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SINDHUDURG SHIKSHAN PRASARAK MANDAL’S COLLEGE OF ENGINEERING, KANKAVLI

ELECTRONICS AND TELECOMMUNCATION ENGINEERING DEPRATMENT

Subject:-MCSL Course code:- ECL702


CLASS:-B.E.(EXTC) SEM:- VII(ODD)

Name :- Chintamani Vilas Khair Roll No. :-14

Experiment No. 2
Aim:- To implement Grade Of Service for Erlang B system in MATLAB.

Apparatus/ Software:- MATLAB14.

Theory:-

Trunking mainly exploits the statistical behavior of users so that a fixed number of
channels can be used to accommodate a large, random user community. As the number of
telephone lines decrease, it becomes more likely that all channels are busy for a particular user.
As a result, the call gets rejected and in some systems, a queue may be used to hold the caller’s
request until a channel becomes available.
In the telephone system context the term Grade of Service (GoS) is used to mean the
probability that a user’s request for service will be blocked because a required facility, such as a
trunk or a cellular channel, is not available.
User calling can be modeled statistically by two parameters: the average number of call
requests per unit time λuser and the average holding time H. The parameter λuser is also called
the average arrival rate, referring to the rate at which calls from a single user arrive. The average
holding time is the average duration of a call. The product Auser = λuserH that is, the product of
the average arrival rate and the average holding time–is called the offered traffic intensity or
offered load. This quantity represents the average traffic that a user provides to the system.
Offered traffic intensity is a quantity that is traditionally measured in Erlangs. One Erlang
represents the amount of traffic intensity carried by a channel that is completely occupied.
Two models are widely used in traffic engineering to represent what happens when a call
is blocked. The blocked calls cleared model assumes that when a channel or trunk is not
available to service an arriving call, the call is cleared from the system. The second model is
known as blocked calls delayed. In this model a call that cannot be serviced is placed on a queue
and will be serviced when a channel or trunk becomes available.
Use of the blocked-calls-cleared statistical model leads to the Erlang B formula that
relates offered traffic intensity A, grade of service Pb, and number of channels K. The Erlang B
formula is:

Procedure:
1. Implement the equation for GOS or Pb for Erlang B system.
2. Input number of channels & total traffic intensity from the user.
3. From above equation of GOS, we have calculated the value of GOS for given number of
channel & total traffic intensity.

Conclusion:
Thus by using Matlab M file we have calculated GOS for Erlang B system.
EXPERIMENT NO. 2
Sub:- MCS Lab Course Code:-ECL 702
CLASS : BE EXTC DATE : 13 / 08 /2021

---------------------------------------------------------------------------------------
AIM : To implement Grade Of Service for Erlang B system in
MATLAB.

PROGRAM :
clc;
clear all;

%ERLANG B FORMULA IS
%BLOCKING PROBABILITY=(A^C/C!)/SUMMATION(A^K/K!)
%FROM 0 TO C
%B=(N/D)

A=input('\n Enter offered traffic in Erlangs=');


C=input('\n Enter number of channel in the system=');

N=(A^C/factorial(C));
D=0;
for K=0:1:C
D=D+(A^K/factorial(K));
end
B=(N/D);

fprintf('\n For traffic of %f Erlangs and number of %f channels blocking


probability=%f',A,C,B);
---------------------------------------------------------------------------------------
OUTPUT:
Enter offered traffic in Erlangs=
25.7

Enter number of channel in the system=


40

For traffic of 25.700000 Erlangs and number of 40.000000 channels


blocking probability=0.002117

You might also like