General > General Technical Chat

LTspice polarise resistor shock

<< < (2/2)

Ian.M:

--- Quote from: imo on February 20, 2023, 02:52:12 pm ---The icon shows always the same direction (thus indicating the node 1 and 2), current direction regardless..

--- End quote ---
Yes.  To elaborate on both your answer and my comment that it indicates the direction of positive current: For two pin components, the 'plot current' mouse cursor arrow always points from the first pin (node) to the second pin in the corresponding SPICE netlist line, and that direction of current flow is defined as positive.

TimFox:
Personally, I use SPICE itself (with the original line-oriented syntax).
The SPICE models for two-pin devices always specify the two nodes in order of polarity.
It can be tricky to keep track of current-flow direction, but the software is self-consistent.

Benta:
I'm totally unable to reproduce this issue (mind you, I'm using ngspice).
Running a simulation, and then running the simulation again after rotating a resistor 180 degrees give 100% the same result.
Never seen this before, never heard of this before, cannot confirm.

iMo:
A depiction :)

Ian.M:

--- Quote from: Benta on February 20, 2023, 08:45:53 pm ---I'm totally unable to reproduce this issue (mind you, I'm using ngspice).
Running a simulation, and then running the simulation again after rotating a resistor 180 degrees give 100% the same result.
Never seen this before, never heard of this before, cannot confirm.


--- End quote ---
... except that the simulated current through the resistor (e.g. I(R1) ) will have the opposite sign (but same magnitude).

As I commented earlier, this makes a difference if you use I(R1) in the expression controlling a behavioural source.

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod