LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: Disabled
energy in leach protocol !!


Hi

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 leach.energy ,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?

Regards
Shanky
 
Old 03-19-2012, 06:30 AM   #2
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
Hi,

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??

Thanks
Shanky

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


Reply


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
Leach Protocol for ns2.34 pushpita Linux - Software 36 07-08-2013 04:06 AM
SPIN and LEACH protocol in NS-2 shanky Linux - General 17 05-26-2012 12:03 PM
Leach protocol anitha.r.u Linux - Newbie 16 04-02-2012 04:37 AM
protocol leach ezzati Linux - Newbie 5 05-03-2011 08:42 PM
Leach Protocol simuation avinash.more Ubuntu 1 01-24-2011 05:00 PM


All times are GMT -5. The time now is 01:21 AM.

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