lbwet said:
I edited subscripts. How can I collapse parallel/series resistors into one when single resistor is parallel and also series, depending resistor I consider it with.
Here is an algorithm, off the top of my head.
First pass: Look for a wiring path that goes directly from one end of a resistor to its other end without passing through any other device. If there is such a path then that resistor is shorted. Remove it from the diagram. Keep looking at the remaining resistors.
Second pass: Look for devices that are connected on one end only. If there is such a device, it's an open circuit, doing nothing. Remove it from the diagram. Restart the second pass on the simplified diagram.
Third pass: Look for pieces of the network that are completely isolated from the piece you care about. No wires or devices going between the one part and the other. If found, remove the detached piece from the diagram and keep looking for other isolated pieces.
Fourth pass: Focus on a single pair of resistors at a time.
Look for a wiring path between one resistor and the other. Is there a wiring path that leads from one to the other that does not cross any other devices? If no such path exists then they are neither series nor parallel. STOP. Try another pair of resistors.
If such a path is found, then the pair might be either series or parallel. Keep considering. We know that the resistors are connected to each other at one end. Look at the opposite ends.
If a path exists connecting the opposite ends to one another then that's a
parallel pair of resistors. Compute the equivalent resistance of the parallel pair and replace the pair with the equivalent single resistor. STOP. Restart the search for pairs of resistors in the new simplified diagram.
If no such path exists connecting the opposite ends then the pair still might be series. Look for other devices attached to the wire between the two ends that
are connected to one another. If no other devices are connected on this path then the resistors are in
series. Compute the equivalent resistance of the series pair and replace it with the equivalent single resistor. STOP. Restart the search for pairs of resistors in the new simplified diagram.
If there are other devices hanging off of the path between the connected ends then the pair is neither series nor parallel. STOP. Try another pair of resistors.
If you run out of resistor pairs, then the network is either down to one resistor (you win!) or will need to be simplified with more sophisticated methods.