MATLAB Code For Age of Information Modeling in Multi-source Status Update Systems

Citation Author(s):
Ege Orkun
Gamgam
Bilkent University
Nail
Akar
Bilkent University
Submitted by:
Ege Gamgam
Last updated:
Mon, 04/11/2022 - 12:24
DOI:
10.21227/13x2-8815
Data Format:
License:
0
0 ratings - Please login to submit your rating.

Abstract 

The script "numericalExample.m" obtains per-source average AoI and per-source age violation probabilities for First Source First Serve (FSFS), Earliest Served First Serve (ESFS) and Single Buffer with Replacement (SBR) policies for N sources using analytical models based on Markov Fluid Queues (MFQ). It is also possible to obtain the exact per-source CDF using this script. To do so, only the input parameters of used functions, namely "FSFS.m", "ESFS.m" and "SBR.m", in this script should be modified accordingly.

The functions "FSFS.m", "ESFS.m" and "SBR.m" construct the MFQ models for the policies FSFS, ESFS and SBR, respectively. Using the MFQ models, they then output the per-source average AoI and the per-source CDF which is used by "numericalExample.m" script to obtain the performance metrics of interest.

Instructions: 

The single .zip file (matlab_m_files.zip) shall be extracted into a single folder which will be consisting of four MATLAB .m files: a script "numericalExample.m" and three functions "FSFS.m", "ESFS.m" and "SBR.m".

=====================================================================

1) DESCRIPTION OF CONTENTS:

- Script "numericalExample.m": 

It obtains per-source average AoI and per-source age violation probabilities for First Source First Serve (FSFS), Earliest Served First Serve (ESFS) and Single Buffer with Replacement (SBR) policies using analytical models based on Markov Fluid Queues (MFQ). The outputs of this script are printed in the command window.

- Functions "FSFS.m", "ESFS.m" and "SBR.m":

These functions construct and solve the MFQ-based analytical models for the policies FSFS, ESFS and SBR, respectively. In particular, they output the per-source average AoI and the per-source CDF which are used by "numericalExample.m" script to obtain the performance metrics of interest, i.e., the per-source average AoI and the per-source age violation probabilities.

=====================================================================

2) INPUT PARAMETERS OF THE SCRIPT "numericalExample.m":

User specifies the arrival and service rates as 1xN vectors where N is the number of sources. User also needs to specify a single age threshold value which is used for the calculation of the age violation probability, that is the probability of having an age value greater than this threshold.

======================================================================