Simulation of cooperative behaviour using Visualsense and Ptolemy II

The model that illustrates cooperative behaviour has been developed with Visualsense, Visual Modeling for Wireless (and Sensor Network) Systems (a subset of Ptolemy).

The modeling capabilities to be highlighted that are relevant in this context are:

The model represents an scenario with a base station and cooperative terminals that belong to a group. The base station sends a packet every 2 seconds. A red circle is depicted whenever a packet is sent. The concentric black circle visually shows the range of the base station. Terminals outside of range won’t receive any packets. Terminals can move around. A red circle is depicted whenever a packet is received. The execution semantics are discrete events, where interaction between components is via events with time stamps. The execution of the model can be synchronized to Real Time. Components are defined as classes that define different types of terminals, they can be instantiated to include more terminals of a given type in the model. All the terminals in the model have been instantiated from one of the given classes. Properties can be configured for the base station, as for example, the transmission range. Different properties can be specified for the data transmission channel, for example the lossProbability. Properties can be configured for the terminals as for example, the group they belong to. The model can be navigated. Right-click and Look inside on a component and the sub-model inside is open in another window. Documentation is included in the model to make it more comprehensible. Some components have been developed specifically for the project. Every component is documented. Right-click over it and Get Documentation opens it.

The aim of the demonstrator is to show the percentage of successfully received packets by each group.