sQualNet version 1.0 beta: Tutorial and Programmers ManualManeesh Varshney, Rajive BagrodiaParallel Computing LabUCLAAdvait Dixit, Balaji Vasu, Parixit Aghera, Mani SrivastavaNetwork and Embedded Systems LabUCLAContents1 Sensor Network Simulation 31.1 sQualnet design and architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2 Models for sensor network simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Running a Simple Scenario (with IP network) 62.1 Deflning sensors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.2 Deflning the tra–c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.3 Deflning Network and MAC Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.4 Deflning the battery model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.5 Deflning the Processor Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.6 Hardware Power Consumption Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.7 Putting it all together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Running non-IP protocols 113.1 Difiusion Network Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...