Hi, I am trying to get the absolute value of the current for my power calculations, and unfortunately, the Spice documentation hasn't been too helpful. I have the following expressions in my deck. In the first trial, I had: .plot tran abs_ivdd PAR(ABS(i(vdd))) .measure tran intgrl_ivss INTEGRAL(abs_ivdd) FROM= 1ns TO= 5ns As an alternative, I tried: .measure tran intgrl_ivdd INTEGRAL('ABS(i(vdd))') FROM= 1ns TO= 5ns I've tinkered with the expressions a few more times using PARAM=' expr', and only this expression has been given me a non-zero (negative) value: .measure tran intgrl_ivdd INTEGRAL(i(vdd)) FROM= 1ns TO= 5ns I know I could use Awaves or some waveform viewer to calculate the vdd power but I'd like to have the results in the *.mt0 file. I appreciate your input. Thanks, Adrianna ------------------------------------------------------------------ To unsubscribe from si-list: si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field or to administer your membership from a web page, go to: //www.freelists.org/webpage/si-list For help: si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field List FAQ wiki page is located at: http://si-list.org/wiki/wiki.pl?Si-List_FAQ List technical documents are available at: http://www.si-list.org List archives are viewable at: //www.freelists.org/archives/si-list or at our remote archives: http://groups.yahoo.com/group/si-list/messages Old (prior to June 6, 2001) list archives are viewable at: http://www.qsl.net/wb6tpu