tnt
04/16/2024, 8:36 PMStefan Schippers
04/16/2024, 8:53 PMshort.sym
component. The net to be shorted (the one that goes to the PLUS
opamp input) must not have a label. Shorting two nets with different attached labels or pins is illegal.
B) Add an ammeter.sym
component. This is a 0V voltage source. The shorted net maintains its name, it will have the same voltage as the other net.
C) You can add attribute spice_ignore=short
to a component. All its ports will be shorted together. As in case A) only one net should have a label/pin attached to it.
In all 3 cases the net PANEL is highlighted in yellow. You see short components propagate nodal information.tnt
04/16/2024, 8:56 PMtnt
04/16/2024, 8:56 PMStefan Schippers
04/16/2024, 9:01 PMtnt
04/16/2024, 9:04 PMtnt
04/16/2024, 9:05 PMStefan Schippers
04/16/2024, 9:11 PMammeter.sym
does) Using ports with identical names is a brutal short, it means if node XX is connected on one of the ports the other port will also be XX and you can't name it to YY, since having a piece of wire with different labels on its end is considered an electrical short and in 99.999% of the cases a design mistake.
Joining different nets with ammeters allows you to have different aliases of the same net, with identical voltages, adding negligible simulation overhead. You can later replace the ammeters with small resistors without changing the net topology (no change in net names).Stefan Schippers
04/16/2024, 9:24 PM