Amazing technological breakthrough possible @S-Logix

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • +91- 81240 01111

Social List

How to use energy efficient routing algorithm in NS2?


Energy based routing is the important routing functionality required by MANET. Energy of the node is considered while selecting the router to balance the energy consumption of the network.

Sample Code


residualenergy = Nodeaddr->energy_model()->energy();
If (residualenergy > Threshold) {
// send reply via the energy efficient router



energy efficient routing algorithm in NS2