SensorSim Andrei Marculescu & Jacques Fontignie 7/23/2018
Summary Goals Functionalities Future Demonstration 7/23/2018
Goal of a new framework There exists some frameworks (NS2) but: Network stack oriented Difficult to test one algorithm Difficult to extend and to customize Why we create an other framework? Everybody in the TCS group use his own program and spend a lot of time to code it Some optimizations can be hidden from users Algorithm orientation Modularity 7/23/2018
Functionalities Easy to implement new algorithms A routing algorithm A localization algorithm A mix of different algorithms ... Customizable (different kind of nodes, of topology, ...) Customizable Performance measurements 7/23/2018
UML (Simplified) 7/23/2018
Implementation of a new algorithm Every new algorithm has to implement one (or two) methods Example: Routing algorithm needs to implement: Node chooseNextNode(...) : specify which node the algorithm will select The configuration file is adapted and can be started. 7/23/2018
Customization The framework uses a configuration in XML format. Each element represents an object. <routing-strategy CLASS="sensorsim.algorithm.node.routing.WeightedAverageRoutingStrategy"> <parameter NAME="avgWeight" VALUE="1"/> <parameter NAME="stdWeight" VALUE="1"/> </routing-strategy> 7/23/2018
Statistics Text Possible to show statistics written in the console or in a file. Files can be written in CSV, or in other format. Graphical Statistics can be viewed in a GUI to help understand the process. Images can be exported. Beautiful 7/23/2018
Examples (1) time #_PASSIVE_LISTEN #_ACTIVE_LISTEN #_sent_messages time(ms.) density 0 0 3000 0 762 24.0 10000 3000 0 120545 974 24.0 20000 3000 0 240983 747 24.0 30000 3000 0 362016 706 24.0 40000 3000 0 481967 694 24.0 50000 3000 0 603594 704 24.0 60000 3000 0 724110 723 24.0 70000 3000 0 845285 747 24.0 7/23/2018
Examples (2) 7/23/2018
Optimizations A lot of work has been done on optimizations: Calculation of the near range neighbor optimized: default algorithm: more than 20 minutes our algorithm: less than 10 seconds Fast probability algorithm States are available for nodes to avoid evaluating useless nodes (BROKEN, SLEEP, ...) ... 7/23/2018
Future DOCUMENTATION implement the mobility manage different transmission type (laser, radio) manage the energy consumption (currently unavailable) implement standard algorithms Open source GUI DOCUMENTATION 7/23/2018
Demonstration Localization Routing Flooding 7/23/2018