Hi
so the unit of the consumption used in PowerTOSSIM is the second: (time for
accessing each peripheral?)
And please can some one explain to me why moste peripheral are at 0: radio
total, sensor total,adc total for each mote?



$ ./build/pc/main.exe -t=60 -p 10 > myapp.trace

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/Blink
$ /opt/tinyos-1.x/tools/scripts/PowerTOSSIM/postprocess.py --sb=0 --em
/opt/tin
yos-1.x/tools/scripts/PowerTOSSIM/mica2_energy_model.txt myapp.trace
maxseen 9
Mote 0, cpu total: 697.321655
Mote 0, radio total: 0.000000
Mote 0, adc total: 0.000000
Mote 0, leds total: 183.988337
Mote 0, sensor total: 0.000000
Mote 0, eeprom total: 0.000000
Mote 0, cpu_cycle total: 0.000000
Mote 0, Total energy: 881.309992

Mote 1, cpu total: 697.321655
Mote 1, radio total: 0.000000
Mote 1, adc total: 0.000000
Mote 1, leds total: 186.749409
Mote 1, sensor total: 0.000000
Mote 1, eeprom total: 0.000000
Mote 1, cpu_cycle total: 0.000000
Mote 1, Total energy: 884.071064

Mote 2, cpu total: 697.321655
Mote 2, radio total: 0.000000
Mote 2, adc total: 0.000000
Mote 2, leds total: 174.012300
Mote 2, sensor total: 0.000000
Mote 2, eeprom total: 0.000000
Mote 2, cpu_cycle total: 0.000000
Mote 2, Total energy: 871.333955

Mote 3, cpu total: 697.321655
Mote 3, radio total: 0.000000
Mote 3, adc total: 0.000000
Mote 3, leds total: 167.567400
Mote 3, sensor total: 0.000000
Mote 3, eeprom total: 0.000000
Mote 3, cpu_cycle total: 0.000000
Mote 3, Total energy: 864.889055

Mote 4, cpu total: 697.321655
Mote 4, radio total: 0.000000
Mote 4, adc total: 0.000000
Mote 4, leds total: 180.457200
Mote 4, sensor total: 0.000000
$
Mote 4, cpu_cycle total: 0.000000
Mote 4, Total energy: 877.778855

Mote 5, cpu total: 697.321655
Mote 5, radio total: 0.000000
Mote 5, adc total: 0.000000
Mote 5, leds total: 182.118788
Mote 5, sensor total: 0.000000
Mote 5, eeprom total: 0.000000
Mote 5, cpu_cycle total: 0.000000
Mote 5, Total energy: 879.440443

Mote 6, cpu total: 697.321655
Mote 6, radio total: 0.000000
Mote 6, adc total: 0.000000
Mote 6, leds total: 167.567400
Mote 6, sensor total: 0.000000
Mote 6, eeprom total: 0.000000
Mote 6, cpu_cycle total: 0.000000
Mote 6, Total energy: 864.889055

Mote 7, cpu total: 697.321655
Mote 7, radio total: 0.000000
Mote 7, adc total: 0.000000
Mote 7, leds total: 186.902100
Mote 7, sensor total: 0.000000
Mote 7, eeprom total: 0.000000
Mote 7, cpu_cycle total: 0.000000
Mote 7, Total energy: 884.223755

Mote 8, cpu total: 648.135381
Mote 8, radio total: 0.000000
Mote 8, adc total: 0.000000
Mote 8, leds total: 174.012300
Mote 8, sensor total: 0.000000
Mote 8, eeprom total: 0.000000
Mote 8, cpu_cycle total: 0.000000
Mote 8, Total energy: 822.147681

Mote 9, cpu total: 642.803722
Mote 9, radio total: 0.000000
Mote 9, adc total: 0.000000
Mote 9, leds total: 174.012300
Mote 9, sensor total: 0.000000
Mote 9, eeprom total: 0.000000
Mote 9, cpu_cycle total: 0.000000
Mote 9, Total energy: 816.816022

Tanks in advance

Khawla



2007/5/16, Venkatesh S. <[EMAIL PROTECTED]>:

   PowerTossim just keeps track of the time for accessing each peripheral,
and for each peripheral there will be certain amount of current which it
consumes (usually specified by the data sheet or through practical
measurement).  So, at the end, you get the total number of time
the peripheral is accessed and use the equation, P=VxIxT, where V is fixed
voltage, I is the current drawn by that peripheral, and T is total time of
the peripheral.


--
Regards,
Venkatesh S


------------------------------
Date: Wed, 16 May 2007 09:40:47 +0200
From: "khawla Lahamar" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] [RQ] PowerTOSSIM
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi all

I would like to know how PowerTOSSIM can calculate the energy dissipation
in
a mote.
And please can someone give me a like for more details for PowerTOSSIM:
the
only link I have is:
http://www.eecs.harvard.edu/~shnayder/ptossim/install.html<http://www.eecs.harvard.edu/%7Eshnayder/ptossim/install.html>
Thanks in advance

--
Khawla
*******************************************

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--
Khawla
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to