FLoRa (Framework for LoRa) is a simulation framework for carrying out end-to-end simulations for LoRa networks. It is based on the OMNeT++
network simulator and uses components from the INET framework
FLoRa allows the creation of LoRa networks with modules for LoRa nodes, gateway(s) and a network server. Application logic can be deployed as independent modules that are connected with the network server. The network server and nodes support dynamic management of configuration parameters through Adaptive Data Rate (ADR). Finally, the energy consumption statistics are collected in every node.
A sample scenario is present in the simulations directory of FLoRa. The scenario is defined in the loRaNetworkTest.ini file
The sample scenario has the following features:
- A network of 10 nodes, one gateway and a network server
- The nodes are placed uniformly randomly distributed in a square deployment area
- Each node sends a packet after a time drawn from an exponential distribution with a mean of 100s
- Spreading factor and transmission power for each node are chosen randomly (uniform) from available settings
- ADR is disabled on both the network server and nodes
- Simulation time limit is configured for 7 days with a warm-up period of 1 day
- The backhaul network configuration is defined by cloudDelays.xml file
- The backhaul network links are set in package.ned
The simulation statistics files are generated in simulations/results directory on completion of the run. The simulation statistics can be viewed through the OMNeT++ GUI.