LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-01-2016, 05:33 PM   #1
Hataki_Kakachi
LQ Newbie
 
Registered: Oct 2015
Posts: 6

Rep: Reputation: Disabled
How to reset the node energy after some treatment in NS2 TCL ?


Hello,

I want to reset the node energy after a period of time . For example , I have some nodes with the initial energy of 100 . Then the nodes do some treatments like sending and receiving data packets. So basically the nodes energy will be consumed. I want to reset it to 100 and continue the treatments on my network .

How can i do this in TCL ?

Kind Regards,
 
Old 05-02-2019, 11:38 PM   #2
bharaths248
LQ Newbie
 
Registered: Mar 2019
Posts: 4

Rep: Reputation: Disabled
Could you please post the solution if you have. I'm working on resetting energy too.
 
Old 05-03-2019, 06:58 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by bharaths248 View Post
Could you please post the solution if you have. I'm working on resetting energy too.
You should also work on reading the LQ Rules. This thread had been closed for THREE YEARS, and you re-opened other old threads too, just to post your own question.
 
Old 05-03-2019, 04:06 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #2, @bharaths248

Also ref. https://www.linuxquestions.org/quest...-4175517149/#4 , @rtmistler

" ... a suggestion is to open a new thread ..."
Which you can do here https://www.linuxquestions.org/quest...=newthread&f=2

-
 
  


Reply

Tags
energy, node, ns2, tcl



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
how to add node clone in the tcl script in ns2 using aodv deepali_19 Linux - Wireless Networking 0 03-27-2015 01:45 PM
getting error in .tcl while creating malicious node in aodv in ns2.35 saa-6611 Linux - Software 12 05-22-2014 06:00 AM
optimizing node energy AODV in NS2 must Linux - Wireless Networking 1 03-31-2014 04:55 AM
Effect of speed variation on energy mobile node with ns2 abcd12 Linux - Networking 0 11-13-2013 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration