Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Jan 20;21(3):695.
doi: 10.3390/s21030695.

LoRaWANSim: A Flexible Simulator for LoRaWAN Networks

Affiliations

LoRaWANSim: A Flexible Simulator for LoRaWAN Networks

Riccardo Marini et al. Sensors (Basel). .

Abstract

Among the low power wide area network communication protocols for large scale Internet of Things, LoRaWAN is considered one of the most promising, owing to its flexibility and energy-saving capabilities. For these reasons, during recent years, the scientific community has invested efforts into assessing the fundamental performance limits and understanding the trade-offs between the parameters and performance of LoRaWAN communication for different application scenarios. However, this task cannot be effectively accomplished utilizing only analytical methods, and precise network simulators are needed. To that end, this paper presents LoRaWANSim, a LoRaWAN simulator implemented in MATLAB, developed to characterize the behavior of LoRaWAN networks, accounting for physical, medium access control and network aspects. In particular, since many simulators described in the literature are deployed for specific research purposes, they are usually oversimplified and hold a number of assumptions affecting the accuracy of their results. In contrast, our simulator has been developed for the sake of completeness and it is oriented towards an accurate representation of the LoRaWAN at the different layers. After a detailed description of the simulator, we report a validation of the simulator itself and we then conclude by presenting some results of its use revealing notable and non-intuitive trade-offs present in LoRaWAN. Assuming the acceptance of the paper, the simulator will be made available via open access to the research community.

Keywords: LPWAN; LoRa; LoRaWAN; MATLAB; analysis; internet of things; model; network simulator; performance; simulation.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
LoRaWAN network architecture.
Figure 2
Figure 2
RX Windows in Class A.
Figure 3
Figure 3
Simulator block scheme.
Figure 4
Figure 4
Symbol error rate vs. SNR.
Figure 5
Figure 5
Uplink delivery rate as a function of offered traffic, O.
Figure 6
Figure 6
Energy consumption as a function of offered traffic, O.
Figure 7
Figure 7
Impact of the area radius, R (km). (a) Uplink delivery rate as a function of area radius, R. (b) Energy consumption as a function of area radius, R.
Figure 8
Figure 8
Impact of the number of end devices, N. (a) Uplink delivery rate as a function of number of EDs, N. (b) Energy consumption as a function of number of EDs, N.
Figure 9
Figure 9
Impact of the duty cycle, DC. (a) Downlink response rate. (b) Energy consumption.

References

    1. Al-Fuqaha A., Guizani M., Mohammadi M., Aledhari M., Ayyash M. Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications. IEEE Commun. Surv. Tutor. 2015;17:2347–2376. doi: 10.1109/COMST.2015.2444095. - DOI
    1. Knud Lasse Lueth IoT Analytics. [(accessed on 17 October 2020)];2018 Available online: https://iot-analytics.com/state-of-the-iot-update-q1-q2-2018-number-of-i...
    1. Feltrin L., Tsoukaneri G., Condoluci M., Buratti C., Mahmoodi T., Dohler M., Verdone R. Narrowband IoT: A Survey on Downlink and Uplink Perspectives. IEEE Wirel. Commun. 2019;26:78–86. doi: 10.1109/MWC.2019.1800020. - DOI
    1. Krupka L., Vojtech L., Neruda M. The issue of LPWAN technology coexistence in IoT environment; Proceedings of the 2016 17th International Conference on Mechatronics-Mechatronika (ME); Prague, Czech Republic. 7–9 December 2016; pp. 1–8.
    1. de Carvalho Silva J., Rodrigues J.J.P.C., Alberti A.M., Solic P., Aquino A.L.L. LoRaWAN—A low power WAN protocol for Internet of Things: A review and opportunities; Proceedings of the 2017 2nd International Multidisciplinary Conference on Computer and Energy Science (SpliTech); Split, Croatia. 12–14 July 2017; pp. 1–6.

LinkOut - more resources