agenet


Nameagenet JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryAge of Information Model for wireless networks
upload_time2024-11-03 01:25:53
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT
keywords age of information urllc age of information model aoi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/cahthuranag/Agewire/blob/3000891c482e715b3006264a88dfcf4ed4aedc7c/LICENSE)
[![Tests](https://github.com/cahthuranag/agenet/actions/workflows/test.yml/badge.svg)](https://github.com/cahthuranag/agenet/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/cahthuranag/agenet/branch/main/graph/badge.svg?token=k8Ix6Zv8x9)](https://codecov.io/gh/cahthuranag/agenet)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://cahthuranag.github.io/agenet/)
[![pages-build-deployment](https://github.com/cahthuranag/agenet/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/cahthuranag/agenet/actions/workflows/pages/pages-build-deployment)
![GitHub Repo stars](https://img.shields.io/github/stars/cahthuranag/agenet?style=social)
![GitHub last commit](https://img.shields.io/github/last-commit/cahthuranag/agenet)

# 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.](https://raw.githubusercontent.com/cahthuranag/agenet/main/docs/docs/image/Fig1.png)

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](https://cahthuranag.github.io/agenet/).

## License

[MIT License](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.




            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "agenet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "age of information, URLLC, age of information model, AoI",
    "author": null,
    "author_email": "Chathuranga Basanayaka <chathurangab@sltc.ac.lk>, Nuno Fachada <nuno.fachada@ulusofona.pt>",
    "download_url": "https://files.pythonhosted.org/packages/62/60/faefdd4292f765bd91a0baef088afe6f575ba632462cd8515aa74b102832/agenet-1.0.0.tar.gz",
    "platform": null,
    "description": "[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/cahthuranag/Agewire/blob/3000891c482e715b3006264a88dfcf4ed4aedc7c/LICENSE)\n[![Tests](https://github.com/cahthuranag/agenet/actions/workflows/test.yml/badge.svg)](https://github.com/cahthuranag/agenet/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/cahthuranag/agenet/branch/main/graph/badge.svg?token=k8Ix6Zv8x9)](https://codecov.io/gh/cahthuranag/agenet)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://cahthuranag.github.io/agenet/)\n[![pages-build-deployment](https://github.com/cahthuranag/agenet/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/cahthuranag/agenet/actions/workflows/pages/pages-build-deployment)\n![GitHub Repo stars](https://img.shields.io/github/stars/cahthuranag/agenet?style=social)\n![GitHub last commit](https://img.shields.io/github/last-commit/cahthuranag/agenet)\n\n# agenet\n\nAgenet 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.\n\n## System model\n\nThe following figure illustrates the wireless communication system that is proposed in this application.\n\n![System model.](https://raw.githubusercontent.com/cahthuranag/agenet/main/docs/docs/image/Fig1.png)\n\nAgenet 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.\n\n## Features\nThe **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.\n\nThe **agenet** package contains several functions that can be used to study the AoI in a cooperative wireless networks. These functions allow the user to:\n\n- 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;\n\n- Calculate the Block Error Rate (BER) for each destination in the network, which is an important metric for assessing the reliability of the network;\n\n- 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;\n\n- 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.\n\nAdditionally, 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.\n## How to install\n\nInstall from PyPI:\n\n```\npip install agenet\n```\n\nOr directly from GitHub:\n\n```\npip install git+https://github.com/cahthuranag/agenet.git#egg=agenet\n```\n\n### Installing for development and/or improving the package\n\n```\ngit clone https://github.com/cahthuranag/agenet.git\ncd agenet\npip install -e .[dev]\n```\n\nThis way, the package is installed in development mode. As a result, development dependencies are also installed.\n\n## Documentation\n\nFor more detailed information about Agenet's features and usage, please refer to the [Agenet package documentation](https://cahthuranag.github.io/agenet/).\n\n## License\n\n[MIT License](LICENSE)\n\n## References\n\n1. 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\u20132359, 2010.\n2. 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\u20136.\n3. 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\u20131210, 2021.\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Age of Information Model for wireless networks",
    "version": "1.0.0",
    "project_urls": {
        "Bug Reports": "https://github.com/cahthuranag/agenet/issues",
        "Documentation": "https://cahthuranag.github.io/agenet/",
        "Homepage": "https://github.com/cahthuranag/agenet"
    },
    "split_keywords": [
        "age of information",
        " urllc",
        " age of information model",
        " aoi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69f22fdf0d21366b0068d8061e421d708b020bc7ca52573fe94480514659f767",
                "md5": "70e82377cb6513be23b02e4153378920",
                "sha256": "38e37b683a953959a2e00081ca83d6f83bd20101aa4c1da2186bf764c871c23b"
            },
            "downloads": -1,
            "filename": "agenet-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "70e82377cb6513be23b02e4153378920",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 16844,
            "upload_time": "2024-11-03T01:25:52",
            "upload_time_iso_8601": "2024-11-03T01:25:52.350019Z",
            "url": "https://files.pythonhosted.org/packages/69/f2/2fdf0d21366b0068d8061e421d708b020bc7ca52573fe94480514659f767/agenet-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6260faefdd4292f765bd91a0baef088afe6f575ba632462cd8515aa74b102832",
                "md5": "20a51fd80a568c12490abea0c9f8d06a",
                "sha256": "91f83c9f9a03a56a65c1af2919006bf5760b7361d6f994bc24d71d2f3b3697e3"
            },
            "downloads": -1,
            "filename": "agenet-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "20a51fd80a568c12490abea0c9f8d06a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 24168,
            "upload_time": "2024-11-03T01:25:53",
            "upload_time_iso_8601": "2024-11-03T01:25:53.878483Z",
            "url": "https://files.pythonhosted.org/packages/62/60/faefdd4292f765bd91a0baef088afe6f575ba632462cd8515aa74b102832/agenet-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-03 01:25:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cahthuranag",
    "github_project": "agenet",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "agenet"
}
        
Elapsed time: 0.38055s