[ns] energy consumed in adhoc networks

Ahmad R Shahid arshahid@yahoo.com
Wed Apr 17 14:10:06 2002


well the files to look for would be energy_model.h/cc
and node.h/cc.

Thank,

Ahmad
---  <ee601@excite.com> wrote:
>  Hi Ahmad,
> 
> Thanks. 
> 
> I want to make some changes to ns to test these
> scenarios. What files in ns (or anywhere else) will
> I have to start looking to make the changes?
> 
> 
> deja
> 
> --- On Wed 04/17, Ahmad R Shahid  wrote:
> > as of now energy level is the attribute of the
> node so
> > once set for a particular node it can transfer
> packets
> > at a particular rate only.
> > 
> > Thanks,
> > 
> > Ahmad
> > ---   wrote:
> > >  Hi, 
> > > 
> > > In NS, for adhoc networks, is it possible to
> specify
> > > the amount of energy spent for every
> transmission? 
> > > Let me make it a bit clear with an example
> below. 
> > > 
> > > Say I have the following links 
> > > a) node1 - node2 
> > > b) node1 - node3 
> > > c) node1 - node4 
> > > 
> > > And node1 sends data to node2, node3 and node4.
> I
> > > want the have transmit at different energy
> levels
> > > for these 
> > > three nodes. (Say 0.1 on node1-node2, 0.2 on
> > > node1-node3 and 0.3 on node1-node4)
> > > 
> > > How can I do this? If this is not currently
> > > supported, can someone give me some
> tips/guidance 
> > > as to how I can go about doing this? 
> > > 
> > > 
> > > Thanks, 
> > > deja
> > > 
> > > ------------------------------------------------
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://taxes.yahoo.com/
> > 
> 
> ------------------------------------------------
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/