The ns-3 NR module (aka 5G-LENA) is a pluggable module for ns-3 that can be used to simulate 5G New Radio (NR) cellular networks. The simulator is the natural evolution of LENA, the LTE/EPC Network Simulator, but its development started from the mmWave module because it was more advanced in terms of beamforming, TDD, 3GPP channel model, and operation at FR2. It incorporates fundamental PHY-MAC NR features aligned with 3GPP NR Release-15 and later.
It is a module that can be plugged in ns-3-dev and supports the following features:
- NSA (Non-Standalone Architecture): 5G RAN and 4G EPC
- Compatible with ns-3 3GPP 38.901 spatial channel and antenna array models able to simulate 0.5-100 GHz frequency ranges
-
PHY:
- 3GPP antenna arrays with multiple-ports and dual-polarized antennas
- 3GPP MIMO supporting currently up to two streams through either multiple antenna ports or dual-polarized antennas
- 3GPP-compliant PMI (precoding matrix indicator) and RI (rank indicator), assuming MMSE-IRC (interference rejection combining) receiver for inter-stream interference suppression
- CQI/PMI/RI feedback, PM search, and rank adaptation for MIMO
- NR PHY layer abstraction, considering LDPC codes, MCS Tables 1 and 2 (up to 256-QAM), LDPC base graph selection and NR block segmentation
- Chase Combining and Incremental Redundancy HARQ
- Uplink power control
- SRS(Sounding reference signals ) modeling
- Realistic beamforming based on SRS-based channel estimates
- NR-compliant processing delays and control timings (N0, N1, N2; K0, K1, K2)
- Multiple BWPs and component carriers support
- TDD (Time Division Duplexing) and FDD(Frequency Division Duplexing) modes
- Configurable TDD patterns
- ICIC (Inter-Cell Interference Coordination) through notching
- Flexible and automatic configuration of the NR frame structure through multiple numerologies
- TDMA (Time-Division Multiple Access)
- OFDMA (Orthogonal Frequency-Division Multiple Access) with variable transmission time intervals and single beam capability
-
MAC:
- Flexible MAC schedulers that simultaneously consider time- and frequency-domain resources both for TDMA and OFDMA-based access schemes
- QoS schedulers
- QoS LC assignment
- UL grant-based access scheme with scheduling request
- 3GPP-compliant UL buffer status reporting
- Utilities:
- NGMN traffic models: video streaming, voice over IP (VoIP), uplink/downlink gaming, FTP
- 3GPP XR traffic models: XR (AR, VR and CG) and 3GPP FTP Model 1
- Helpers:
- REM (Radio Environment Map) visualization helpers
- Topologies helpers, e.g., hexagonal topology helper and grid topology helper
- Spectrum configuration helpers
- Multi-Cell and multi-BWP configurations helpers support allowing multiple cells with different configurations
- RAN protocol stack trace helpers
We additionally offer two extensions: NR-U and NR V2X extensions. NR-U is distributed as a separate module, while NR V2X is distributed as a branch of the NR module.
- NR-U extension aims to operate in unlicensed spectrum, through multiple channel access managers, including duty-cycling as well as Listen-Before-Talk (LBT)-based procedures.
- NR V2X extension is intended for vehicular communications, including support of NR frame structure, PSCCH and PSSCH multiplexing, resource allocation for NR V2X using mode 2 (autonomous resource selection), SCI (Sidelink Control Information) update, compliance with scenarios and channel models based on TR 38.885. Our initial focus is on: frequency range 1 with numerologies 0, 1, and 2, TDD system, out-of-coverage scenarios, mode 2 resource allocation, broadcast communications, omnidirectional transmissions/receptions for sidelink, sensing-based semi-persistent scheduling (for basic service messages), slot-based scheduling, PSCCH/PSSCH time multiplexing, and blind retransmissions.
Publications
For further information about the capabilities, implementation model and validation details of the 5G-LENA Simulator, please refer to the full list of publications.
If you use the NR module in your research, please consider citing some of the:
- N. Patriciello, S. Lagen, B. Bojovic, L. Giupponi, An E2E Simulator for 5G NR Networks, Elsevier Simulation Modelling Practice and Theory (SIMPAT), vol. 96, 101933, Nov. 2019. Available here.
- K. Koutlia, B. Bojovic, Z. Ali, S. Lagen, Calibration of the 5G-LENA System Level Simulator in 3GPP reference scenarios, Elsevier Simulation Modelling Practice and Theory (SIMPAT), vol. 119, 102580, Sept. 2022. Available here.
If your work is based on the NR-U extension, please cite:
- N. Patriciello, S. Lagen, B. Bojovic, L. Giupponi, NR-U and IEEE 802.11 Technologies Coexistence in Unlicensed mmWave Spectrum: Models and Evaluation, in IEEE Access, vol. 8, pp. 71254-71271, 2020. Available here.
If your work is based on the NR V2X extension, please cite:
- Z. Ali, S. Lagen, L. Giupponi, R. Rouil, 3GPP NR V2X Mode 2: Overview, Models and System-level Evaluation, IEEE Access, vol. 9, pp. 89554-89579, June 2021. Available here.
Future work
The following features are intended to be added to the project in the future:
- NR RRC improvements (RACH, handover, etc.)
- NR RLC improvements
- NR-U improvements
- NR-V2X improvements
- UL configured grant
- Real modeling of control channels (PDCCH, PUCCH)
- Xn interface
About 5G-LENA
The (5G-LENA)[https://5g-lena.cttc.es/] module is being developed and maintained by the CTTC OpenSim Research Unit. Its initial development was funded by InterDigital, and subsequent support has been provided by the Lawrence Livermore National Lab (LLNL), a grant from the National Institute of Standards and Technologies (NIST), and Meta (earlier Facebook). It continues to evolve through successful collaborations with industrial partners.
Documentation
The documentation for NR is available in the docs/manual of https://5g-lena.cttc.es
The documentation for NR V2X is available here in Section 2.16.