Jihong, In HSPICE, you can look at the current through any pin, such as a voltage source or a resistor. Some versions of SPICE are limited to looking at currents through voltage sources. Here are some things you could check: * What other components are connected to that node? In your equation, you only have two voltage sources, which indicates there is at least one more component connected to that node. * What are the tolerance settings in .OPTIONS? How large are your currents relative to the allowed tolerance? * If all else fails, double-check sign conventions for currents for each component. Best regards, Lynne -----Original Message----- From: si-list-bounce@xxxxxxxxxxxxx [mailto:si-list-bounce@xxxxxxxxxxxxx] On Behalf Of Craig Clewell Sent: Sunday, April 17, 2005 6:19 PM To: jihong@xxxxxxxxx Cc: si-list@xxxxxxxxxxxxx Subject: [SI-LIST] Re: Question about hspice .probe command Jihong, I don't know what node naming convention you are using, but your email seems to show that you are trying to find the current in a voltage source. Normally, you would look for the current through a resistance. Try probing the source resistance at V1 with I(Rx) [where Rx is the name of the source resistance] instead of if I(V1). Regards, Craig Clewell Hi, I am trying to confirm that two currents in my circuit sum up to 0. I tried the following two approaches. 1. ".probe tran Itotal = par('I(vin1) + I(vin2)') " to view the total current from the two voltage sources. 2. use the expression tool from awaves to compute the total current. I expect they should give similar result and the first one should give more accurate result since the second approach reads data from .tr0 file which only contains data points specified by the time step. However, these two gave me completely different results, several orders of magnitude difference! Did I do something wrong? Thanks! Jihong ------------------------------------------------------------------ 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