NS2: LEACH Energy Error...
I've to simulate leach protocol in ns-2.34. I have 2 problems. 1st leach.tr file doesn't have energy information. and 2nd when a node dies leach still adds consumed energy and show its total energy consumption in leach.energy which is more than the total available energy. So, can any one please tell me (1). how to include energy information in leach.tr and (2). how to remove the dead nodes from leach.energy file?
|