Skip to main content

Age of Information Model for wireless networks

Project description

License: MIT Tests codecov Code style: black Docs pages-build-deployment GitHub Repo stars GitHub last commit

agenet

Agenet is an open-source Python package designed to estimate the Age of Information (AoI) in cooperative wireless networks. By implementing a system model that combines finite blocklength information theory and AoI analysis over Rayleigh fading channels, Agenet provides researchers and practitioners with a comprehensive tool for studying short packet-based communication networks. This package is particularly valuable for those working on mission-critical wireless systems where the freshness of information is crucial.

System model

The following figure illustrates the wireless communication system that is proposed in this application.

System model.

Agenet implements a short packet decode-and-forward (DF) cooperative wireless relaying system. This system consists of three key nodes: a source node (S) that generates and transmits new updates, a relay node (R) that receives, decodes, and forwards data, and a destination node (D) that receives the forwarded data. The communication process is structured into two time slots within each transmission block, with the source transmitting data to the relay in the first slot, and the relay decoding and forwarding the data to the destination in the second slot. This model accounts for both small-scale and large-scale channel gains, considering Rayleigh fading and path loss to provide a realistic representation of wireless communication environments.

Features

The agenet package allows the user to study the Age of Information (AoI) in cooperative wireless networks, which can be used as a basis for implementing mission-critical wireless communication applications. This application can be used as a study tool to analyze the age of information in cooperative wireless networks under short packet communications scenarios to maintain URLLC (ultra-reliable low-latency communication). In this application, various parameters such as power allocation, block length, packet size and transmission power can be adjusted to analyze how the age of information varies.

The agenet package contains several functions that can be used to study the AoI in a cooperative wireless networks. These functions allow the user to:

  • Calculate the Signal-to-Noise Ratio (SNR) at each receiving node in the network, which is an important factor in determining the quality of the communication link;

  • Calculate the Block Error Rate (BER) for each destination in the network, which is an important metric for assessing the reliability of the network;

  • Calculate the theoretical AoI and simulate the AoI for a given network configuration, allowing the comparison of both measures to verify the accuracy of the simulation, as well as analyzing the performance of the network and assessing the impact of various parameters on the AoI;

  • Estimate the average AoI value for a given update generation time and receiving time, which is a useful metric for evaluating the performance of any network.

Additionally, the agenet command-line script is included in the package, allowing for easy experimentation with the model with default or user-defined parameters. The simulation can generate both theoretical and simulated values for various factors such as block lengths, power allocations, packet sizes and transmission power in the network.

How to install

Install from PyPI:

pip install agenet

Or directly from GitHub:

pip install git+https://github.com/cahthuranag/agenet.git#egg=agenet

Installing for development and/or improving the package

git clone https://github.com/cahthuranag/agenet.git
cd agenet
pip install -e .[dev]

This way, the package is installed in development mode. As a result, development dependencies are also installed.

Documentation

For more detailed information about Agenet's features and usage, please refer to the Agenet package documentation.

License

MIT License

References

  1. Y. Polyanskiy, H. V. Poor, and S. Verdu, "Channel coding rate in the finite blocklength regime," IEEE Trans. Inf. Theory, vol. 56, no. 5, pp. 2307–2359, 2010.
  2. C. M. Wijerathna Basnayaka, D. N. K. Jayakody, T. D. Ponnimbaduge Perera, and M. Vidal Ribeiro, "Age of information in an urllc-enabled decode-and-forward wireless communication system," in 2021 IEEE 93rd Vehicular Technology Conference (VTC2021-Spring), 2021, pp. 1–6.
  3. R. D. Yates, Y. Sun, D. R. Brown, S. K. Kaul, E. Modiano, and S. Ulukus, "Age of information: An introduction and survey," IEEE Journal on Selected Areas in Communications, vol. 39, no. 5, pp. 1183–1210, 2021.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agenet-0.1.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agenet-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file agenet-0.1.0.tar.gz.

File metadata

  • Download URL: agenet-0.1.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for agenet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7891c2122314d899b0797b42fc32dcba4fb52bc1a869d1c86393ad948c693553
MD5 cc95b729a9983ac9067db66c0376bbfb
BLAKE2b-256 2a3ec6738c246f9c90ec7d5998171b4a0942c92847596a82d727b8b6c928fbc6

See more details on using hashes here.

File details

Details for the file agenet-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agenet-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for agenet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02ea5230f946afba808086ee3c1cc2388e3ca24ddee70fb955e994eb9a0de917
MD5 20a67ddb76ed1b71a3a9c6da87dd27c7
BLAKE2b-256 7f78d6dd93aa6fe6e751a49718cbd1674d5b0a10f59b3e1df5128d0eeed55fc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page