How to solve a resistor nest efficiently

currentkirchhoffs-lawsresistorssimulationvoltage

Of course, one way to do it is to split it into series and parallel circuits and apply Kirchhoff's law, but that seems inefficient. Is there a method by which a circuit nest can be solved (finding the voltage and current at each resistor) efficiently (suitable for a computer simulation, perhaps)? (Of course, any approach would be based on Kirchoff's laws, but they can be rearranged to be more efficient for this task.) I am thinking it would involve finding relative voltages at every node, instead of voltage differences at each resistor.

What should I do?

Best Answer

Well in the particular diagram you have shown there appears only one wire coming in. So there will be no current flow in any of the resistors and all the nodes will be at the same voltage.

Edit: looking at the full nonsense circuit on XKCD there is a wire coming into the top of the subcircuit you pictured which you cropped off. If you connected a voltage source to the top and bottom of the circuit you could solve it by the means below.

But in general you can solve a circuit with lots of resistors by the following procedure.

  1. Choose one node to be your 0V reference.
  2. Assign a variable for the voltage of each node other than the reference node.
  3. Assign a variable and direction for the current through each component (including your voltage source). Don't worry if the direction you assign is backwards, that just means you will get a negative answer for it's value.
  4. Write and equation for each node setting the current into the node equal to the current out of the node.
  5. Write an equation for each component (including your voltage source). The voltage source equation will relate the voltages on two nodes directly. The resistor equations will relate the voltages on two nodes to the current through the resistor.
  6. Solve (or get a computer to solve for you) the resulting simultanious equations.
Related Topic