[ns] How to find the power level of a node

Bhaskar Anepu mobnets at yahoo.com
Sun Feb 22 12:06:43 PST 2004


You should find energy-model.h and energy-model.cc in
~/ns-allinone-2.x/ns-2.x/mobile/ directory. Once you
configure the node with energy model in your tcl
script, the trace file records the node's energy.

Thanks,
Bhaskar

--- Divya Lakshmi Shivakumar
<divya_lakshmi at hotmail.com> wrote:
> 
> Hi Friends,
> 
>   I am using ns 2.26. I couldn't find the files for
> the energy model. Please 
> tell me where i can find them? I am interested in
> knowing the power of a 
> node at a give simulation time instant. Any help
> please...
> 
> thanks,
> Divya
> 
>
_________________________________________________________________
> Click, drag and drop. My MSN is the simple way to
> design your homepage. 
>
http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/
> 


=====
http://www.winlab.rutgers.edu/~bhaskar

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools



More information about the Ns-users mailing list