R1V1R2R3V24.0 Vi1i2R3: i1 − i2va = 6.00 V
024681012-20246V2 (V)mAMESH CURRENTS vs V2i1i2R3 (i1 − i2)
Lit wire: current is flowing along itBlocks: sources V1 and V2, R1, R2, the shared R3 and ground, each with its IEEE symbol on topSmall dots on a dashed loop: a mesh current circulating clockwise; large dots: the real branch currents. Faster = more currentPlot: i1, i2 and the R3 current against V2, computed from the modelTwo meshes share R3. The figure is an ideal DC circuit: V1 = 12 V and V2 = 4 V sources, R1 = 2 kΩ, R2 = 2 kΩ and R3 = 3 kΩ, and wires with no resistance. Every current, voltage and power shown is computed from these values by the lesson's model.

Meshes and mesh currents

  1. A loop is any closed path through a circuit. A mesh is a loop with no other loop inside it, like one pane of a window. Our circuit has three loops but only two meshes: mesh 1 on the left, mesh 2 on the right.

Writing the equations

Solving and checking

What is happening

# step 1/10 · mesh
# about: Mesh 1, Mesh 2

loop    any closed path through the circuit
mesh    a loop with no other loop inside it

this circuit
  mesh 1   V1, R1, R3
  mesh 2   R3, R2, V2
  outer    V1, R1, R2, V2  (a loop, not a mesh)

Meshes only exist in a planar circuit:
one you can draw with no wires crossing.

The figure is an ideal DC circuit: V1 = 12 V and V2 = 4 V sources, R1 = 2 kΩ, R2 = 2 kΩ and R3 = 3 kΩ, and wires with no resistance. Every current, voltage and power shown is computed from these values by the lesson's model. Mesh currents are drawn clockwise by convention. Any direction works as long as each KVL walk follows its own mesh current; a negative answer then means the current runs the other way.