How Do I Go About Evaluating Energy Efficiency In Aodv And Leach Protocol.

Hi,

I am interested in evaluating the energy efficiency for aodv and leach protocol. I havent been able to get through with mannasim because of this error:

ns:
[code omitted because of length]
: invalid command name "DataGenerator/TemperatureDataGenerator"
while executing
"DataGenerator/TemperatureDataGenerator set sensing_interval_ 0.0"

Do anyone have a link that could be of help? Also I would appreciate if anyone has a file/link in which energy efficiency of this two protocols have been evaluated on ns2.

Be sure your contribution is highly valued

Thanks


Similar Content



What Do I Do With This Huge Data On My Command Line Interface

Hi,

I have been trying to get information on how to process the output of a tcl file (aodv and leach protocol using mannasim) which I got on my command line Iinterface. Actually, I don't even know the keywords to search as I am new to this and other minor attempts haven't yielded positive results., I know there is usually a trace file but I can't see any. All I see is on my command line.

I also observe that it took the space on the entire screen and I can't copy the output from the start ( I could only copy from node 19 out of 30 nodes) because of the huge number of output lines.

The last thing I havent been able to figure ou is whether temperature is equivalent to energy Iin mannasim as mannasim has only temperature and carbon dioxide?


Thanks

Nam Of Leach Protocol Not Complete

i run leach protocol on ns2.34
from the package provided is
the additional module "pegasis/leach" > exidus-pegasis_ns-234-leach.tar.gz
Download link https://docs.google.com/file/d/0B7S2...it?usp=sharing

the generated nam file look like this

V -t * -v 1.0a5 -a 0
W -t * -x 1000 -y 1000
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0


why it is not complete ?

Leach Doubt..

Hi. I have some doubts regarding “LEACH” protocol. I’m using ns-2.34 on Ubuntu 10.04 and patched leach protocol by following below link. I got ‘leach.out’ file, but I didn’t get ‘leach.err’ file.

https://abdusyarif.wordpress.com/201...-step-by-step/

Then I want to check out the leach source code file. The source code of the leach is not found in that folder. I ran out the leach test file and I’ve got a warning message.

How To Patch GPSR Routing Protocol To Ns-2.35

Hi,
I have patched GPSR to ns-2.35 using keliu' code. It works fine with given tcl file. I need to move nodes according to mine own mobility scenario and compare them to AODV protocol.
I have two problems
1. I don't understand what this command in gpsr.tcl file means Code:
proc gpsr-create-mobile-node { id args } {
         .........................	
if [info exists opt(energy)] {
	$node addenergymodel [new $opt(energy) $node 10 0.5 0.2]}
         .............

What are these figures (0.5, 0.2), are these energy consumed in reception and transmission or some thing else.

Secondly I want move mobile node created using proc defined in gpsr.tcl file according to my own mobility plan e.g. Code:
 $ns_ at 0.000000000000 "$node_(0) setdest 144.816950690450 20.073824649527 0.324133202939"
$ns_ at 0.000000000000 "$node_(1) setdest 93.957720171475 192.140808646867 1.452613500562"
$ns_ at 12.158688172971 "$node_(23) setdest 113.137798368154 39.443538618334 0.902003496971"
$ns_ at 14.805074599534 "$node_(2) setdest 152.227654369397 20.766089279052 1.742469780423"

But when I run simulation it gives error like this:[QUOTE]Load complete...
Starting Simulation...
ns: _o18 setdest 144.816950690450 20.073824649527 0.324133202939:
(_o18 cmd line 1)
invoked from within
"_o18 cmd setdest 144.816950690450 20.073824649527 0.324133202939"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o18" line 2)
(SplitObject unknown line 2)
invoked from within
"_o18 setdest 144.816950690450 20.073824649527 0.324133202939"
[\QUOTE]
Urgent help is needed please

How Do I Edit Mannasim Tcl File To Generate Mobile Nodes For WSN Protocols

Hi,

I intend to use mannasim script generator tool to create mobile nodes for routing protocols like aodv, leach , dsdv and dsr.

To be best of my knowledge, WSN nodes in mannasim are assumed to be static but I would like to know if there is a resource available which explains how the tcl code can be modified to achieve node mobility.

I have tried searching google but I haven't gotten satisfying search result.

It seems is better to ask an experienced ns2/mannasim user.

Be sure your kind response is valued

Vampire Attack On AODV Using NS2

Hello All,
I have no idea to implement vampire attack in NS2 using AODV.I found some tutorial to simulate energy model for the aodv but how to simulate attack in AODV did not found any help means what mush be change in AODV.CC to make sending packet in loop so that node will consume enrgy and show this energy consumtion using graph.

Vampire Attack On AODV Using NS2

Hello All,
I have no idea to implement vampire attack in NS2 using AODV.I found some tutorial to simulate energy model for the aodv but how to simulate attack in AODV did not found any help means what mush be change in AODV.CC to make sending packet in loop so that node will consume enrgy and show this energy consumtion using graph.

Willingnes Parameter Change In The Protocol OLSR NS2

Hi

It's my first post,please bear with us.I write thesis "The concept of using energy metrics for route selection in OLSR routing protocol". I use the simulator ns2, and UM-OLSR patch. In tlc script I use "Energy model". How and where(in code, or tcl cript) I can change parameter "willingness" during simulation to take into account the level of battery.


pseudocode

if (battery < 1.0) && (battery > 0.8)
{willingnes = WILL_ALWAYS};
else if (battery < 0.8) && (battery > 0.4)
{willingnes = WILL_DEFAULT};
else if (battery < 0.4) && (battery > 0.2)
{willingnes = WILL_LOW};
else if (battery < 0.2)
{willingnes = WILL_NEVER};

I Wish To Request To All People Who Viewing This Message For V-leach Protocol Code

Now i am doing m.tech and i wanna do project on NS-2. i have to study about this v-leach protocol and also i want prepare some extensions in that so if you's having any possibility please send some v-leach protocol code for me

Grayhole Attack In Ns2 Using Aodv Protocol

i am getting the folowing error while running the tcl script:-
can't read "source1": no such variable
while executing
"set source1"
(file "gray.tcl" line 109)
abhishek@ubuntu:~/Ns2$ ns gray.tcl
num_nodes is set 9
INITIALIZE THE LIST xListHead
can't read "source=1": no such variable
while executing
"set source=1"
(file "gray.tcl" line 109)