I'm trying to understand how to correctly set the KCL equation for this type of problem that is explained in this ebook at page 19:
I'm following the procedure of the guide, that provides a wrong formula (because it swithces the resistors \$R_1\$ and \$R_2\$ in the formula, this is a minor error that I corrected easily, this is not the problem itself) and not very intuitive; considering a supernode for the voltage source. Since the \$V_{S_1} = 10V\$ we can derive that \$ V_2 = -10 \$. Also for the supernode we can say that \$ V_3 =V1-4 \$. Also the value of resistors are \$R_1 = 4\Omega\$ and \$R_2 = 5\Omega\$.
The KCL formula for the supernode provided by the author is (I'm not considering the resistor switch error): Eq: A.1 $$-I_{S_2}+\frac{V_1}{R_1}+\frac{V_3-V_2}{R_2}-I_{S_1}=0$$ For me from this formula (the results are correct anyway: \$V_1 = -\frac{44}{9}\$) it is not clear how the author is setting the equation:
- The first term \$-I_{S_2} = -(1A)\$ is a current that it is entering the supernode, the author is putting negative sign so is should be a current that is leaving the supernode
- The second term \$\frac{V_1}{R_1}\$ is a current that has a positive sign so it's entering the node, but it is structured as if the current is leaving the node (because the voltage drop is "towards the ground node \$\frac{V_1-0}{R_1}\$" that is different from \$\frac{0-V_1}{R_1}\$).
- The third term has exactly the same structure as the second one, positive sign and the voltage drop "towards" \$V_2\$ so leaving the node.
- The fourth term \$-I_{S_1} = -(-2A)\$ is a negative current that means it is naturally leaving the node, but with a negative sign applied it will have a positive sign that means it is entering.
So the first term is leaving, the second one and the third one are entering with non intuitive voltage drops and the fourth is entering the node
So form this is not clear at all. So I tried to simplify this circuit in the following way: I inverted the \$I_{S_1}\$ current source so that now the negative sign will not confuse anymore and I wanted to set the KCL equation for the supernode assuming all the currents entering the node.
So now the KCL equation for the supernode that I setted is: Eq: M.1 $$I_{S_2}+\frac{0-V_1}{R_1}+\frac{V_2-V_3}{R_2}-I_{S_1}=0$$
In this case we have that:
- The first term \$+I_{S_2}\$ has a positive sign and considering the direction of the current we can say that the current is entering the node.
- The second term \$+\frac{0 - V_1}{R_1}\$ is a current that has a positive sign so it's entering the node, and has a voltage drop "that is towards the supernode" so the current is entering the supernode.
- The third term has the exact same structure as the second with positive sign and the voltage drop "towards or entering the supernode".
- The fourth term \$-I_{S_1}\$ it's normally leaving the node (considering the direction of the current) so now applying a negative sign the current is entering the supernode. Substituting the numbers I got the correct result in Eq: M.1: $$+1+\frac{0-V_1}{4}+\frac{V_2-V_3}{5}-2=0$$ $$+20-5V_1+4(-10)-4(V_1-4)+20(-2) = 0$$ $$V_1 = -\frac{44}{9}$$
My doubts come now: since with KCL and nodal analysis I can make the wrong assumptions about the direction of the currents and still getting the correct results, this not seems the case infact:
- Considering all currents leaving the supernode, the equation Eq: M.2 should be the following $$-1 -\frac{V_1-0}{4} - \frac{V_3-V_2}{5} + 2 = 0$$ the result it will give \$V_1=-\frac{4}{9}V\$. The same will happen if I consider any other approaches that are different from considering all the currents entering the node. We can see that we have a different solution also from a calculator
My question is: why is this happening (I can normally set KCL equation as I like and always get the correct result)? Is there something that I should consider when dealing with supernodes)? Why the ONLY correct result is when I set all the currents ENTERING the supernode?
Any suggestion are welcomed. Thank You