TYTHON : A DYNAMIC SIMULATION ENVIRONMENT FOR SENSOR NETWORKS

We present Tython, a Python-based scripting extension to TinyOS’s TOSSIM simulator. Tython includes a rich library of scripting primitives that enable users to describe dynamic but reproducible simulation scenarios. We take advantage of TinyOS’ event driven execution to allow users to attach script callbacks to particular simulation scenarios. Scripts can also use interfaces at both a whole-network and a per-mote level to analyze and affect behavior in response to changes in the environment. We use the development of a Pursuer-Evader application as a running example to demonstrate the value of this approach.

[1]  David A. Maltz,et al.  A performance comparison of multi-hop wireless ad hoc network routing protocols , 1998, MobiCom '98.

[2]  Robert Szewczyk,et al.  System architecture directions for networked sensors , 2000, ASPLOS IX.

[3]  Dawson R. Engler,et al.  Bugs as deviant behavior: a general approach to inferring errors in systems code , 2001, SOSP.

[4]  David M. Nicol,et al.  A scalable simulator for TinyOS applications , 2002, Proceedings of the Winter Simulation Conference.

[5]  Deborah Estrin,et al.  An Empirical Study of Epidemic Algorithms in Large Scale Multihop Wireless Networks , 2002 .

[6]  Ramesh Govindan,et al.  Understanding packet delivery performance in dense wireless sensor networks , 2003, SenSys '03.

[7]  David E. Culler,et al.  TOSSIM: accurate and scalable simulation of entire TinyOS applications , 2003, SenSys '03.

[8]  Deborah Estrin,et al.  SCALE: A tool for Simple Connectivity Assessment in Lossy Environments , 2003 .

[9]  David E. Culler,et al.  The nesC language: A holistic approach to networked embedded systems , 2003, PLDI.

[10]  Deborah Estrin,et al.  EmStar: A Software Environment for Developing and Deploying Wireless Sensor Networks , 2004, USENIX ATC, General Track.

[11]  David E. Culler,et al.  Lessons from a Sensor Network Expedition , 2004, EWSN.

[12]  Deborah Estrin,et al.  A system for simulation, emulation, and deployment of heterogeneous sensor networks , 2004, SenSys '04.

[13]  David E. Culler,et al.  Beacon vector routing: Scalable point-to-point in wireless sensornets , 2004 .

[14]  Guido van Rossum,et al.  Python Programming Language , 2007, USENIX Annual Technical Conference.