[ns] Reg Energy Model in NS2

2009-09-04 Thread jaya vignesh

Hi All,
I want to clear some of my basic queries of energy model implementation in ns2.
The rxpower and txpower values can be set in watts for power consumption of 
transmission and reception of each packet.
How is theĀ et: energy consumed in transmitting packetsĀ er: energy consumed in 
receiving packets calculated?
Also, how to invoke or put the node to sleep state and wake it up back in my 
routing protocol in C++?
Thanks  Regards,Jayavignesh


  See the Web#39;s breaking stories, chosen by people like you. Check out 
Yahoo! Buzz. http://in.buzz.yahoo.com/


Re: [ns] reg energy model in ns2

2007-11-23 Thread Q.R.Iqbal

very simple

have a look at the file tcl/ex/wireless-mitf.tcl and declare your channel
as shown in that file




 Hi,

I tried running wireless-newnode-energy.tcl in ns-2.31,but
 i get the following...

 
 num_nodes is set 50
 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
 INITIALIZE THE LIST xListHead
 Loading connection pattern...
 Loading scenario file...
 Load complete...
 Starting Simulation...
 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
 highestAntennaZ_ = 1.5,  distCST_ = 550.0
 SORTING LISTS ...DONE!
 NS EXITING...

 what should i do to remove the warning and to see the output in nam or
 in trace file?
 trace file newdsdv-energy.tr given in tcl script is not generated.
 --
 Regards,
 P.Arun Raj Kumar
 M.Tech Final Year Computer Science
 NIT,Trichy.




Kind regards

Qasim Raza Iqbal
PhD Candidate,
ACNRG Lab N504,  Office N505
Adaptive Communications Networks Research Group,
School of Engineering And Applied Science
Aston University
Birmingham  B4 7ET
United Kingdom
http://www.ee.aston.ac.uk/research/acrg/index.html




[ns] reg energy model in ns2

2007-11-22 Thread Arunrajkumar Parthiban

Hi,

   I tried running wireless-newnode-energy.tcl in ns-2.31,but
i get the following...


num_nodes is set 50
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...

what should i do to remove the warning and to see the output in nam or
in trace file?
trace file newdsdv-energy.tr given in tcl script is not generated.
-- 
Regards,
P.Arun Raj Kumar
M.Tech Final Year Computer Science
NIT,Trichy.