[ns] Energy Model in NS2

2007-07-27 Thread mikel larrañaga negro
Dear Users of NS2, I need to take some results regarding energy consumption of my protocol. I m wondering about the behaviour of Energy Model class in NS2. I set some initial energy for say X nodes. Some nodes are generating traffic and sending packets with dsdv protocol. But after some time, Al

[ns] energy model in ns2

2012-02-07 Thread CHALIDA
Dear all, Could someone tell me how to add energy model for new format of trace file,I have an example to add the model in tcl script like set opt(energymodel)EnergyModel ; set opt(radiomodel) RadioModel ; set opt(initialenergy) 1000;# Initial energy in Joules -energ

Re: [ns] Energy Model in NS2

2007-07-27 Thread Sita S. Krishnakumar
The idling power set in the code is very high. Due to this, nodes that work and those that are silent may end up consuming the same amount of power over a period of time. It may not be surprising if idling nodes die ahead. Regards, Sita > > > Dear Users of NS2, > I need to take some results rega

Re: [ns] Energy Model in NS2

2007-07-27 Thread mikel larrañaga negro
Dear Sita I have changed Phy/WirelessPhy set P_idle_1 to 0.0032, but nothing has changed on the trace file. Thanks for your answer Mikel "Sita S. Krishnakumar" <[EMAIL PROTECTED]> escribió: The idling power set in the code is very high. Due to this, nodes that work and those that are silent