I am working on some Energy Efficient Routing Scheme for Wireless Sensor Networks. Can anyone explain how to simulate a Wireless Sensor Network using ns2.35. Is it possible to use nrlsensorsim along with ns2.35?
NRL Sensorsim patch was designed for ns2.1b, ns2.26 and ns2.27 versions, i think for ns2.35 nrlsensorsim can't be used.........
Mannasim patch can be installed in ns2 for sensor network simulations...... try this link
http://www.mannasim.dcc.ufmg.br/
to download the mannasim, click the following link
https://dl.dropboxusercontent.com/u/24623828/mannasim/mannasim.tar.gz
The tar file contains a folder mannasim
Paste the entire folder inside the ~ns-2.35/ folder
and inside the mannasim/ folder (there will be a ns-modified-folder/ that contains set of files to be pasted to different location)
Copy the files from the ns-modified-files/ to these locations
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
Once everything is done, go to the terminal and type the commands one by one
./configure
make
If there are any errors, correct the errors (as per my OS, I used Linux Mint 15 64 bit, so no errors encountered)
Once the simulation is done, test the sensors using these following files
https://dl.dropboxusercontent.com/u/24623828/mannasim/mannasim-rede-plana.tcl
https://dl.dropboxusercontent.com/u/24623828/mannasim/mannasim-rede-hierarquica.tcl
run these files using
ns mannasim-rede-plana.tcl
ns mannasim-rede-hierarquica.tcl
for more infor visit this video
Installation of Mannasim in ns-2.35 in youtube.......
hope this helps.......
I have followed the steps u listed.., but the end of make command I got some errors like
/usr/bin/ld: i386:x86-64 architecture of input file `mannasim/accessPointApp.o' is incompatible with i386 output
accessPointApp.cc:(.text+0x4ed): undefined reference to `operator new(unsigned long)'
mannasim/leach/leachAgent.o:(.rodata._ZTV10LeachAgent[_ZTV10LeachAgent]+0x140): undefined reference to `non-virtual thunk to NsObject::handle(Event*)'
collect2: error: ld returned 1 exit status
I am using UBUNTU 12.10
Please help...
this steps work fine in Linux Mint 15 64 bit version if possible try this version
Sorry for the late reply.. I have changed my OS to Linux Mint 15 64 bit.. And mannasim installed successfully..
Thank you...
Dear Ranjeeth Sundar
I did all of steps that you say.
when i write ns mannasim-rede-hierarquica.tcl
it give me this respons:
num_nodes is set 14
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
invalid command name "EnergyModel/Battery"
while executing
"EnergyModel/Battery create _o33 _o15 100.0 0.5 0.2"
invoked from within
"catch "$className create $o $args" msg"
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
"new $energyModel_ $node $initialEnergy_ $l1 $l2"
"if [info exists energyModel_] {
if [info exists level1_] {
set l1 $level1_
} else {
set l1 0.5
if [info exists level2_] {
set l2 $level2_
} else {..."
(procedure "_o3" line 115)
(Simulator create-wireless-node line 115)
"_o3 create-wireless-node"
("eval" body line 1)
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
"$ns_ node"
(procedure "create_sink" line 8)
"create_sink"
(file "mannasim-rede-hierarquica.tcl" line 351)
Dose it mean that it dose not run correctly?
Please help me.
How can I obtain the received signal strength value of a message in ns2? I am using the AODV protocol. If anybody knows this, please provide me the code.
05 June 2014 6,995 3 View
I want to cluster my WSN topology statically. The cluster head is selected periodically by a leader node based on the remaining energy level. Can anyone help me with the static clustering shown in...
04 May 2014 6,495 1 View
My name is Apurva Saoji. I am a Ph.D scholar in Computer engineering in India. I am looking for international expert in reviewing my PhD thesis, "Competitive Optimization Techniques to Minimize...
07 August 2024 4,600 2 View
I'm new to primary human fibroblast culture and I'm studying aging using cells from old and young donors. Some research groups have used media supplemented with FGF2, so I cultured cells in the...
29 July 2024 3,030 2 View
need of sensor details or sensor development for this question.
28 July 2024 4,539 3 View
I have designed magnetic material with different biasing conditions in HFSS. Now I want to give an RF AC signal and do a transient simulation in HFSS. Is it possible to do in HFSS? Please help me...
24 July 2024 9,319 5 View
There exists a neural network model designed to predict a specific output, detailed in a published article. The model comprises 14 inputs, each normalized with minimum and maximum parameters...
14 July 2024 2,714 3 View
hello dear i need to learn this program any one know ??? i want to convert path propagation to Image reconstruction 2d how is that done ? lik this image??
14 July 2024 1,811 0 View
how to convert the area with 4 node and convert it to reconstruction image in wireless insite?like the fig
14 July 2024 4,435 0 View
I'm attempting to simulate a crossed dipole antenna. For excitation, I've placed a lumped port along each dipole. However, the resulting radiation pattern is similar to that of a single dipole....
08 July 2024 1,876 3 View
I am looking for a no frills search tool that will find highlighted text in pdf and epub files. I just want something that will just take me to the next highlighted word or phrase in the way a...
07 July 2024 190 5 View
I want to predict the DAR ratio based on the number of cys available for conjugation to Cys residue. I use Ellman's assay to predict the concentration of Cys after TCEP reduction. I gain a...
02 July 2024 612 6 View