[ns] energy model in ns

2006-03-06 Thread amrutha ravichandran
Hi, Im doing a project to save energy in mobile nodes.. i have to do this by sending the WNIC to 'sleep' mode whenever data is not being recieved or transmitted(by shaping TCP traffic).. How can i use the energy model for this purpose.? will it be of any help? Thanks Amrutha.

[ns] energy model in ns

2006-03-09 Thread amrutha ravichandran
Hi, I want to use the total sleep time in the energy model as an input to xgraph.. How do i capture this time.. Pls help Amrutha.

[ns] energy model in ns

2006-04-03 Thread amrutha ravichandran
HI, I find that in the energy model the energy is getting reduced(in receive and transmit mode) only for MAC,RTS,CTS etc. packets and not for TCP packets.. I need to find out how much energy is consumed for the transmission and reception of TCP packets and also the amount of time spent in the 'sle

[ns] Energy model in ns-2.29

2006-03-16 Thread saradellaluna
Hi all, I am working with the IEEE 802.15.4 model developped by Zheng included in ns-2.29 (in directory wpan). I added Energy model but I noted that the services change (i.e. packet loss) even if not any node arrives to have energy zero. To thing can be had to this difference? Energy model do

Re: [ns] energy model in ns

2006-04-04 Thread Qasim Raza Iqbal
Hi Amrutha At the moment the sleep cycle is only implemented in SMAC protocol used in wireless sensor networks. The 802.11 or any other protocol do not have sleep cycle (anyone correct me if I am wrong). also the energy is decreased for units/second. e.g if your transmit energy is set to 5, then

[ns] energy-model in ns-2.29: sendDown

2006-08-23 Thread Pieter De Mil
Hi All, I have a question regarding the energy model and wireless-phy in ns-2.29. In the function WirelessPhy::sendDown(Packet *p) we see the following code: v1.23 http://nsnam.cvs.sourceforge.net/nsnam/ns-2/mac/wireless-phy.cc?revision=1.23&view=markup " 207 if (em()) { 208

Re: [ns] energy model in ns-2.34

2010-05-18 Thread Milind Gunjan
i have installed ns-2.34 using ns-allinone-package . i have problem simulating energy model in existing code. have attached the code : # A 10-node example for ad-hoc simulation with DSDV # Define options set val(chan) Channel/WirelessChannel;# channel type set val(prop) Pr