You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
Hello
how can I measure the energy consumption of sensor nodes with ns3. for
example to choose a head I hav e to Calulate this formula initial energy / energy
residual; please help THANKS
Mathieu Lacage
unread,
Dec 15, 2009, 6:39:26 AM12/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Hello
how can I measure the energy consumption of sensor nodes with ns3. for
example to choose a head I hav e to Calulate this formula initial energy / energy
residual;
ns-3 does not have any energy model but it is not very hard to add one: just create a class to keep track of the remaining energy. Once you have done that, you need to hook to every event which consumes energy and make it update the current energy level.