Sub topic 4
Turning Off Sources: Shorts and Opens
This chapter assumes you know Ohm's law, Kirchhoff's laws, series and parallel resistor reduction, and voltage and current dividers. It also assumes you know what an ideal voltage source and an ideal current source are. The previous chapter stated the superposition principle. This chapter covers the step that most often goes wrong when applying it: switching a source off.
What "off" means for an ideal source
Superposition asks for the response of the circuit to one independent source at a time. For every other independent source, you need its contribution to be zero. You cannot delete the source from the diagram and hope for the best. You have to replace it with the element that produces zero output while still behaving like the source in the circuit.
- An ideal voltage source holds a fixed voltage across its terminals, whatever current flows through it. Setting that voltage to 0 V gives a device with zero volts across it at any current. That is a wire, so a deactivated voltage source becomes a short circuit.
- An ideal current source forces a fixed current through its branch, whatever voltage appears across it. Setting that current to 0 A gives a device that carries zero current at any voltage. That is a gap, so a deactivated current source becomes an open circuit.
| Source | Defining property | Value set to zero | Replace with |
|---|---|---|---|
| Independent voltage source | Fixes voltage | 0 V | Short circuit (wire) |
| Independent current source | Fixes current | 0 A | Open circuit (gap) |
A common memory aid is that a voltage source turns into a wire and a current source turns into a break. The aid works because the rule follows from the definitions. If you remember "zero volts means a wire, zero amps means a gap", you do not need to memorize anything else.
Why deleting a voltage source is wrong
Suppose a voltage source sits in a branch with a resistor. If you erase the source and leave a gap, the branch carries no current. That is the behavior of a 0 A current source, not of a 0 V voltage source. The circuit you analyze would be a different circuit, and the answer would be wrong.
The reverse mistake is just as common. Replacing a current source with a wire forces its terminals to the same voltage, which is not what a 0 A source does. The error often goes unnoticed because the diagram still looks plausible.
What changes in the circuit's topology
Deactivation changes the connections, and the new connections are what make the single-source circuit easier to solve.
- A short circuit merges the two nodes it connects into one node. Resistors that were in series with the source may now be in parallel with each other, or connected to ground.
- An open circuit removes a branch. Any resistor that was in series with a current source is left with only one connection, so it carries no current and has no effect on the rest of the circuit during that pass.
The second point is easy to overlook. A resistor in series with an ideal current source does not affect the current in that branch in the full circuit. In the pass where that source is off, the whole branch is dead.
A decision flow
Dependent sources are never deactivated. They are controlled by a voltage or current elsewhere in the circuit and cannot be set to zero on their own. A later chapter covers them in detail.
The shared example
The running circuit has a 12 V source V1 in series with R1 = 4 Ω, feeding node A. R2 = 6 Ω connects node A to ground. A current source I1 = 2 A injects current into node A. We want the voltage at node A.
Pass 1: only V1 active
Replace I1 with an open circuit. The remaining circuit is a series loop: V1, R1, R2. Node A is the divider midpoint.
V_A(1) = 12 × 6 / (4 + 6) = 7.2 V
Pass 2: only I1 active
Replace V1 with a short circuit. The left end of R1 is now connected directly to ground, so R1 and R2 both run from node A to ground. They are in parallel.
R1 ∥ R2 = (4 × 6) / (4 + 6) = 2.4 Ω
V_A(2) = 2 × 2.4 = 4.8 V
Sum
V_A = 7.2 + 4.8 = 12 V
Here is the topology change in pass 2. Before the short, R1 and R2 looked like a series path through a source. After the short, they became parallel branches. The deactivation rule is what turns the problem into a one-line parallel-resistance calculation.
Checking the rule in code
Zeroing a source's value in a general equation gives the same result as replacing it with a short or an open. The node equation for this circuit is (VA − V1)/R1 + VA/R2 = I1. Setting V1 to 0 gives a short on the left. Setting I1 to 0 gives an open.
import math
R1 = 4.0 # ohms
R2 = 6.0 # ohms
def node_a(v1: float, i1: float) -> float:
"""Voltage at node A from (VA - v1)/R1 + VA/R2 = i1."""
return (v1 / R1 + i1) / (1 / R1 + 1 / R2)
# Full circuit
full = node_a(12.0, 2.0)
# Pass 1: I1 set to 0 A (open circuit)
only_v1 = node_a(12.0, 0.0)
# Pass 2: V1 set to 0 V (short circuit)
only_i1 = node_a(0.0, 2.0)
assert math.isclose(only_v1, 7.2)
assert math.isclose(only_i1, 4.8)
assert math.isclose(full, only_v1 + only_i1)
print(round(only_v1, 3), round(only_i1, 3), round(full, 3))The output is 7.2 4.8 12.0. The function is linear in its two inputs, which is exactly why superposition works. Setting an input to zero is the algebraic version of turning the source off.
Doing the same in SPICE
A circuit simulator has no deletion step. You deactivate a source by giving it a zero value, which is the same idea as above. A 0 V source behaves as a wire, and a 0 A source behaves as an open circuit. This netlist runs pass 2, where V1 is shorted and I1 is active:
* Pass 2: V1 off (0 V = short), I1 on
V1 n1 0 DC 0
R1 n1 a 4
R2 a 0 6
I1 0 a DC 2
.op
.endThe operating point should report V(a) = 4.8 V. Setting V1 to 12 and I1 to 0 gives 7.2 V. Setting both to their real values gives 12 V.
Keep V1 in the netlist with value 0 rather than removing the line. Removing it would leave node n1 floating, and most simulators would report an error or give a wrong answer.
Edge cases and gotchas
A resistor in parallel with a voltage source
When the source is shorted, any resistor connected directly across it is shorted too. It carries no current in that pass and can be ignored. In the full circuit, that resistor still draws current from the source, but that current does not change any other voltage in the network. This is a useful simplification, and also a trap if you forget that the resistor is only bypassed during the pass where its source is off.
A resistor in series with a current source
When the source becomes an open, the whole branch is dead. The resistor adds nothing to that pass. Do not put it into a parallel combination just because it appears in the diagram.
Real sources have internal resistance
A practical battery is modeled as an ideal voltage source in series with a small resistance. A practical current supply is modeled as an ideal current source in parallel with a large resistance. When you deactivate such a source, you deactivate only the ideal part. The internal resistance stays in the circuit. The same holds for a Thevenin or Norton equivalent: the source goes to zero, and the resistor remains.
Polarity and direction
Deactivation removes polarity from the picture only for the source you turned off. For the active source, keep the reference polarity and current direction you chose. A response that comes out negative is not an error. It means the response points opposite to your reference. Sign handling when combining responses is covered in the next chapter.
The ground reference
Shorting a voltage source can connect a node to ground that was not grounded before. Redraw and relabel nodes after each short. If a short merges two nodes, treat them as one node from then on.
Do not deactivate the wrong thing
The rule applies only to independent sources. Do not replace a dependent source with a short or open. Doing so changes the circuit's behavior and breaks the linearity argument.
Quick checklist
- List the independent sources. Each gets its own pass.
- For each pass, choose one active source.
- Replace every other independent voltage source with a wire, and every other independent current source with a gap.
- Leave dependent sources and all resistances, including internal resistances, in place.
- Redraw the circuit and relabel merged nodes.
- Solve for the quantity you want, and keep your reference polarity.
- After all passes, add the partial results.
Exercise
In the shared circuit (V1 = 12 V, R1 = 4 Ω, R2 = 6 Ω, I1 = 2 A into node A), find the current through R1, directed from the V1 side toward node A, for each pass and for the full circuit. What does the full-circuit value tell you about node A?
Show answer
Pass 1 (I1 open): the series loop carries 12 / (4 + 6) = 1.2 A through R1 toward node A, so +1.2 A. Pass 2 (V1 shorted): V_A = 4.8 V and the left end of R1 is at 0 V, so the current from the V1 side toward A is (0 − 4.8) / 4 = −1.2 A. The sum is 1.2 + (−1.2) = 0 A. The full-circuit check agrees: (12 − 12) / 4 = 0 A. Node A sits at exactly 12 V, the same as the top of R1, so V1 delivers no current and I1 flows entirely through R2 (12 / 6 = 2 A).
Exercise
A student analyzes pass 2 of the shared circuit by deleting V1 from the diagram and leaving R1's left end unconnected. What answer do they get for V_A, and why is it wrong?
Show answer
With R1's left end floating, R1 carries no current, so all of I1 flows through R2 and V_A = 2 × 6 = 12 V. That is the wrong value for pass 2, which is 4.8 V. A deleted voltage source behaves like an open circuit, but a 0 V source is a short circuit. The short connects R1 to ground, putting R1 in parallel with R2 and giving 2 × 2.4 = 4.8 V. The error also hides the fact that the pass 1 and pass 2 totals no longer match the full-circuit answer: 7.2 + 12 = 19.2 V, not 12 V.