| Literature DB >> 35898045 |
Sadiq Idris1, Thenuka Karunathilake2, Anna Förster2.
Abstract
The Internet of Things (IoT) is one of the most important emerging technologies, spanning a myriad of possible applications, especially with the increasing number and variety of connected devices. Several network simulation tools have been developed with widely varying focuses and used in many research fields. Thus, it is critical to simulate the work of such systems and applications before actual deployment. This paper explores the landscape of available IoT and wireless sensor networks (WSNs) simulators and compares their performance using the Low Power Wide Area Network (LPWAN) communication technology called LoRa (Long Range), which has recently gained a lot of interest. Using a systematic approach, we present a chronological survey of available IoT and WSNs simulation tools. With this, we categorized and content-analyzed published scientific papers in the IoT and WSNs simulation tools research domain by highlighting the simulation tools, study type, scope of study and performance measures of the studies. Next, we present an overview of LoRa/LoRaWAN technology by considering its architecture, transmission parameters, device classes and available simulation tools. Furthermore, we discussed three popular open-source simulation tools/frameworks, namely, NS-3, OMNeT++ (FLoRa) and LoRaSim, for the simulation of LoRa/LoRaWAN networks. Finally, we evaluate their performance in terms of Packet Delivery Ratio (PDR), CPU utilization, memory usage, execution time and the number of collisions.Entities:
Keywords: IoT; LPWAN; LoRa; LoRaWAN; WSN; simulation tools
Mesh:
Year: 2022 PMID: 35898045 PMCID: PMC9370880 DOI: 10.3390/s22155546
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Contribution of the Reviewed Studies (2011–2021).
| Year | Simulators/Emulators | Study Type | Scope of Study |
|---|---|---|---|
| 2011 [ | COOJA, MiXiM, NS-3, OMNeT++, QualNet, Shawn, TOSSIM | Evaluation | Overview, evaluation environment, evaluation approaches and requirements, comparative study of wireless link properties (case study) and comparison table in terms of the simulation model |
| 2011 [ | AKAROA, GloMoSim, GTNetS, NetSim, NS-2, OMNeT++, OPNET, P2PRealm, QualNet, Shunra VE | Review | Review, classification, comparison, methodologies, techniques and comparison table |
| 2011 [ | ATEMU, Avrora, EmStar, J-Sim, NS-2, OMNeT++, TOSSIM | Survey | Overview, merits, limitations and comparison table |
| 2011 [ | GloMoSim, GTSNetS, NS-2, OMNeT++, OPNET, SENSE, TOSSIM | Review | State of-the-art, features, limitations and comparison table |
| 2011 [ | Castalia, J-Sim, Mixim, NRL, NS-2, OMNeT++, PAWiS, SENSE, SenSim, SensorSim, TOSPIE2 | Review | Overview, state-of-art, features and requirements |
| 2011 [ | NS-2, OPNET, QualNet | Comparative study | Relevance of WSN simulators compared to the IEEE 802.15.4 standard Testbed |
| 2011 [ | Avrora, Castalia, Cooja, EmStar, GloMoSim, J-Sim, (J)Prowler, NS-2, SENS, SENSE, Shawn, TOSSIM, UWSim, VisualSense | Comparison | Overview, environment, features, simulation/ |
| 2011 [ | Castalia, MiXiM, TOSSIM, WSNet | Comparison | Examine realistic models topology, energy consumption model, antenna setting, MAC, noise and radio propagation of the simulators/emulators |
| 2012 [ | AlgoSenSim, Atarraya, ATEMU, Avrora, COOJA, EmSim, Sensor Network Package, Freemote, J-Sim, MSPsim, NetTopo, NS-2 based (NRL Sensorsim, RTNS, Mannasim), OMNeT++ based (PAWiS, MiXiM, SENSIM, NesCT, Castalia), Prowler, Ptolemy II based (VisualSense, Viptos), SENS, SENSE, Sensor Security Simulator (S3), Shawn, TOSSIM, SIDnet-SWANS, TRMSim-WSN, VMNet, Sinalgo, Wireless Sensor Network Localization Simulator, Wireless Sensor Network Simulator, WSim, WSN-Sim, WSNet, WsnSimPy | Survey | Overview, classification, features, applications and comparison table |
| 2012 [ | J-SIM, NetSim, NS-2, OMNET++, OPNET, NS-3, QualNet, REAL | Survey | Overview, features, advantages and disadvantages |
| 2012 [ | GloMoSim, J-SIM, NS-2, OMNeT++, OPNET, QualNet | Comparison | Overview, performance comparison, and comparison table |
| 2012 [ | ATEMU, Avrora, Castalia, J-Sim, NS-2, OMNeT++, OPNET, TOSSIM | Comparison | Overview, merits, limitations and comparison table |
| 2012 [ | ATEMU, AVRORA, Castalia, (J)Prowler, SENSE | Survey | Brief overview |
| 2012 [ | Dingo, EmStar, GloMoSim, J-Sim, NS-3, OPNET, QualNet, SENS, SensorSim, Shawn, TOSSF, TOSSIM | Survey | Overview, modeling, methodologies and comparison table |
| 2012 [ | NS-2, NS-3 | Comparison | Overview, features, differences, advantages and disadvantages |
| 2012 [ | MATSNL, NS-2, OMNeT++, NS-3, PowerTOSSIM, PowerTOSSIM-z | Comparison | Features, performance, reliability, energy consumption, techniques and comparison table |
| 2012 [ | Glomosim, J-Sim, NS-2, NS-3, OMNeT++ | Survey | Overview, features, advantages, disadvantages, future work, limitations and comparison table |
| 2013 [ | GloMoSiM, NS-2, NS-3, OMNET++ | Comparison | Performance comparison |
| 2013 [ | COOJA, GloMoSim, J-Sim, (J)Prowler, NS-2, OMNeT++ based (Castalia), SENS, SENSE, Shawn, TOSSIM, UWSim, VisualSense | Survey | Overview, classification, features, scalability, effectiveness, limitations and comparison table |
| 2013 [ | ATEMU, Avrora, J-Sim, NS-2, OMNeT++, Sense, Sensorsim, TOSSIM | Survey | Comprehensive overview and energy/power consumption |
| 2013 [ | Castalia, J-Sim, TOSSIM, NS-2, QualNet, NS-3 | Comparison | Overview, limitation, model, merits and demerits |
| 2013 [ | J-Sim, NS-2, OMNeT++, NS-3 | Comprehensive Survey | Overview, features, architecture, advantages, disadvantages and comparison table |
| 2013 [ | Avrora, Castalia, GloMoSim, J-Sim, MiXiM, NS-3, OPNET | Survey | Overview and features |
| 2013 [ | Dingo, EmStar, GloMoSim, GTSNetS, J-Sim, SensorSim, NS-2, TOSSIM, NS-3, Qualnet, SENS, Shawn, TOSSF, OPNET | Survey | Overview, modeling, simulation methodologies, features, drawbacks and comparison table |
| 2013 [ | J-SIM, NS-2, TINYOS, NS-3, NetSim, OMNeT++, OPNET, SimPy, QualNet | Survey | Overview, advantages and disadvantages |
| 2013 [ | ATEMU, EmStar/EmSim/EmTOS, J-Sim, GloMoSim, OMNeT++, NCTUns2.0, NS-2, JiST/SWANS, Prowler/(J)Prowler, Ptolemy II, SENS, SNAP, SSFNet, TOSSIM | Survey | Overview, WSN model, framework choice, simulation software package (general and specific) and comparison table |
| 2014 [ | ATEMU, Avrora, Castalia, COOJA, Dingo, EmStar, GloMoSim, J-Sim, JiST/SWANS, NS-2, NS-3, OMNeT++, SENS, SENSE, SensorSim Shawn, ShoX, Sidh, WsnSimPy, TOSSF, TOSSIM, VisualSense | Review | Overview, features, advantages and disadvantages and comparison table |
| 2014 [ | GloMoSim, NS-2, OMNET++, NS-3 | Survey | Characteristics, limitations, availability (site), applications to MANET, advantages and disadvantages |
| 2014 [ | NS-2, OMNeT++ (Castalia), NS-3, J-Sim, TOSSIM | Comparison | Overview and performance comparison (CPU utilization, memory usage, computational time period) |
| 2014 [ | GloMoSim, J-Sim, OPNET, NS-2, OMNET++, NS-3, QualNet | Review | Overview, evaluation methods, routing protocols, advantages and drawbacks, selection criteria, popularity and comparison table |
| 2014 [ | Castalia, EmPro, EmStar, Freemote Emulator, GloMoSim, MiXiM, MSPSim, NS-3 | Survey | Overview, features, types and limitations |
| 2014 [ | DRMSim, GloMoSim, GrooveNet, J-SIM, NCTUns, NetSim, NS-2, NS-3, OMNeT++, OPNET, QualNet, SSFNet, TOSSIM, TraNS | Comparison | Overview, features, advantages, limitations and comparison table |
| 2014 [ | AEON, AlgoSenSim, Atarraya, ATEMU, Avrora, Boris, Capricorn, Castalia, CaVi, COOJA, DiSenS, EmStar/Em*, EmTOS, EnergySim, GloMoSim, GTNetS, H-MAS, J-Sim, JiST/SWANS++, JiST/SWANS, (J)Prowler, LecsSim, LSUSensorSimulator, Mannasim, Maple, MOB-TOSSIM, motesim, Mule, NetTopo, NAB, NS-2, OLIMPO, OMNeT++, OPNET, PAWiS, PowerTOSSIMZ, Prowler, Ptolemy, QualNet, SenQ, Sensor security simulator (S3), SENS, SENSE, Sensoria, SensorMaker, SensorSim, Shawn, Sidh, SimGate, SimPy, SimSync, Sinalgo, SmartSim, SIDnet-SWANS, SNAP, SNetSim, SNIPER-WSNim, SNSim, SSFNet, Starsim, TikTak, TOSSF, TOSSIM, TRMSim-WSN, UWSim, VisualSense, Wireless Sensor network localization simulator, WISDOM, WISENES, WiseNet, WSim, WSNet-Worldsens, WSNGE, WSNsim, Xen WSN simulator | Analytical Study | Evaluation criteria, type of simulation, classification/categorization, recent developments, designed or modified and nearby realistic experimental results |
| 2015 [ | DRMSim, GloMoSim, J-Sim, LabVIEW, Mannasim, MATLAB/Simulink, NCTUns 6.0, NetSim, NetTopo, NRL Sensorsim, NS-2, NS-3, OMNeT++, OPNET, PiccSIM, Prowler, Ptolemy II, QualNet 7.0 and EXata 5, SENS, SENSE, SensorSim, SHAWN, SIDH, SIDnet-SWANS, sQualNet, SSFNet, UWSim, Viptos, Visual Sense, WSim/WorldSen/s/WSNet, WSN Localization | Review | Comprehensive review, architecture, features, interface/GUI, and comparison table |
| 2015 [ | J-Sim, NetSim, NS-2, OPNET, NS-3, QualNet, OMNeT++ | Survey | Overview |
| 2015 [ | J-Sim, NetSim, NS-2, OPNET, NS-3, QualNet, OMNeT++ | Survey | Overview |
| 2015 [ | ATEMU, AVRORA, Castalia, Emsim, Free Emulator, J-SIM, MPSim, NS-2, QualNet, OMNeT++, Prowler, NS-3, TOSSIM, WSim, WSN Localization Simulator | Qualitative analysis | Overview, classification, features, limitation, pros and cons, and comparison table |
| 2016 [ | ATEMU, Avrora, Castalia, EmStar, GloMoSim, J-Sim, MiXiM, MSPsim, NesCT, NRL SensorSim, NS-2, NS-3, OMNeT++, OPNET, PAWiS, Prowler/(J)Prowler, SENS, SENSE, SenSim, SensorSim, Shawn, SUNSHINE, TOSSIM | Review | Overview, features, implementation, usage (general networking or for WSNs), techniques, structure and short comparison table |
| 2016 [ | Avrora, Castalia, COOJA/MSPSim, DANSE, MiXiM, NetTopo, NS-2, NS-3, PASES, PAWiS, Sense, TOSSIM, VIPTOS, WSNet | Comparative study | Overview, categorization, different mainstream simulation environments and comparison table |
| 2016 [ | Atarraya, MATLAB/Simulink, NS-2, OMNeT++, PiccSIM, Prowler, TrueTime | Comparison | Analyzed and compared various simulation frameworks and comparison table |
| 2016 [ | Aqua-glomo, Aqua-netmate, Aqua-Sim, Aqua-tools, AUVNetSim, Desert, NS-2, NS-3, OPNET, QualNet, UNSET, USNet, UWSim, WOSS | Survey | Overview, Underwater Sensor Network (UWSN), features, pre-requirements and comparison table |
| 2016 [ | Castalia, NS-3, TOSSIM | Comparison | Overview, features, power consumption and comparison analysis |
| 2016 [ | NS-2, NS-3 | Comparison | Overview, features, architecture, merits, demerits, models and comparison table |
| 2016 [ | CNET, Dingo, EmStar, GloMoSim, GTSNetS, J-Sim, TOSSIM, NS-2, OPNET, SENS, SensorSim, Shawn, NS-3, TOSSF, TRMSim, Qualnet | Comprehensive survey | Overview, features, limitations, methodology, test-beds, hardware platforms and comparison table |
| 2016 [ | Castalia, MiXiM, PASES, WSNet, COOJA | Case study | Routing behavior, protocols, models and accuracy performance |
| 2017 [ | J-Sim, MATLAB, NS-2, NS-3, OMNeT++, OPNET, QualNet | Survey | Taxonomy on simulation, overview, features, limitations and comparison table |
| 2017 [ | NS-2, OMNeT++, OPNET Modeler | Survey | Overview, performance analysis and comparison table |
| 2017 [ | Review | Overview, features, evaluation techniques, environments, requirements, operating systems, limitations, frameworks, performance comparison and comparison table | |
| 2017 [ | ATEMU, Avrora, Castalia, COOJA, Dingo, EmStar, GlomoSim, J-Sim, OMNeT++, JiST/SWANS, NS-2, SENS, SENSE, SensorSim, NS-3, Shawn, ShoX, Sidh, TOSSF, TOSSIM, VisualSense, WsnSimPy | Comparative study | Overview, characteristics, modeling energy consumption, modeling mobility, scalability, extensibility and comparison table |
| 2017 [ | AEON, ATEMU, Avrora, Castalia, COOJA, EmStar, EnergySim, GloMoSim, IDEA1, J-Sim, NS-2, OMNeT++, OPNET, PAWiS, PowerTOSSIM, Prowler, Ptolemy, QualNet, SENSE, Sensim, SensorSim, Shawn, STORM, TOSSIM, UWSim | Evaluation | Overview, energy-aware scheme, features, advantages, limitations, classification method, power consumption model and comparison table |
| 2017 [ | Avrora, Castalia, Contiki, Prowler, Riot, Shawn, Shox, TinyOS, TRMSim-WSN | Survey | Overview, features, software evaluation and comparison table |
| 2017 [ | ATEMU, Avrora, Castalia, COOJA, EmStar, J-Sim, NS-2, OMNeT++, SENS, TOSSIM | Survey | Overview, features, advantage, disadvantages, limitations and comparison table |
| 2017 [ | Castalia, Cupcarbon, J-Sim, NS-2, TOSSIM, OMNeT++, NS-3 | Review | Overview, state of art, IoT applications, architectures, simulation tools in IoT, advantages, disadvantages and comparison tables |
| 2017 [ | NS-2, OMNeT++ | Comparison | Brief overview, advantage, limitation and performance comparison |
| 2018 [ | GloMoSim, NS-3, J-Sim, NetSim, NS-2, OMNeT++, OPNET, JiST/SWANS, QualNet | Survey | Overview, features, protocols, merits, demerits and comparison tables |
| 2018 [ | CupCarbon, NC-Tuns, NS-2, NS-3, OMNeT++, OPNET Modeler/ Riverbed Modeler, TOSSIM | Evaluation | Overview, features, routing algorithm (modified Dijkstra algorithm) and comparison tables |
| 2018 [ | NetSim, QualNet, NS-2, OMNeT++, OPNET, NS-3, REAL | Survey | Overview, features, advantages, disadvantages, backend environment, supporting operating system, and minimum hardware requirement |
| 2018 [ | Avrora, EmStar, J-Sim, NS-2, NS-3, NS4, OMNeT++, QualNet, SENS, TOSSIM | Comparison | Overview, features, limitation, and comparison table |
| 2018 [ | J-Sim, MATLAB, NS-2, OPNET, QualNet, TOSSIM | Survey | Overview, selection criteria, merits and demerits |
| 2019 [ | ATEMU, Avrora, Castalia, Cooja, Emsim, Emstar, Freemote, GloMoSim, J-Sim, Mannasim, MSPSim, NS-2, NS-3, OMNeT++, OPNET, Prowler, QualNet, TOSSIM, VMNET | Review | Overview, features, necessity and limitation of testbeds and comparison table |
| 2019 [ | MATLAB / Simulink, NS-2, NS-3, Prowler | Survey | Overview |
| 2019 [ | AVRORA, CloudSim, GloMoSim, GNS3, J-Sim, NetSim, NS-2, OPNET Modeler, NS-3, OptSim, Packet tracer, OMNeT++, QualNet, REAL | Comparative study | Overview, features, benefits, disadvantages, limitations and comparison tables |
| 2019 [ | GloMosim, J-Sim, OPNET, NS-2, OMNeT++, Qualnet | Survey | Overview, features, recent developments and comparison table |
| 2020 [ | Avrora, NS-2, TOSSIM, OMNeT++, NS-3 | Comparative study | Implementation and evaluation process, different testbeds, features, limitations and comparison table |
| 2020 [ | NetSim, NS-2, QualNet, OMNeT++, NS-3, SWANS | Review | Focus on NS-3 (popularity and flexibility) and comparison table |
| 2020 [ | NS-2, OMNeT++, TOSSIM | Evaluation | Overview, methodology, application, energy model, performance comparison (CPU consumption, memory usage, execution time, scalability) and comparison table |
| 2020 [ | COOJA, J-Sim, LabView, MATLAB/Simulink, Mixim or Castlia, NetSim, NS-2, NS-3, OMNeT++, OPNET, TOSSIM, QualNet | Comprehensive review | Experimental analysis, modeling, estimation, interference avoidance, merits, demerits and comparison table |
| 2020 [ | GloMoSim, MATLAB/Simulink, NetSim, NS-2, TOSSIM, NS-3, SENSE, OMNeT++, OPNET, QualNet | Comparative study | Overview, classification, methodology, Adhoc on Demand Vector Protocol (AODV), clustering protocol, simulation run-time comparison, merits, shortcomings and comparison table |
| 2020 [ | MATLAB, NetSim, NS-2, OMNeT++, NS-3 | Survey | Overview, coverage techniques, comparisons, classification of coverage and practical challenges performance metrics |
| 2020 [ | ATEMU, EmStar, J-Sim, NS-2, OMNeT++, TOSSIM | Comparison | Overview, advantages and disadvantages and comparison table |
| 2020 [ | GNS3, MATLAB, NS-2, NS-3, OMNET++, OPNET IT Guru | Case study | Overview, features, evaluation indicators, measurement and valuation levels, and comparison table |
| 2020 [ | MATLAB/Simulink, NS-2, OPNET, NS-3, OMNeT++ | Comparison | Brief description, network simulation methods, classification, time-sensitive Networking (TSN), comparative analysis |
| 2020 [ | NS-2, TOSSIM, OMNeT++ | Survey | Brief overview, mechanism, transmission technologies, challenges, applications of WSN |
| 2020 [ | cnet, Dingo, EmStar, GloMoSim, J-Sim, NS-2, QualNet, GTSNetS, OPNET, SENS, SensorSim, NS-3, SensorSim-II, TOSSIM, TRMSim-WSN | Survey | Brief review and feasibility analysis |
| 2021 [ | J-Sim, MATLAB, NetSim, NS-2, NS-3, OMNeT++, OPNET, QualNet | Survey | Short description, different experimental platforms, architecture, features, limitations and comparison table |
| 2021 [ | CORE, Komondor, Mininet-WiFi, NS-3, OMNeT++/INET, Packet Tracer | Survey | Overview and recommended usage (in terms of mobility, handover, configuration of network devices, wireless packet simulation, signal range, WEP, WPA, 4-way handshake data exchange (RTS/CTS/Data/Ack) and interference) |
| 2021 [ | MATLAB, NS-2, NetSim, OMNeT++, NS-3 | Comparison | Overview, statistical analysis and comparison with respect to Wake-up Receivers |
| 2021 [ | GloMoSim, J-Sim, JiST/SWANS, MATLAB/Simulink, NetSim, NS-2, QualNet, OMNeT++, OPNET, NS-3 | Comparative Study | Reviews on areas of strength, operating system, supported ad hoc technologies, degree of usability and comparison table |
Comparative Performance of the Reviewed Studies (2011–2021).
| Ref. | Compared | Simulation Parameters | Performance Measures | Scenario/Comment |
|---|---|---|---|---|
| [ | NS-2, Shawn, | • Simulation Time: 60 s | • Number of nodes vs. Memory usage | Presented a case study of |
| [ | NS-2, OMNeT++, | • Simulation Time: 500 s | • Number of nodes vs. Computational time | Compared simulators |
| [ | NS-2, TOSSIM, | • Simulation Time: 500 s | • Number of nodes vs. Memory usage | Compared simulators |
| [ | Avrora, NS-2 | • Nodes number: 100 | • Localization accuracy vs Com. range | Implemented QLoP |
| [ | NS-2, OMNeT++, | • Number of nodes: 50 & 100 | • Simulation run-time comparison | Compared simulators |
| [ | TOSSIM, NS2, | • Simulation time: 100 s | • Time vs. CPU consumption | |
| [ | Castalia, MiXiM, | • Simulation time: 3600 s | • Number of nodes vs. Simulation time | |
| [ | OMNeT++/INET, | • VANET scalability: Circular & rectangular road | • Number of vehicles vs. Time for simulations | Scalability study focused on VANETs |
| [ | OMNeT++, SXCS | • Number of nodes: 10–1000 | • Remaining energy vs. Time | Proposed SXCS, a |
Figure 1Yearly distribution of selected papers.
Figure 2Number of WSN simulators/emulators citations.
Figure 3Technological distribution of installed LPWANs technologies base in 2021.
Figure 4LoRaWAN protocol stack.
LoRaWAN Channel Plan based on Deployed Country/Region [123].
| Country/Region | Band/Channels (MHz) | Channel Plan |
|---|---|---|
| Europe | 433.05–434.79, 863–870 | EU433, EU863–870 |
| USA, Canada, Mexico | 902–928 | US902-928 |
| China | 779–787, 470–510 | CN779–787, CN470–510 |
| Japan | 920.6–928.0 | AS923-1 |
| Australia | 915–928 | AS923-1, AU915–928 |
| United Kingdom | 863–873, 915–918 | EU863–870, AS923-3 |
| India | 865–867 | IN865–867 |
| South Korea | 917–923.5 | KR920-923 |
| Russia | 864–869.2 | RU864–870 |
LoRaWAN Device Classes Features and Applications [131,132].
| Class Type | Features | Common Applications |
|---|---|---|
|
| • Are often battery-powered sensors | • Environmental monitoring |
|
| • An extension of Class A | • Utility meters |
|
| • An extension of Class A devices | • Streetlights |
Figure 5A typical LoRaWAN network architecture.
Effects of SF on data rate, distance, ToA, receiver sensitivity and battery life.
| Parameter | Higher SF | Lower SF |
|---|---|---|
| Data rate | Lower | Higher |
| Distance | Travel longer | Travel shorter |
| ToA | Longer | Shorter |
| Receiver Sensitivity | Higher | Lower |
| Battery Life | Shorter | Longer |
Bit rate (kbits/s) for different ranges of SF and BW.
| SF | 125 kHz | 250 kHz | 500 kHz |
|---|---|---|---|
| 7 | 5.47 | 10.94 | 21.88 |
| 8 | 3.13 | 6.25 | 12.50 |
| 9 | 1.76 | 3.52 | 7.03 |
| 10 | 0.98 | 1.95 | 3.91 |
| 11 | 0.54 | 1.07 | 2.15 |
| 12 | 0.29 | 0.59 | 1.17 |
EU863-870 Data Rates and Maximum Payload Size [123].
| Data Rate | SF | BW (kHz) | Bit Rate (bit/s) | Payload Size (Bytes) |
|---|---|---|---|---|
| 0 | 12 | 125 | 250 | 51 |
| 1 | 11 | 125 | 440 | 51 |
| 2 | 10 | 125 | 980 | 51 |
| 3 | 9 | 125 | 1760 | 115 |
| 4 | 8 | 125 | 3125 | 242 |
| 5 | 7 | 125 | 5470 | 242 |
| 6 | 7 | 250 | 11,000 | 242 |
Figure 6LoRa frame structure.
Figure 7LoRa packet duration in air comparison.
Comparison of LoRa/LoRaWAN Simulators for IoT.
| Ref. | Simulation | Type | Language | Target | Operating System | GUI |
|---|---|---|---|---|---|---|
| [ | LoRaSIM | Discrete-event | Python | Specific | Linux, macOS, Windows | No |
| [ | NS-3 | Discrete-event | C++, Python | Generic, specific | Linux, Windows | Yes |
| [ | OMNeT++(FLoRa) | Discrete-event | C++ | Generic, specific | Linux, macOS, Windows | Yes |
| [ | CupCarbon | Discrete-event | Java, SenScript | Zigbee, WiFi, LoRa radio | macOS | Yes |
| [ | PhySimulator | Discrete-event | MATLAB | Specific | macOS, Windows | No |
| [ | LoRaFREE | Discrete-event | Python | Specific | Linux, macOS, Windows | No |
| [ | LoRaEnergySim | Discrete-event | Python | Specific | Linux, macOS, Windows | No |
| [ | LoRaWANSIM | Discrete-event | MATLAB | Specific | Linux, macOS, Windows | No |
| [ | TS-LoRa | Discrete-event | Micropython | Specific | Linux, macOS, Windows | No |
| [ | LoRaWAN-SIM | Discrete-event | Perl | Specific | Linux, macOS, Windows | No |
| [ | LoRaMACSim | Discrete-event | Python | Specific | Linux, macOS, Windows | No |
| [ | LoRa-MAB | Discrete-event | Python | Specific | Linux, macOS, Windows | No |
| [ | LoRaWANSim | Discrete-event | Python | Specific | Linux, macOS, Windows | No |
| [ | LoRaPlan | Discrete-event | Python | Specific | Linux, Windows | Yes |
| [ | AFLoRa | Discrete-event | C++ | Specific | Linux, macOS, Windows | Yes |
Comparison of NS-3, FLoRa and LoRaSim Simulation Tools with focus on LoRa/LoRaWAN [121,148,187].
| Features | NS-3 LoRaWAN Module | FLoRa Framework | LoRaSim |
|---|---|---|---|
| Base Simulator | NS-3 | OMNeT++ | Python |
| Language | C++ and Pyhton | C++ | Python |
| Event | Discrete | Discrete | Discrete |
| License | Open source | Open source | Open source |
| Native GUI Support | No | Yes | Only plot |
| Power Awareness | Yes | Yes | Yes |
| Low-Power Protocols | Yes | Yes | Yes |
| Additional Frameworks | Import all libraries online | INET | SimPy, NumPy, matplotlib |
| Energy Model | Yes | Yes | Yes |
| ADR Support | Yes | Yes | No |
| Examples | Yes | Yes | Yes |
| ACK Support | Yes | Yes | No |
| Imperfect SF | Yes | No | No |
| Capture Effect | Yes | Yes | Yes |
| Device Class | A | A | A |
| Multi-GW Support | Yes | Yes | Yes |
| Uplink Confirmed | No | Yes | Yes |
| Downlink Traffic | Yes | Yes | No |
| Network Server | Simple | Through IP | Simple |
| Urban Propagation Models | Yes | Yes | Yes |
| Popularity in Literature | High | Medium | High |
| Documentation | Excellent | Good | Good |
| Community Support | Very Good | Limited | Limited |
| Energy Consumption | Yes | Yes | Yes |
| Latest Version /Year | 0.3.0/2021 | 1.0.0/2021 | 0.2.1/2017 |
Simulation Setup Parameters.
| Parameters | Values |
|---|---|
| Simulation Time | 10,000 s |
| X, Y Dimensions | 100 m × 100 m |
| Number of Gateway(s) | 1 |
| Packet Size | 51 bytes |
| Network Topology | star-of-stars |
| Spreading Factor ( | 7 & 12 |
| Number of End-Devices (EDs) | 50–400 |
| Bandwidth ( | 125 kHz |
| Time between Packets | 100s |
| Transmission Power (TP) | 14 dBm |
| Carrier Frequency | 868 MHz |
| Code Rate (CR) | 4/5 |
Simulators versions.
| Simulator | Versions |
|---|---|
| LoRaSim | 0.2.1 |
| NS-3/ NS-3 LoRaWAN Module | 3.29/0.3.0 |
| OMNeT++/INET/FLoRa | 6.0rc1/4.3.7/1.0.0 |
Figure 8PDR vs. number of nodes.
Figure 9CPU utilization vs. number of nodes.
Figure 10Execution time vs. number of nodes.
Figure 11Memory usage vs. number of nodes.
Figure 12Number of collisions vs. number of nodes.