leach.out total energy increase leach ns2.34

view story

http://www.linuxquestions.org – I am getting increase in total energy values when I run LEACH in ns2.34. This is in two files leach.out and leach.energy. This is strange as the total energy value of the network is supposed to decrease over time. Can someone tell me how to understand why this is occurring and how to fix this error? (HowTos)