SIFRAN: evaluating IoT networks with a no-code framework based on ns-3

Samir Si-Mohammed, Malasri Janumporn, Thomas Begin, Isabelle Guérin Lassous, Pascale Vicat-BlancLANC 2022 · DOI

TL;DR

This paper introduces SIFRAN, a no-code framework that simplifies IoT network simulation using the powerful ns-3 simulator. By providing a user-friendly web interface, SIFRAN empowers non-programmers to design and analyze IoT scenarios, bridging the gap between complex simulation tools and the growing IoT industry.

What Problem Does This Paper Address?

The Internet of Things (IoT) is rapidly expanding, with a diverse range of communication technologies like LoRaWAN and Wi-Fi offering various connectivity options. While ns-3 is a leading open-source network simulator, its steep learning curve, requiring significant programming and networking expertise, limits its adoption by many IoT professionals and industrial users. This creates a barrier for those who need to evaluate and optimize IoT network performance without deep technical knowledge, hindering the efficient selection and configuration of IoT technologies.

Methods

SIFRAN tackles this challenge by creating a no-code framework built around ns-3. The core components include:

  • Web Platform: A user-friendly web interface (developed with Flask) allows users to input scenario parameters through intuitive forms. These forms are tailored to specific IoT technologies and traffic types, abstracting away the underlying complexity.
  • ns-3 Integration: The web platform communicates with ns-3, where pre-defined "templates" translate the user-provided parameters into ns-3 simulation scripts. These templates are written in C++ and are designed to be adaptable for different IoT technologies.
  • Database: A NoSQL database (MongoDB) stores user accounts, scenario configurations, and simulation results (Key Performance Indicators - KPIs) for easy retrieval and comparison.

The framework's novelty lies in its abstraction layer, enabling users to define scenarios and obtain performance metrics without writing any code. The paper details the structure of these ns-3 templates, providing examples for Wi-Fi and LoRaWAN, and outlines how to extend the framework with new IoT technologies.

Datasets

Not discussed in the paper. The paper focuses on a simulation framework rather than empirical data collection or training on specific datasets.

Key Insights and Ideas

  • Democratizing Network Simulation: SIFRAN's no-code approach significantly lowers the barrier to entry for IoT network simulation, making powerful tools like ns-3 accessible to a much broader audience, including IoT architects, product managers, and even students.
  • Bridging the Skills Gap: The framework directly addresses the common lack of programming expertise within many IoT industry teams, allowing them to leverage simulation for informed decision-making.
  • Extensibility is Key: The design emphasizes modularity, with templates for different IoT technologies. This allows the community to contribute by adding support for new protocols, fostering a collaborative ecosystem.
  • Focus on Relevant KPIs: The framework automatically calculates essential KPIs like packet throughput, latency, delivery ratio, energy consumption, and battery lifetime, providing actionable insights for performance evaluation.

Key Results

The paper demonstrates the functionality of SIFRAN through examples of simulating Wi-Fi and LoRaWAN networks. While specific quantitative results are presented in the context of example simulations (e.g., packet throughput of 35.60 Mbps, packet delivery of 44.50% in a specific Wi-Fi scenario), the primary outcome is the successful creation and demonstration of a functional no-code simulation framework. The paper also provides detailed integration guidelines for adding new IoT technologies, suggesting that the framework is designed for scalability and community contribution.

Limitations and Future Work

Limitations:

  • Dependency on ns-3: SIFRAN's capabilities are inherently limited by the network technologies and features available within ns-3.
  • Template Development Effort: While the framework simplifies usage, creating new templates for unsupported IoT technologies still requires C++ programming knowledge and ns-3 expertise.
  • LoRaWAN Energy Model: The paper notes that a specific energy model for LoRaWAN is not yet implemented in the official ns-3 release, impacting the accuracy of battery lifetime calculations for this technology within SIFRAN.

Future Work:

  • Enhanced User Experience: Refining the web application to be even more user-friendly based on community feedback.
  • Expanded Technology Support: Developing additional ns-3 templates for a wider range of IoT technologies.
  • Multi-Gateway Scenarios: Enabling the simulation of scenarios involving multiple gateways.
  • Parameter Sensitivity Analysis: Allowing users to explore the influence of various parameters on KPIs, such as the impact of the number of end-devices on battery lifetime.
  • Community Engagement: Sharing SIFRAN with IoT user communities and making the source code publicly available to encourage contributions and feedback.

Summary updated

BibTeX
@inproceedings{simohammed2022sifran,
  author = {Samir Si-Mohammed and Malasri Janumporn and Thomas Begin and Isabelle Guérin Lassous and Pascale Vicat-Blanc},
  title = {{SIFRAN: evaluating IoT networks with a no-code framework based on ns-3}},
  booktitle = {LANC},
  year = {2022},
  doi = {10.1145/3545250.3560845},
}
Figure