- The sum of currents at a node is zero.
I1=I2+I3
- The sum of voltage drops around a closed mesh is zero.
k∑Uk=0
Example:
E1+R1I1−R2I2−R3I3−E2=0
- If a circuit has n nodes and b branches:
- There are (n-1) independent node equations.
- There are (b - (n-1)) independent mesh equations.
First we check for nodes and branches
In the example, there is 2 nodes and 3 branches, so we have:
n=2b=3(n−1)=2−1=1(b−(n−1))=3−(2−1)=3−1=1
Here is the node equation:
I=I1+I2
And here is the 2 meshes equation:
E1−R1I1−RI=0
E2−R3I2−RI=0
Some with have now 3 equations:
I−I1−I2=0E1=R1I1+RIE2=R2I2+RI
Then we extract I1 and I2 from the equations:
I1=R1E1−RII2=R2E2−RI
Then we can replace I1 and I2 in the first equation:
I=R1E1−RI+R2E2−RI
I=R1E1−R1RI+R2E2−R2RI
I=R1E1+R2E2−R2RI−R1RI
I=R1E1+R2E2−I(R1R+R2R)
Then we can solve for I:
I(1+R1R+R2R)=R1E1+R2E2
Finally, we can express I:
I=1+R1R+R2RR1E1+R2E2