Petr Sobeslavsky | computer science & programming
SensNet Framework
SensNet framework is a multi-purpose framework for wireless sensor network simulations in OMNeT++ simulator. Based on Mobility Framework, it extends its functionality with sensor network specific features such as energy consumption and power control. Advanced model of simulation scenarios is implemented, making it possible to simulate hidden communication between nodes, collusion attacks and node behavior changes over simulation time.
New Features
- Energy consumption: It is possible to set battery capacity of each node and energy consumption of network interface card in different modes of operation (send/receive/sleep). When there is no energy in the battery, node cannot send and receive packets anymore.
- Power control: It is possible to set for each packet at which power level it will be sent.
- Reputation system: Reputation system module in each node keeps and evaluates information about other nodes in the network. It can be used by application layer, network layer or routing module.
- Behavior control: Every node has its own behavior control module, which makes controlling behavior of a node much easier. Having behavior control as a separate module makes complex behavior decisions possible.
- Hidden communication: Every module has its hidden input/output simulating hidden communication channel between nodes. It is possible to simulate collusion attacks incorporating several nodes.
- Simulation control: New Simulation Manager can load an XML file with complex scenario settings and send simulation control messages to nodes via their simulation control input.
- Simulation output: New output mechanism can be used for writing values into CSV files. These files can be further processed by any text editor or imported into a spreadsheet application.
Sensor Node
A typical node in the SensNet framework is shown in the figure:
Download
- Version 0.1: SensNet source code (zip)
Installation
Working installation of the OMNeT++ simulator is required in version 3.3. Installation instructions can be found in the install.txt file in downloaded archive.
Note
SensNet framework partly reuses code of Mobility Framework, which is not needed for creating own simulations.