Home'."\n"; } else echo "\t\t".''."\n"; if ($title=="Interactive" || $title=="SceneGenerator" || $title=="Applet" || $title=="mobile") { echo "\t\t".''."\n"; } else echo "\t\t".''."\n"; if ($title=="Downloads") { echo "\t\t".''."\n"; } else echo "\t\t".''."\n"; if ($title=="People") { echo "\t\t".''."\n"; } else echo "\t\t".''."\n"; if ($title=="Contact") { echo "\t\t".''."\n"; } else echo "\t\t".''."\n"; if ($title=="Documentation" || $title=="GUI" || $title=="General") { echo "\t\t".''."\n"; } else echo "\t\t".''."\n"; ?> '; echo "\t\t".''."\n"; echo "\t".''; echo "\t".''."\n"; echo "\t\t".''."\n"; echo "\t".''; } // Untermenue 2 if ($title=="GUI") { echo "\t".''; echo "\t\t".''."\n"; echo "\t".''; echo "\t".''."\n"; echo "\t\t".''."\n"; echo "\t".''; } ?>

Help for the GUI

Karte Ansim Simulation Input Field Node Mode File Extension Shape Communication Start ViewAll Graphical Output Explanation Output Config Window Java ansim400 Robots '."\n"; } // Hotspots fuer die Karte "mobile","config" oder "output" else { ?> Model Move Angle Speed Stop

ANSim 4.00

ANSim written out Ad-Hoc Network Simulation is a tool to perform connectivity simulations in Ad-Hoc networks.

N nodes are distributed within a Field with the help of a random function (scenario). Two nodes are selected and examined whether they are connected. With rising number of scenarios the accuracy of the result rises.
On the left side you can see the input block for the simulation parameters. The right side shows the text output block with the numerical calculated result values. Within the lower area (graphical output block) single scenarios are visualized.

Simulation input

The left side contains the input block of the simulation parameters:

  • Field: Size of the simulation field xsize and ysizeA
  • Shape: Shape of the simulation field S
  • Range: Transmission range of the nodes

  • Number: Number of nodes distributed on the field
  • Communication: Type of communication between the nodes
  • Mode: Behaviour of the nodes. The nodes may be mobile or static. We will speak of static and mobile simulations and scenarios
  • Extension: Parameter to extend the field by a multiple of the field, in order to avoid edge effects.

The additional input parameters of the static mode are:

The additional input parameters of the mobile mode are:

  • Model: The mobility model of the nodes
  • Speed: The speed of the nodes
  • Stop: The time the nodes stop when movements are finished
  • Move: The time the nodes move until they stop again (Is only active in models that support this parameter.)

Field

The parameters xsize and ysize control the size of the field A.

Default: A field with size 1000x1000m2.

Node

The parameter range controls the transmission range of a node in meters. The second parameter number controls the number of nodes placed in the field.

Default: 10 nodes with a range of 250 meters.

Simulation mode

static: The nodes do not move.
mobile: The nodes move according to the mobility model.

Default: mobile

File

Besides the manual configuration with the help of the GUI, it is possible to use configuration files as input for the simulations. Configuration files have the extension .anm. The configuration possibilities are extended substantially. In such a file the field can be specified as a polygon. There can be an unlimited number of obstacles blocking or being transparent to the wireless transmission. Additionally hotspots which serve as final destinations for the points can be added. For further information see the EBNF notation and an example the IU campus.

'."\n"; break; } case "Extension":{ ?>

Extension

Parameter Extension ∈ Integer to extend the field by a multiple of the field, in order to avoid edge effects.

Default: 1

Shape

Shape of the field: Rectangle, Oval and (Polygon is not effective in manual configuration) are the three possible choices.

Default: Rectangle

Communication

There are two possibilities:
Central communication means that the source is always placed in the center of the field.
During decentral communication the source node behaves like all the other nodes.

Default: decentral

Model

The mobility model discribes the kind of movement of the nodes:

  • Random Direction (also called Random Walk in the literature)
  • Random Waypoint (the classical uniform distribution of destinations in the field)
  • Random Waypoint Indirect (nodes move along the x and y axes)
  • Random Waypoint Gaussian (destinations are placed according to the gaussian distribution in the field)
  • Gauss Markov
  • Trace file (Way and speed of the nodes is controlled by an xml file)


Default: Random Waypoint

Note: Model is only available in mobile Mode

Start, Pause, Continue and Stop

  • Start: Clicking the button will start the simulation.
  • Pause: After the simulation is started, the Start button toggles to Pause.
  • Continue: After the simulation is paused, the Pause button toggles to Cont..
  • Stop: Clicking this button while stop and reset the simulation.






ViewAll

just a dummy at the moment: may be availabile in next version of Ansim.

Move

The time the nodes move into one direction. First parameter specifies the minimum and the second parameter the maximum. If these two values differ a uniformly distributed value will be chosen randomly out of the interval.

Default: 300s

Note: only available in mode mobile and Model : Random Direction and Gauss Markov

Angle

The next direction will deviate +-angle from the last direction

Default: An angle of 10.0 degrees

Note: only available in mode mobile and Model : Gauss Markov

Speed

The speed of the nodes in meters per second. First parameter specifies the minimum and the second parameter the maximum. If these two values differ uniformly distributed value will be chosen randomly out of the interval.

Default: Minimal 0.4 meters per second and maximal 2.0 meters per second

Note: Only available in Mode mobile

Stop

The time the nodes stop between movements. First parameter specifies the minimum and the second parameter the maximum. If these two values differ a uniformly distributed value will be chosen randomly out of the interval.

Default: No break between the movements

Note: Only available in Mode mobile

Robots

Define some of the nodes as robots with special properties.

Default: No robots

Graphical Output

The graphical output area shows a single snapshot. The source node (or sender) is coloured in green and the destination node (or recipient) is coloured in blue. The green source node tries to find the shortest possible path to the blue destination node. The algorithm ends, as soon as the target node is reached (connectivity) or the tree cannot be completed further (no connectivity). The resulting spanning tree is displayed in black (SPT from green to blue). All available links between nodes are coloured in grey. In the example the length of the path is 3 hops. The two circles of the source and destination node illustrate the transmission range

Explanation

  • Source: Green node with Index 0
  • Destination: Blue node with Index N-1
  • Range: The two circles of the source and destination node illustrate the transmission range.
  • Connection: All available links between nodes are coloured in grey.
  • Spanning tree: The black coloured lines represent the spanning tree from source to destination.
  • active: The red coloured line are active links. (not used at the moment)

Output

The output block illustrate the numerical calculated result values. The result values of the started or stoped simulation are:

  • Number of snapshots: Total number of the analysed snapshots
  • Probability(E_con,0,n-1): Probability, that two nodes are connected
    P(E_con,0,n-1) is calculated as quotient of the successful snapshots with connectivity and the total number of the examined snapshots:
    {Snapshots | (source & destination connected)} / number of examined snapshots
  • Average distance: Average distance between source and destination node
  • Average direct neighbours: Average number of direct neighbours
  • Average hops: Arithmetic average path length in hops to reach the destination node
  • Sigma hops: The standard deviation of the path length in hops.

Config

Additional options for the graphical output

Windows

Close, minimize and maximize the window

Java

Ansim 4.00 was developed with Java SDK 1.3

ANSim 4.00

ANSim 4.00 was developed with Java SDK 1.3. It is supposed to run with Internet Explorer 4 and Netscape Navigator 4 and higher version with installed Java plugin.

Distribution

The nodes can be distributed uniformly, gaussian and elliptical within the field

Default: uniform distribution

Note: Only available in static mode

mobile

The nodes are moving. The main parameter contolling the simulation is Model

Note: mobile is one of the Modes of ANSim.

static

The nodes do not move. The only available parameter is Distribution

Note: static is one of the Modes of ANSim

The image on the left side contains hotspots.
For example if you need help for the input parameter Field click on the image at this position