Viewing 0 reply threads
You must be logged in to reply to this topic.
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.
You must be logged in to reply to this topic.
Discuss Through WhatsApp