Direction of current flow in LTSpice

Thread Starter

rds01

Joined Dec 5, 2018
9
I am trying to simulate a simple circuit in LTSpice -- with resistors and a DC voltage source. I am noticing some of the currents appearing as negative and others as positive. Is there a way to display the direction of current flow in a circuit? I tried to look online but am unable to find any relevant posts. Would very much appreciate if you can share if this is possible or not. Thank you!
 

Alec_t

Joined Sep 17, 2013
14,313
In Spice-land even resistors are polarised! Flip one over and the current direction reverses. Hover the cursor over the resistor in the schematic to see Spice-current direction.
 

Bordodynov

Joined May 20, 2015
3,180
You can make new symbols for the resistor (for example, marked with a positive pole). Then if a current flows into this pin, then the quantity is positive, and if it flows out, then the quantity is negative.
2018-12-06_16-23-23.png
 

Attachments

Thread Starter

rds01

Joined Dec 5, 2018
9
Thank you so much for your time and help -- much appreciate it. I was trying to see if there was a way to get LTSpice to post arrows indicating the current flow. If I hover the mouse over the resistor, I only see the 'Hand' symbol. Should I be doing something else to see the current direction? Thank you again.

upload_2018-12-6_10-52-9.png
 

Thread Starter

rds01

Joined Dec 5, 2018
9
Yes, I did run the sim. The -12.5 A is the current value post-calculation. I will attach the .asc file shortly. Thanks.
 

Thread Starter

rds01

Joined Dec 5, 2018
9
Attached my .asc file. As you see, it is very simple -- just a DC source and a resistor for now. Thanks again!
 

Attachments

Thread Starter

rds01

Joined Dec 5, 2018
9
Thank you, I ran the try2.asc with the .tran. I didn't see any difference in the output. Are you able to see a current direction in the output? Can I request you to post an image of that?

upload_2018-12-6_11-17-45.png
 

Thread Starter

rds01

Joined Dec 5, 2018
9
Wow! That would be so nice... Does that appear just by hovering the mouse or as part of the output itself.

Did I download a different version of LTSpice? I downloaded it from Analog Devices...

Or, should I be turning some switch On for this to appear... I am guessing there is something I am likely overlooking.

Thanks again.

upload_2018-12-6_11-32-5.png
 

ericgibbs

Joined Jan 29, 2010
18,849
hi,
You know that you have to Hover the cursor over the component to show the meter symbol, and keep it hovered, else it disappears.

It has been on every version I have used for the past few years.
 

crutschow

Joined Mar 14, 2008
34,440
Post an image of what your cursor looks like when hovering over the resistor after you've run the transient analysis as you did in post #5.
 

Thread Starter

rds01

Joined Dec 5, 2018
9
Wanted to reply earlier but looks like there is a limit of 5 posts per hour and so had to wait this long to submit my Post.

My apologies... Yes, it does appear when I hover the mouse over in the .tran version.

Thank you again.
 

ebp

Joined Feb 8, 2018
2,332
I used to add a tiny dot next to pin 1 of all symmetric (non-polar) passive components like resistors, caps and inductors in my schematic libraries. It allows orientation to be seen easily without littering the screen and hard copy with pin numbers that aren't of any general use whatever or symbols like + and - that imply some sort of polar nature that doesn't exist.
 

WBahn

Joined Mar 31, 2012
30,058
I am trying to simulate a simple circuit in LTSpice -- with resistors and a DC voltage source. I am noticing some of the currents appearing as negative and others as positive. Is there a way to display the direction of current flow in a circuit? I tried to look online but am unable to find any relevant posts. Would very much appreciate if you can share if this is possible or not. Thank you!
In virtually all (I know of know exceptions) SPICE simulators, current AT a component pin is defined as conventional current ENTERING the pin. This was the convention used by most datasheet writers at the time (and is still the case for many/most today). For a two-terminal device, current THROUGH the component is defined as the current at pin #1.
 

ericgibbs

Joined Jan 29, 2010
18,849
hi rds,
I guess you noticed the current is flowing he 'wrong' way thru the resistor, in post #11, using Conventional current direction.?
Flip the resistor 180deg.
E
 
Top