- Home Page of ProjectGuideline.com ›
- Forums ›
- Questions Asked by Students and Scholars ›
- Energy Model for DSDV and AODV routing protocols in Ad-hoc Networks under ns-2
Inactive
I need fully functional TCL script for Energy model of DSDV and AODV routing protocols for ad-hoc networks. Basically i need to compare these routing protocols for energy consumption during nodes mobility. Please help me as i am new in NS2.
Keymaster
In fact, enabling energy model in ns-2 is a simple task – nothing but a addition of few lines of tcl code. Further there is no need to set energy model for different protocols in different way.
So, if you enable energy model and run a simulation, the energy related parameters of the node will get logged along with the trace file.
So, for comparing the routing protocols and their energy consumption, you should do it in the trace analysis part – not in the tcl simulation script.