Skip to content
Example · FAPI L1/L2

Downlink FAPI slot loop

FAPI DL_TTI, TX_DATA, RX_DATA and CRC.indication exchanged every slot for one UE (UE 0) over a measured NR NTN cell. CRC and HARQ follow the measured TBLER as the elevation falls; goodput counts UE 0 application bytes.

ntn-fapi-dl-data-slotloop about 60 s on the server

Parameters (7)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Simulation duration
--simSeconds
20sSimulation duration (s)
Number of UEs on the serving cell
--numUes
4-Number of UEs on the serving cell
Sub-carrier spacing
--scsKhz
30kHzSub-carrier spacing (kHz): 15/30/60/120
FAPI transport-block size
--tbBytes
1500bytesFAPI transport-block size (bytes)
Satellite altitude
--altitude
550kmSatellite altitude (km)
Satellite EIRP
--satEirpDbm
-1dBm-1 = TR 38.821 Set-1 S-band EIRP density (34 dBW/MHz); otherwise conducted power at the array input (dBm) Leave at -1 for the TR 38.821 Set-1 S-band EIRP density (34 dBW/MHz, about 77 dBm EIRP over 20 MHz; the conducted power is derived from it and the array gain). Any other value is the conducted power at the array input in dBm (the array adds about 18 dB); values below about 40 dBm leave the link without usable throughput.
Radio backend
--radio
mmwave-Radio backend: mmwave (FR2, per-TB FAPI loop) or nr (FR1)

Reproduce it locally

With the example's built-in defaults, in the public Docker image:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-fapi-dl-data-slotloop"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-fapi-dl-data-slotloop --simSeconds=20 --numUes=4 --scsKhz=30 --tbBytes=1500 --altitude=550 --satEirpDbm=-1 --radio=mmwave"

List every argument with ./ns3 run "ntn-fapi-dl-data-slotloop --PrintHelp".

More FAPI L1/L2 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.

BibTeX
@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}
}