Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-18-2012, 04:46 AM   #1
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
energy in leach protocol !!


I am working on leach protocol using ns-2.34 as my simulator and i have a few doubts regarding energy of the nodes.
In the file ,the energies of each node at every 10 second interval is shown(the amount of energy dissipated/consumed).What is the formula or the factor which calculates this consumption of energy in the nodes.I require this information since i need to know how the energy is spent and using what formula is it calculated? Which file in the simulation calculates this?

Old 03-19-2012, 07:30 AM   #2
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled

I have another question regarding energy in leach.When i perform simulation by changing some of the parameters (in my case number of cluster heads) it calculates and gives me the energy consumed at the end of simulation.For some cases i get the energy consumed as more than 200J such 424J or 366J.How can this be possible when the initial energy for each node is 2J (i am using 100 nodes for my simulation) so total initial energy will be 200J.How is then possible for all the nodes combined to consume energy more than 200J??


Last edited by shanky; 03-19-2012 at 07:33 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SPIN and LEACH protocol in NS-2 shanky Linux - General 18 04-26-2015 05:02 AM
Leach Protocol for ns2.34 pushpita Linux - Software 36 07-08-2013 05:06 AM
Leach protocol anitha.r.u Linux - Newbie 16 04-02-2012 05:37 AM
protocol leach ezzati Linux - Newbie 5 05-03-2011 09:42 PM
Leach Protocol simuation avinash.more Ubuntu 1 01-24-2011 06:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration