[ns] Reg Energy Model in NS2

2009-09-04 Thread jaya vignesh
Hi All, I want to clear some of my basic queries of energy model implementation in ns2. The rxpower and txpower values can be set in watts for power consumption of transmission and reception of each packet. How is theĀ et: energy consumed in transmitting packetsĀ er: energy consumed in receiving

[ns] ErrorModel unit bit not working?

2009-09-04 Thread Steve Chen
All- I have used the following code directly from ns manual, it works just fine. But when I change the unit to bit there was no discarded packets. Anyone has a fix? set loss_module [new ErrorModel} $loss_module set rate_ 0.01 $loss_module unit pkt $loss_module ranvar [new

Re: [ns] How do we write environment variables?? please!

2009-09-04 Thread BilalAKhan
Hi, Please see the installation guide attached with this email. I have tried compiling this installation guide from different websites. NS-2 is working with me but I have xgraph problem coming with me. Probably it is not registered to environment properly. Please see the guide attached...

[ns] Help needed for xgraph and environment variables

2009-09-04 Thread BilalAKhan
Hi, Can anyone tell me if I have registered the variables in environment correctly!!! My xgraph is not working and giving me an error... I assume it is not registered in the environment correctly. I am uploading an Installation Guide. Can anyone help me by looking at the installation guide if