SlideShare a Scribd company logo
1 | P a g e
STUDENT NAME SULAIM BIN AB QAIS ID NUMBER
TITLE
PACKET TRAFFIC USING
ERLANG C DISTRIBUTION
MODEL OF M/M/1 USING
MATLAB
2 | P a g e
TABLE OF CONTENT
INTRODUCTION Pg 3
METHODOLOGY Pg 6
DATA AND ANALYSIS Pg 14
CONCLUSION Pg 16
REFERENCE Pg 16
3 | P a g e
INTRODUCTION
Telecommunication traffic or teletraffic engineering is the application of traffic engineering
to telecommunication. We use statistical data which include queuing theory, the nature of
traffic, and simulation to make predictions and plan telecommunication network or the
internet. As the result, reliable service with lower cost can be achieved.
This field is founded by A. K. Erlang for circuit-switch network. However, as packet -switch
network exhibit Markovian Properties which can be modelled by Poisson arrival process,
Erlang’s work is applicable for packet-switch network [1].
Queueing theory is the mathematical study of waiting lines or queues. The study is modelled
to predict probability of queue length and waiting time. This model is developed by A. K.
Erlang to describe the Copenhagen telephone exchange [2].
Erlang determine the probability of encountering delay, when traffic, A is offered to a
queuing system with N trunk/server as shown in figure 1.1:
Figure 1.1
Erlang’s solution depends on the following assumption:
1. Call arrival & termination are random in nature (pure-chance traffic)
2. Statistical equilibrium – probability of arriving call at busy hour equal to the
probability of ending the call (value of A must less N)
3. Full availability – server will directly process the memory/Queue traffic when
available
4. Calls which encounter congestion enter a queue are stored until server becomes free
Such system is sometimes known as M/M/N system. In queueing theory there were
several representation of queuing systems. M/M/1 queue represent the queue length with
single server. In this representation, arrivals are determined by poisson process. If A>N,
calls are entering the system at a greater rate than they leave. As the result, the length of
the queue must continually increase towards infinity. This is not statistical equilibrium.
4 | P a g e
Let X be the total number of calls in the system.
Thus, when X<N, then X calls are being served and there is no delay or no congestion.
When X>N , all the servers are busy and incoming calls encounter delay; there are N calls
being served and X-N calls in the queue.
Probability of a call arrive in a very short period of time is given by :
(offered traffic x time)/mean service time.
Delay occurs if all servers are busy when X>N. When probability of delay increases the
Grade Of Service (GOS) increase. We wanted to have lower GOS as possible, thus a
design must have low delay probability.
Probability of delay denoted as E2,N(A) is significant only when X>=N. E2,N(A) is
known as Erlang delay formula and A is the offered traffic/ traffic intensity in Erlang
unit. E2,N(A) shows that when we increase offered traffic per server (A/N), the probability
of delay increase until it reaches probability of 1 which is 100% [3].
Erlang-A know as the first Erlang formula while Erlang-B known use in loss-network.
Erlang C is used in queuing network [4].
Erlang C is a mathematical equation that we use in this study. It calculates the probability
that a call waits (Pw) by applying N number of servers/trunks at a given traffic
Intensity/offered traffic (A).
Equation (1.1)
If we have 200 calls per hour, and the average duration of each call is 3 minutes, then we
have 600 minutes of total call duration per hour. 600 minutes is equal to 10 hours call
duration. Thus, the traffic intensity, A is 10 Erlangs (10 hour call duration observed in 1
hour). This means that we need minimum of 10 servers/trunks, N. This minimum server
5 | P a g e
is only applicable if when all calls arrive at exactly the moment that the previous call has
finished and there is no queuing. Meaning we need to have more than 10 servers
Nevertheless, by using erlang C formula we can understand the probability a call waits
and work out on the service level.
To calculate the service level as formula below :
Equation (1.2)
Target time is the time calls are answered in second. This must be greater than average
speed of answer (ASA), we may need to check this first by referring equation 1.3.
AHT is the average handling time is the average call duration in second.
Service level is unitless which can be represented in percentage by multiplying by 100. If
our service level target is 80% and we get less than that, we need to increase the number
of server/trunk.
Average Speed of answer (ASA) is given as below [5]:
Equation (1.3)
In packet traffic A is replaced with ρ which is the arrival rate. The arrival rate can be
calculated based on the bit rate over line speed or server speed.
In this paper we will answer the below question based on the MATLAB simulation.
Consider packets arrived in a network is according to Poisson processes; the packets
transmission times in nodes are assumed to be independent and exponentially distributed
based on M/M/1 queueing system. The link of the network is using E1 carrier and the lost
call delayed system is operating in the network. In average, the new packet arrival rate is
2980 per second with average packet length size of 55 bytes.
Evaluate the network capability in handling the arrival of the packets. Analyze the
probability of the packets being delayed and the average delay for all the packets to reach
the server. Next, compute the probability of the packets to be delayed exceeding 10 µsec
and the probability of the packets to be delayed more than 4 msec. Observe all the
situations and state your comment regarding the delay of the packets. Finally, set up the
transition diagram for this network system.
6 | P a g e
METHODOLOGY
Measurement Tools: Hardware and software used in this analysis :
1. Desktop PC specification as below:
Operating System : Windows 10
Processor : Intel ® Core™ i7-6700K CPU @ 4GHz
Installed memory (RAM) : 8 GB (7.89GB usable)
System Type: 64-bit Operating system, x640based processor
2. MATLAB R2020a Software (Trial Version) with ‘SimEvent’ library
Experimental Setup : Installation of MATLAB R2020a software (trial version)
1. Go to link https://www.mathworks.com/campaigns/products/trials.html
2. Check ‘I agree’ radio button and click ‘SUBMIT’
3. Pick the ‘Simulink Essentials’ package as below by clicking on the image
4. Click ‘Select and Continue’
7 | P a g e
5. Click on ‘Windows’. The software started downloading. The file size is about
222MB.
6. Open the downloaded file and run. The unzip process appeared as below :
7. Insert my email and click ‘Next’.
8. Insert your MATLAB account password.
8 | P a g e
9. Check radio button ‘Agree’ and click ‘Next’.
10. Select your license and click ‘Next’. We can select either listed license that are in the
list.
11. Select the destination for MATLAB software installation and click ‘Next’.
12. Select the check list as below and click ‘Next’.
9 | P a g e
13. Click ‘Next’ until landed on the page with button ‘Begin Install’. Click this button to
run the installation.
14. After we finish the installation open MATLAB Software from Desktop icon
Experimental Setup: Coding the Simulation:
1. Create a folder named ‘New folder’ in Desktop.
2. Get Erlang B and Erlang C function script from MATLAB forum as below:
Erlang B
function B = erlangb (n, A)
% This function computes the Erlang B probability that a system with n
% servers, no waiting line, Poisson arrival rate lambda, service rate
% (per server) mu, and intensity A = lambda / mu will have all servers
busy.
% The probability is B=(A^m / m!) / (sum (A^k / k!), k=0…m)
% The recurrence is B (0, A) = 1.
% B (n, A)=(A*B (n - 1, A) / n) / (1+A*B (n - 1, A) / n)
if ( (floor (n) ~= n) | (n < 1) )
warning ('n is not a positive integer');
A=NaN;
return;
end;
10 | P a g e
if (A < 0.0)
warning ('A is negative!');
A=NaN;
return;
end;
B=1;
for k=1:n,
B=( (A*B) / k) / (1 + A*B / k);
end;
function C=erlangc (n, A)
% This function computes the Erlang C probability that a system with n
% servers, infinite waiting line, Poisson arrival rate lambda, service rate
% (per server) mu, and intensity A=lambda / mu will have all servers busy.
% It uses the formula C (n, A)=n*B (n, A) / (n-A*(1 - B (n, A) ) )
if ( (floor (n) ~= n) | (n < 1) )
warning ('n is not a positive integer');
A=NaN;
return;
end;
if (A < 0.0)
warning ('A is negative!');
A=NaN;
return;
end;
B=erlangb (n, A);
C=n*B / (n - A*(1 - B) );
Erlang C
function C=erlangc(n,A)
% This function computes the Erlang C probability that a system with n
% servers, infinite waiting line, Poisson arrival rate lambda, service rate
% (per server) mu, and intensity A=lambda / mu will have all servers busy.
% It uses the formula C (n, A)=n*B (n, A) / (n-A*(1 - B (n, A) ) )
if ( (floor (n) ~= n) | (n < 1) )
warning ('n is not a positive integer');
A=NaN;
return;
end;
if (A < 0.0)
warning ('A is negative!');
A=NaN;
return;
end;
B=erlangb (n, A);
C=n*B / (n - A*(1 - B) );
3. Copy and paste this script in separate notepad; one for erlang B and another for
Erlang C and save as erlangb.m and erlangc.m respectively inside the ‘New folder’.
4. In MATLAB window locate the folder and double click both erlangb.m and erlangc.m
to open the tab as picture shows.
11 | P a g e
5. Click the + button to add a new tab.
6. Write the code as below to simulate the Erlang C calculation and to answer the
question given.
Lambda = 2980; % Packet arrival rate 2980 packet per second
L = 55*8; % packet average length 55Byte x 8 = 440 bits
S = 2048000; % speed of the server of 2.048Mbps
A = (Lambda*L)/S;%Arrival rate
n = 1; % number of server. Normally packet traffic we use 1 because of
point to point connection
C=erlangc (n,A);% p(delay>0)probability waiting happen.
h=A/Lambda; %Holding time
D = C*h/(n-A);% Average call delay in second = p(delay>0) x h/(n-A)
t = 0:0.00001:0.005; %x axis plot with resolution of 1us
Pd = C*exp(-(n-A)*(1/h)*t); %Pd is a probability packet to be delay
exceeding time t
plot (t,Pd, 'r');
xlabel ('Packet waiting time (s)');
ylabel ('Probability of arriving packet exceeding waiting time');
12 | P a g e
Experimental Setup: Flow Chart of MATLAB Code
13 | P a g e
Experimental Setup: Data collection technique:
1. Click the ‘Run’ icon and the script will run and generate the plot and calculate the
variable value.
2. Average packet delay acquired by writing “D” and enter in the Command Windows
and press ‘Enter’.
3. Probability of the packets being delayed acquired by writing “C” in the Command
Windows and press ‘Enter’.
4. Probability of the packets to be delayed exceeding certain time acquired by writing
‘Pd(t==[exceed time delay in s])’ and press ‘enter’.
14 | P a g e
DATA AND ANALYSIS
Answering the question based on the MATLAB Coding simulation:
1. Probability of the packets being delayed is equal to
= 0.6402
This value shows that 64.02% of the packet arrive will have some delay in this system
before enter the server for process. Thus, 35.98% of the packet will be directly
process by the server without any delay.
2. The average delay for all the packets to be processed by the server is equal to
= 3.8233e-04 s = 0.00038233s = 382.33us
This average delay shows that average packet will encounter 382.33us before
accepted by the server to be process.
3. Probability of the packets to be delayed exceeding 10 µsec
= 0.6296
The probability of the packet to delay more than z time is the probability of arriving
packet has to wait longer than z time. The probability of arriving packet has to wait
longer than 10us is 62.96%. Meaning, that 37.07% of the packet will not be delay
more than 10us.
4. Probability of the packets to be delayed more than 4 msec
= 7.8951e-04 = 0.0007895
The probability of the packet to delay more than z time is the probability of arriving
packet has to wait longer than z time. The probability of arriving packet has to wait
longer than 4 ms is 0.07895%. Meaning, that the 99.921% of the packet will not be
delay more than 4 ms.
The simulation probability of packet needs to wait is important in determining the
customer satisfaction of how much delay most of the service will suffer. As having
non-delay system is costly, by implementing some acceptable delay could save much
cost. Nevertheless, the implementation of delay system should be low as possible until
it is unnoticeable by the user.
15 | P a g e
Figure 2.1 shows probability of arriving packet exceeded target waiting time
The probability of packet delay reduced exponentially as target waiting time increase. From
the plotting we can understand that 10% of the arrived packet need to wait more than 1.2 ms.
Thus, we can say that this system having 90% of the packet need to wait less than 1.2 ms.
Figure 2.2 shows the state transition diagram of M/M/1 system
Packet delay waiting time = 1.2
2980 packet per second
Departure time = 0.0015s
16 | P a g e
CONCLUSION
We conclude that the MATLAB coding/simulation used in calculating waiting probability for
M/M/1 system is successful with expected result. MATLAB software will help researcher to
observe packet traffic more clearly.
Based on the result that we have this system is acceptable as 99.921% of the packet will be
delay less than 4ms.
REFERENCE:
1.https://en.wikipedia.org/wiki/Teletraffic_engineering
2. https://en.wikipedia.org/wiki/M/M/1_queue
3. https://www.youtube.com/watch?v=T7D5UxyOs8U
4.https://files.osf.io/v1/resources/jf5ry/providers/osfstorage/5ad022779c8e73000c20df1a?ver
sion=1&displayName=2018_Traffic+Unit+and+Mathematical+Model_Sigit+Haryadi-2018-
04-13T03:22:31.755Z.pdf&action=download&direct
5. https://www.callcentrehelper.com/erlang-c-formula-example-121281.htm

More Related Content

What's hot

Intro to MPI
Intro to MPIIntro to MPI
Intro to MPI
jbp4444
 
Introduction to MPI
Introduction to MPIIntroduction to MPI
Introduction to MPI
Akhila Prabhakaran
 
Performance measures
Performance measuresPerformance measures
Performance measures
Divya Tiwari
 
MPI message passing interface
MPI message passing interfaceMPI message passing interface
MPI message passing interface
Mohit Raghuvanshi
 
Mpi
Mpi Mpi
MPI Presentation
MPI PresentationMPI Presentation
MPI PresentationTayfun Sen
 
Cost optimal algorithm
Cost optimal algorithmCost optimal algorithm
Cost optimal algorithm
Heman Pathak
 
ECE 565 FInal Project
ECE 565 FInal ProjectECE 565 FInal Project
ECE 565 FInal Project
Lakshmi Yasaswi Kamireddy
 
Parallel Programming on the ANDC cluster
Parallel Programming on the ANDC clusterParallel Programming on the ANDC cluster
Parallel Programming on the ANDC cluster
Sudhang Shankar
 
MPI Introduction
MPI IntroductionMPI Introduction
MPI IntroductionRohit Banga
 
AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...
AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...
AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...
csandit
 
Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH
Lino Possamai
 
Parallel programming using MPI
Parallel programming using MPIParallel programming using MPI
Parallel programming using MPI
Ajit Nayak
 
Message Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communicationMessage Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communication
Himanshi Kathuria
 
Digital Signal Processing Course Help
Digital Signal Processing Course HelpDigital Signal Processing Course Help
Digital Signal Processing Course Help
Matlab Assignment Experts
 

What's hot (17)

Intro to MPI
Intro to MPIIntro to MPI
Intro to MPI
 
Introduction to MPI
Introduction to MPIIntroduction to MPI
Introduction to MPI
 
Performance measures
Performance measuresPerformance measures
Performance measures
 
MPI message passing interface
MPI message passing interfaceMPI message passing interface
MPI message passing interface
 
Mpi
Mpi Mpi
Mpi
 
MPI Presentation
MPI PresentationMPI Presentation
MPI Presentation
 
Cost optimal algorithm
Cost optimal algorithmCost optimal algorithm
Cost optimal algorithm
 
ECE 565 FInal Project
ECE 565 FInal ProjectECE 565 FInal Project
ECE 565 FInal Project
 
Message passing interface
Message passing interfaceMessage passing interface
Message passing interface
 
Parallel Programming on the ANDC cluster
Parallel Programming on the ANDC clusterParallel Programming on the ANDC cluster
Parallel Programming on the ANDC cluster
 
MPI Introduction
MPI IntroductionMPI Introduction
MPI Introduction
 
AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...
AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...
AN OPEN SHOP APPROACH IN APPROXIMATING OPTIMAL DATA TRANSMISSION DURATION IN ...
 
Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH Optimization of Collective Communication in MPICH
Optimization of Collective Communication in MPICH
 
Parallel programming using MPI
Parallel programming using MPIParallel programming using MPI
Parallel programming using MPI
 
Message Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communicationMessage Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communication
 
Open MPI
Open MPIOpen MPI
Open MPI
 
Digital Signal Processing Course Help
Digital Signal Processing Course HelpDigital Signal Processing Course Help
Digital Signal Processing Course Help
 

Similar to 2018867974 sulaim (2)

A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
IJCNCJournal
 
ENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKS
ENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKSENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKS
ENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKS
cscpconf
 
Performance analysis and randamized agoritham
Performance analysis and randamized agorithamPerformance analysis and randamized agoritham
Performance analysis and randamized agoritham
lilyMalar1
 
Making Custom Oscilloscope Measurements
Making Custom Oscilloscope MeasurementsMaking Custom Oscilloscope Measurements
Making Custom Oscilloscope Measurements
teledynelecroy
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
Naoki Shibata
 
Rapport_Cemracs2012
Rapport_Cemracs2012Rapport_Cemracs2012
Rapport_Cemracs2012Jussara F.M.
 
Analysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumptionAnalysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumptionare you
 
Parallel Algorithms: Sort & Merge, Image Processing, Fault Tolerance
Parallel Algorithms: Sort & Merge, Image Processing, Fault ToleranceParallel Algorithms: Sort & Merge, Image Processing, Fault Tolerance
Parallel Algorithms: Sort & Merge, Image Processing, Fault Tolerance
University of Technology - Iraq
 
Titan X Research Paper
Titan X Research PaperTitan X Research Paper
Titan X Research Paper
Jennifer Wood
 
Computer Networking Assignment Help
Computer Networking Assignment HelpComputer Networking Assignment Help
Computer Networking Assignment Help
Computer Network Assignment Help
 
Exploiting clustering techniques
Exploiting clustering techniquesExploiting clustering techniques
Exploiting clustering techniquesmejjagiri
 
NEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNEL
NEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNELNEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNEL
NEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNEL
ijcseit
 
FPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission SystemFPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission System
IOSR Journals
 
Webinar: How to design express services on a bus transit network
Webinar: How to design express services on a bus transit networkWebinar: How to design express services on a bus transit network
Webinar: How to design express services on a bus transit network
BRTCoE
 
Unit i basic concepts of algorithms
Unit i basic concepts of algorithmsUnit i basic concepts of algorithms
Unit i basic concepts of algorithms
sangeetha s
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
Water Birds (Ali)
 

Similar to 2018867974 sulaim (2) (20)

Queue
QueueQueue
Queue
 
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
 
ENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKS
ENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKSENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKS
ENHANCEMENT OF TCP FAIRNESS IN IEEE 802.11 NETWORKS
 
project_2
project_2project_2
project_2
 
Performance analysis and randamized agoritham
Performance analysis and randamized agorithamPerformance analysis and randamized agoritham
Performance analysis and randamized agoritham
 
Pdp12
Pdp12Pdp12
Pdp12
 
Making Custom Oscilloscope Measurements
Making Custom Oscilloscope MeasurementsMaking Custom Oscilloscope Measurements
Making Custom Oscilloscope Measurements
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
 
Rapport_Cemracs2012
Rapport_Cemracs2012Rapport_Cemracs2012
Rapport_Cemracs2012
 
Analysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumptionAnalysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumption
 
Parallel Algorithms: Sort & Merge, Image Processing, Fault Tolerance
Parallel Algorithms: Sort & Merge, Image Processing, Fault ToleranceParallel Algorithms: Sort & Merge, Image Processing, Fault Tolerance
Parallel Algorithms: Sort & Merge, Image Processing, Fault Tolerance
 
Titan X Research Paper
Titan X Research PaperTitan X Research Paper
Titan X Research Paper
 
Computer Networking Assignment Help
Computer Networking Assignment HelpComputer Networking Assignment Help
Computer Networking Assignment Help
 
Exploiting clustering techniques
Exploiting clustering techniquesExploiting clustering techniques
Exploiting clustering techniques
 
NEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNEL
NEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNELNEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNEL
NEW BER ANALYSIS OF OFDM SYSTEM OVER NAKAGAMI-n (RICE) FADING CHANNEL
 
FPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission SystemFPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission System
 
Webinar: How to design express services on a bus transit network
Webinar: How to design express services on a bus transit networkWebinar: How to design express services on a bus transit network
Webinar: How to design express services on a bus transit network
 
Real time signal processing
Real time signal processingReal time signal processing
Real time signal processing
 
Unit i basic concepts of algorithms
Unit i basic concepts of algorithmsUnit i basic concepts of algorithms
Unit i basic concepts of algorithms
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
 

More from sulaim_qais

38 GHz rectangular patch antenna CST
38 GHz rectangular patch antenna CST38 GHz rectangular patch antenna CST
38 GHz rectangular patch antenna CST
sulaim_qais
 
Super heterodyne
Super heterodyneSuper heterodyne
Super heterodyne
sulaim_qais
 
Phase lock loop (pll)
Phase lock loop (pll)Phase lock loop (pll)
Phase lock loop (pll)
sulaim_qais
 
Notes about Lynas advanced material plan (lamp)
Notes about Lynas advanced material plan (lamp)Notes about Lynas advanced material plan (lamp)
Notes about Lynas advanced material plan (lamp)
sulaim_qais
 
Something about Antenna design
Something about Antenna designSomething about Antenna design
Something about Antenna design
sulaim_qais
 
Rectangular patch Antenna
Rectangular patch AntennaRectangular patch Antenna
Rectangular patch Antenna
sulaim_qais
 
Transformer design
Transformer designTransformer design
Transformer designsulaim_qais
 
Malaysia Television services
Malaysia Television servicesMalaysia Television services
Malaysia Television servicessulaim_qais
 
FTTx Malaysia Standard
FTTx Malaysia StandardFTTx Malaysia Standard
FTTx Malaysia Standard
sulaim_qais
 
Fiber Optic Termination
Fiber Optic TerminationFiber Optic Termination
Fiber Optic Termination
sulaim_qais
 

More from sulaim_qais (10)

38 GHz rectangular patch antenna CST
38 GHz rectangular patch antenna CST38 GHz rectangular patch antenna CST
38 GHz rectangular patch antenna CST
 
Super heterodyne
Super heterodyneSuper heterodyne
Super heterodyne
 
Phase lock loop (pll)
Phase lock loop (pll)Phase lock loop (pll)
Phase lock loop (pll)
 
Notes about Lynas advanced material plan (lamp)
Notes about Lynas advanced material plan (lamp)Notes about Lynas advanced material plan (lamp)
Notes about Lynas advanced material plan (lamp)
 
Something about Antenna design
Something about Antenna designSomething about Antenna design
Something about Antenna design
 
Rectangular patch Antenna
Rectangular patch AntennaRectangular patch Antenna
Rectangular patch Antenna
 
Transformer design
Transformer designTransformer design
Transformer design
 
Malaysia Television services
Malaysia Television servicesMalaysia Television services
Malaysia Television services
 
FTTx Malaysia Standard
FTTx Malaysia StandardFTTx Malaysia Standard
FTTx Malaysia Standard
 
Fiber Optic Termination
Fiber Optic TerminationFiber Optic Termination
Fiber Optic Termination
 

Recently uploaded

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 

Recently uploaded (20)

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 

2018867974 sulaim (2)

  • 1. 1 | P a g e STUDENT NAME SULAIM BIN AB QAIS ID NUMBER TITLE PACKET TRAFFIC USING ERLANG C DISTRIBUTION MODEL OF M/M/1 USING MATLAB
  • 2. 2 | P a g e TABLE OF CONTENT INTRODUCTION Pg 3 METHODOLOGY Pg 6 DATA AND ANALYSIS Pg 14 CONCLUSION Pg 16 REFERENCE Pg 16
  • 3. 3 | P a g e INTRODUCTION Telecommunication traffic or teletraffic engineering is the application of traffic engineering to telecommunication. We use statistical data which include queuing theory, the nature of traffic, and simulation to make predictions and plan telecommunication network or the internet. As the result, reliable service with lower cost can be achieved. This field is founded by A. K. Erlang for circuit-switch network. However, as packet -switch network exhibit Markovian Properties which can be modelled by Poisson arrival process, Erlang’s work is applicable for packet-switch network [1]. Queueing theory is the mathematical study of waiting lines or queues. The study is modelled to predict probability of queue length and waiting time. This model is developed by A. K. Erlang to describe the Copenhagen telephone exchange [2]. Erlang determine the probability of encountering delay, when traffic, A is offered to a queuing system with N trunk/server as shown in figure 1.1: Figure 1.1 Erlang’s solution depends on the following assumption: 1. Call arrival & termination are random in nature (pure-chance traffic) 2. Statistical equilibrium – probability of arriving call at busy hour equal to the probability of ending the call (value of A must less N) 3. Full availability – server will directly process the memory/Queue traffic when available 4. Calls which encounter congestion enter a queue are stored until server becomes free Such system is sometimes known as M/M/N system. In queueing theory there were several representation of queuing systems. M/M/1 queue represent the queue length with single server. In this representation, arrivals are determined by poisson process. If A>N, calls are entering the system at a greater rate than they leave. As the result, the length of the queue must continually increase towards infinity. This is not statistical equilibrium.
  • 4. 4 | P a g e Let X be the total number of calls in the system. Thus, when X<N, then X calls are being served and there is no delay or no congestion. When X>N , all the servers are busy and incoming calls encounter delay; there are N calls being served and X-N calls in the queue. Probability of a call arrive in a very short period of time is given by : (offered traffic x time)/mean service time. Delay occurs if all servers are busy when X>N. When probability of delay increases the Grade Of Service (GOS) increase. We wanted to have lower GOS as possible, thus a design must have low delay probability. Probability of delay denoted as E2,N(A) is significant only when X>=N. E2,N(A) is known as Erlang delay formula and A is the offered traffic/ traffic intensity in Erlang unit. E2,N(A) shows that when we increase offered traffic per server (A/N), the probability of delay increase until it reaches probability of 1 which is 100% [3]. Erlang-A know as the first Erlang formula while Erlang-B known use in loss-network. Erlang C is used in queuing network [4]. Erlang C is a mathematical equation that we use in this study. It calculates the probability that a call waits (Pw) by applying N number of servers/trunks at a given traffic Intensity/offered traffic (A). Equation (1.1) If we have 200 calls per hour, and the average duration of each call is 3 minutes, then we have 600 minutes of total call duration per hour. 600 minutes is equal to 10 hours call duration. Thus, the traffic intensity, A is 10 Erlangs (10 hour call duration observed in 1 hour). This means that we need minimum of 10 servers/trunks, N. This minimum server
  • 5. 5 | P a g e is only applicable if when all calls arrive at exactly the moment that the previous call has finished and there is no queuing. Meaning we need to have more than 10 servers Nevertheless, by using erlang C formula we can understand the probability a call waits and work out on the service level. To calculate the service level as formula below : Equation (1.2) Target time is the time calls are answered in second. This must be greater than average speed of answer (ASA), we may need to check this first by referring equation 1.3. AHT is the average handling time is the average call duration in second. Service level is unitless which can be represented in percentage by multiplying by 100. If our service level target is 80% and we get less than that, we need to increase the number of server/trunk. Average Speed of answer (ASA) is given as below [5]: Equation (1.3) In packet traffic A is replaced with ρ which is the arrival rate. The arrival rate can be calculated based on the bit rate over line speed or server speed. In this paper we will answer the below question based on the MATLAB simulation. Consider packets arrived in a network is according to Poisson processes; the packets transmission times in nodes are assumed to be independent and exponentially distributed based on M/M/1 queueing system. The link of the network is using E1 carrier and the lost call delayed system is operating in the network. In average, the new packet arrival rate is 2980 per second with average packet length size of 55 bytes. Evaluate the network capability in handling the arrival of the packets. Analyze the probability of the packets being delayed and the average delay for all the packets to reach the server. Next, compute the probability of the packets to be delayed exceeding 10 µsec and the probability of the packets to be delayed more than 4 msec. Observe all the situations and state your comment regarding the delay of the packets. Finally, set up the transition diagram for this network system.
  • 6. 6 | P a g e METHODOLOGY Measurement Tools: Hardware and software used in this analysis : 1. Desktop PC specification as below: Operating System : Windows 10 Processor : Intel ® Core™ i7-6700K CPU @ 4GHz Installed memory (RAM) : 8 GB (7.89GB usable) System Type: 64-bit Operating system, x640based processor 2. MATLAB R2020a Software (Trial Version) with ‘SimEvent’ library Experimental Setup : Installation of MATLAB R2020a software (trial version) 1. Go to link https://www.mathworks.com/campaigns/products/trials.html 2. Check ‘I agree’ radio button and click ‘SUBMIT’ 3. Pick the ‘Simulink Essentials’ package as below by clicking on the image 4. Click ‘Select and Continue’
  • 7. 7 | P a g e 5. Click on ‘Windows’. The software started downloading. The file size is about 222MB. 6. Open the downloaded file and run. The unzip process appeared as below : 7. Insert my email and click ‘Next’. 8. Insert your MATLAB account password.
  • 8. 8 | P a g e 9. Check radio button ‘Agree’ and click ‘Next’. 10. Select your license and click ‘Next’. We can select either listed license that are in the list. 11. Select the destination for MATLAB software installation and click ‘Next’. 12. Select the check list as below and click ‘Next’.
  • 9. 9 | P a g e 13. Click ‘Next’ until landed on the page with button ‘Begin Install’. Click this button to run the installation. 14. After we finish the installation open MATLAB Software from Desktop icon Experimental Setup: Coding the Simulation: 1. Create a folder named ‘New folder’ in Desktop. 2. Get Erlang B and Erlang C function script from MATLAB forum as below: Erlang B function B = erlangb (n, A) % This function computes the Erlang B probability that a system with n % servers, no waiting line, Poisson arrival rate lambda, service rate % (per server) mu, and intensity A = lambda / mu will have all servers busy. % The probability is B=(A^m / m!) / (sum (A^k / k!), k=0…m) % The recurrence is B (0, A) = 1. % B (n, A)=(A*B (n - 1, A) / n) / (1+A*B (n - 1, A) / n) if ( (floor (n) ~= n) | (n < 1) ) warning ('n is not a positive integer'); A=NaN; return; end;
  • 10. 10 | P a g e if (A < 0.0) warning ('A is negative!'); A=NaN; return; end; B=1; for k=1:n, B=( (A*B) / k) / (1 + A*B / k); end; function C=erlangc (n, A) % This function computes the Erlang C probability that a system with n % servers, infinite waiting line, Poisson arrival rate lambda, service rate % (per server) mu, and intensity A=lambda / mu will have all servers busy. % It uses the formula C (n, A)=n*B (n, A) / (n-A*(1 - B (n, A) ) ) if ( (floor (n) ~= n) | (n < 1) ) warning ('n is not a positive integer'); A=NaN; return; end; if (A < 0.0) warning ('A is negative!'); A=NaN; return; end; B=erlangb (n, A); C=n*B / (n - A*(1 - B) ); Erlang C function C=erlangc(n,A) % This function computes the Erlang C probability that a system with n % servers, infinite waiting line, Poisson arrival rate lambda, service rate % (per server) mu, and intensity A=lambda / mu will have all servers busy. % It uses the formula C (n, A)=n*B (n, A) / (n-A*(1 - B (n, A) ) ) if ( (floor (n) ~= n) | (n < 1) ) warning ('n is not a positive integer'); A=NaN; return; end; if (A < 0.0) warning ('A is negative!'); A=NaN; return; end; B=erlangb (n, A); C=n*B / (n - A*(1 - B) ); 3. Copy and paste this script in separate notepad; one for erlang B and another for Erlang C and save as erlangb.m and erlangc.m respectively inside the ‘New folder’. 4. In MATLAB window locate the folder and double click both erlangb.m and erlangc.m to open the tab as picture shows.
  • 11. 11 | P a g e 5. Click the + button to add a new tab. 6. Write the code as below to simulate the Erlang C calculation and to answer the question given. Lambda = 2980; % Packet arrival rate 2980 packet per second L = 55*8; % packet average length 55Byte x 8 = 440 bits S = 2048000; % speed of the server of 2.048Mbps A = (Lambda*L)/S;%Arrival rate n = 1; % number of server. Normally packet traffic we use 1 because of point to point connection C=erlangc (n,A);% p(delay>0)probability waiting happen. h=A/Lambda; %Holding time D = C*h/(n-A);% Average call delay in second = p(delay>0) x h/(n-A) t = 0:0.00001:0.005; %x axis plot with resolution of 1us Pd = C*exp(-(n-A)*(1/h)*t); %Pd is a probability packet to be delay exceeding time t plot (t,Pd, 'r'); xlabel ('Packet waiting time (s)'); ylabel ('Probability of arriving packet exceeding waiting time');
  • 12. 12 | P a g e Experimental Setup: Flow Chart of MATLAB Code
  • 13. 13 | P a g e Experimental Setup: Data collection technique: 1. Click the ‘Run’ icon and the script will run and generate the plot and calculate the variable value. 2. Average packet delay acquired by writing “D” and enter in the Command Windows and press ‘Enter’. 3. Probability of the packets being delayed acquired by writing “C” in the Command Windows and press ‘Enter’. 4. Probability of the packets to be delayed exceeding certain time acquired by writing ‘Pd(t==[exceed time delay in s])’ and press ‘enter’.
  • 14. 14 | P a g e DATA AND ANALYSIS Answering the question based on the MATLAB Coding simulation: 1. Probability of the packets being delayed is equal to = 0.6402 This value shows that 64.02% of the packet arrive will have some delay in this system before enter the server for process. Thus, 35.98% of the packet will be directly process by the server without any delay. 2. The average delay for all the packets to be processed by the server is equal to = 3.8233e-04 s = 0.00038233s = 382.33us This average delay shows that average packet will encounter 382.33us before accepted by the server to be process. 3. Probability of the packets to be delayed exceeding 10 µsec = 0.6296 The probability of the packet to delay more than z time is the probability of arriving packet has to wait longer than z time. The probability of arriving packet has to wait longer than 10us is 62.96%. Meaning, that 37.07% of the packet will not be delay more than 10us. 4. Probability of the packets to be delayed more than 4 msec = 7.8951e-04 = 0.0007895 The probability of the packet to delay more than z time is the probability of arriving packet has to wait longer than z time. The probability of arriving packet has to wait longer than 4 ms is 0.07895%. Meaning, that the 99.921% of the packet will not be delay more than 4 ms. The simulation probability of packet needs to wait is important in determining the customer satisfaction of how much delay most of the service will suffer. As having non-delay system is costly, by implementing some acceptable delay could save much cost. Nevertheless, the implementation of delay system should be low as possible until it is unnoticeable by the user.
  • 15. 15 | P a g e Figure 2.1 shows probability of arriving packet exceeded target waiting time The probability of packet delay reduced exponentially as target waiting time increase. From the plotting we can understand that 10% of the arrived packet need to wait more than 1.2 ms. Thus, we can say that this system having 90% of the packet need to wait less than 1.2 ms. Figure 2.2 shows the state transition diagram of M/M/1 system Packet delay waiting time = 1.2 2980 packet per second Departure time = 0.0015s
  • 16. 16 | P a g e CONCLUSION We conclude that the MATLAB coding/simulation used in calculating waiting probability for M/M/1 system is successful with expected result. MATLAB software will help researcher to observe packet traffic more clearly. Based on the result that we have this system is acceptable as 99.921% of the packet will be delay less than 4ms. REFERENCE: 1.https://en.wikipedia.org/wiki/Teletraffic_engineering 2. https://en.wikipedia.org/wiki/M/M/1_queue 3. https://www.youtube.com/watch?v=T7D5UxyOs8U 4.https://files.osf.io/v1/resources/jf5ry/providers/osfstorage/5ad022779c8e73000c20df1a?ver sion=1&displayName=2018_Traffic+Unit+and+Mathematical+Model_Sigit+Haryadi-2018- 04-13T03:22:31.755Z.pdf&action=download&direct 5. https://www.callcentrehelper.com/erlang-c-formula-example-121281.htm