Example · AI / MARL
LTE CQI prediction with a Python model
An LTE downlink with one fast-moving UE; the scheduler passes the CQI history to a Python predictor over shared memory, so predicted and reported CQI can be compared.
ns3ai_ltecqi_msg about 120 s on the server
Its Python agent needs TensorFlow, which this public server does not install. It runs on a local install. Open the consoleModule page
Parameters (4)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulated duration --simTime | 1 | s | Simulated duration (s) (set for the paired Python agent; binary default 3.0) |
Downlink application data rate --datarate | 20Mbps | - | Downlink application data rate (ns-3 DataRate, e.g. 20Mbps) |
Application packet size --packetSize | 1200 | bytes | Application packet size (bytes) |
Speed of the moving UE along x --speed | 10000 | m/s | Speed of the moving UE along x (m/s); deliberately large so the CQI changes quickly |
Reproduce it locally
With the example's built-in defaults, in the public Docker image:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ns3ai_ltecqi_msg"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ns3ai_ltecqi_msg --simTime=1 --datarate=20Mbps --packetSize=1200 --speed=10000"More AI / MARL examples
Cite this
If you use this module, please cite the article that describes the toolkit: doi:10.1109/OJCOMS.2026.3745010.
M. Uzair, B. G. Aldahlan, A. A. Albar, H. Althumali and A. Alghammas, "ns3-ntn-toolkit: An integrated ns-3 platform for 6G non-terrestrial networks," IEEE Open Journal of the Communications Society, vol. 7, pp. 13440-13467, 2026, doi: 10.1109/OJCOMS.2026.3745010.
@article{uzair2026ns3ntntoolkit,
author = {Uzair, Muhammad and Aldahlan, Bassma G. and Albar, Ali A. and
Althumali, Huda and Alghammas, Adnan},
title = {ns3-ntn-toolkit: An Integrated ns-3 Platform for 6G
Non-Terrestrial Networks},
journal = {IEEE Open Journal of the Communications Society},
volume = {7},
pages = {13440--13467},
year = {2026},
doi = {10.1109/OJCOMS.2026.3745010}
}