Although, node voltage analysis will always work, there are some tricks to make it easier. For example, whenever there is a voltge source, the followign technique can be applied to reduce the number of unknowns.
Consider the following circuit:
There are four nodes in the circuit. We should select one as the ground node. Node#4 connects four branches, thus it is the most suitable as a reference node.
The voltage of node 1 is also known, so we can solve the circuit for two unknowns.
Let's write KCL equations for node A:
which is equal to:
For Node B:
which is equal to:
We can write another equation to define \(V_{S2}\)
It is ok to apply the nodal analysis method like this, but there is an easier way, which helps to reduce the number of unknowns.
As the KCL can be applied to any closed loop. We can define a loop as shown in the figure.
Now, we can write a single equation by directly applying the relation between \(V_a\) and \(V_b\)
which is equal to:
Here, it is much easier since we have only one unknown: