Professional Documents
Culture Documents
05 - Mannasim Installation
05 - Mannasim Installation
05 - Mannasim Installation
C O M
MANNASIM
- A S E N S O R N E T W O R K S I M U L AT O R
INTRODUCTION
http://www.mannasim.dcc.ufmg.br/
Mannasim comes with
A sensor simulator that simulates a Carbon
CLASSES IN MANNASIM
SensorNode (sensorNode.h and .cc) extends MobileNode
Battery (battery.h and .cc) extend EnergyModel
DataGenerator (dataGenerator.h and .cc) extends TclObject
TemperatureDataGenerator (temperatureDataGenerator.h
extends AppData
CLASSES IN MANNASIM
SensedData (sensedData.h and .cc) extends AppData
OnDemandData (onDemandData.h and .cc) extends SensedData
OnDemandParameter(onDemandParameter.h and .cc) extends
AppData
SensorBaseApp
SensorBaseApp
CLASSES IN MANNASIM
T C L PA R A M E T E R S
Transport Protocol (TCP, UDP)
Routing Protocol (DSR, TORA, LEACH, Directed Diffusion, DSDV and AODV)
Medium Access Control (MAC) - MAC/802_11
Link Layer - LL
Physical Layer (either Crossbow Mica2 or 914MHz Lucent WaveLAN DSSS radio interface).
Antenna An omnidirectional antenna, centered in node position and 1.5 meters above the ground is
provided.
T C L - A C C E S S P O I N T D E TA I L S
Access Point Number - Number of access points in the WSN. One
access point.
Down Left Corner, Down Right Corner, Grid, Random, Up Left Corner
and Up Right Corner
in simulation scenario.
T C L - C L U S T E R H E A D C O N F I G U R AT I O N
Cluster Head Number - Number of clusters, and consequently cluster heads in the WSN. 0 for non
hierarchical WSN
processed
Dissemination Interval - Time interval between two consecutive disseminations. Time defined in seconds.
On demand dissemination don't makes use of this parameter and for continuous dissemination the
interval should be as small as possible (0.001s for example). Default value is set to 50.0 seconds.
COMMON NODE
Common Node Number - 10 common nodes as default.
Common Node Location - Random or Grid.
Initial Energy - 10.0 joules.
Common Node Application
Processing Type - Aggregate processing
Transmission Range - Default range is set to 50.0 meters.
Dissemination Type - Continuous, On Demand and Programmed
(default).
C O M M O N N O D E C O N F I G U R AT I O N
Dissemination Interval - On demand dissemination don't makes use
C O M M O N N O D E C O N F I G U R AT I O N
Data Generator Type - Temperature and carbon monoxide data
TO COMPILE
TO COMPILE
Copy the files from the ~mannasim/ns-modified-files/ and paste it to the
ns-allinone-2.35/ns-2.35/apps/udp.cc
ns-allinone-2.35/ns-2.35/common/ns-process.h
ns-allinone-2.35/ns-2.35/common/packet.cc
ns-allinone-2.35/ns-2.35/common/packet.h
ns-allinone-2.35/ns-2.35/Makefile.in
ns-allinone-2.35/ns-2.35/tcl/lib/ns-default.tcl
ns-allinone-2.35/ns-2.35/tcl/lib/ns-lib.tcl
TO COMPILE
ns filename.tcl