[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Energy of a Mobile Node



check out ~ns/cmu-trace.cc and search for "energy"

Kun-chan Lan

Hi All,

I'm using the EnergyModel to model the energy model of a mobile node and I
want to track the change of energy in a mobile node throughout the
simulation time.To be precise ,I want to log the energy of each individual
mobile node so that I could display the variation of the energy on xgraph.
The problem is that I can't find any handle to the energy of the mobile
node through any tcl command. Can you suggest any ways of obtaining the
energy of a node at any time using a tcl command in ns?

Thanks and Regards

Sheetalkumar Doshi
Graduate Student/Teaching Assistant
Department of Electrical and Computer Engineering
University Of Colorado at Boulder

*****************************************************
http://ucsub.Colorado.EDU/~doshi
*****************************************************

-- 


_____________________________________________________
Kun-chan Lan
Computer Science, University of Southern California
4915 Sawtelle Blvd #2, Culver City, CA 90230
http://www.isi.edu/~kclan
(H)310-391-7208  (O)310-448-8260