[ns] How to measure energy

salehma at aston.ac.uk salehma at aston.ac.uk
Tue Jun 14 13:01:02 PDT 2005


Hi all,

I'm relatively new to NS2 and have only started since april this year.

At the moment Iam trying to view the energy in sleep,recieve and transmitt
mode for the 802.11 protocol.

I have tried using the examples provided in wireless-newnode-energy.tcl
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...


****

After this I try opening nam but nothing shows under energy.nam

can someone guide me to what I am doing wrong.

Thanks

Muhaned Saleh
Internet Technology MSc





More information about the Ns-users mailing list