**Nodal analysis** is a circuit analysis technique and is based on Kirchhoff’s Current Law (KCL) with coordination of Ohm’s law. The analysis uses node voltage instead of element voltage in the circuit, that’s why it is called N*odal Analysis*.

Where nodes are the junction part of the electric circuit that connects multiple components. The point “A” and “B” are nodes in the following circuit.

## Nodal Analysis Steps:

- Select a node as a reference.
- Assign voltage names i.e. v
_{1}, v_{2,}and v_{3}to the remaining nodes, concerning the reference node. - Apply KCL to each non-reference node and write equations.
- Use Ohm’s law to express the current in each branch.
- Now solve the resulting simultaneous equations with any kind of tool or technique to get node voltages

## Example:

Suppose we have to analyze the circuit given below, using nodal analysis. We know the following parameters of the circuits given below.

The resistors:

R_{1}= 4Ω

R_{2}= 2Ω

R_{3}= 6Ω

The current sources:

I_{x}= 5A

I_{y}= 10A

- Different Types of Lineman Tools and Their Functions
- Data Center Design: From UPS to Building Automation Systems

### Solution:

#### Select Reference Node:

We would be selecting a reference node. I select the “V_{o}” node as my reference node. The reason for that is the ground terminal is attached to that node. And we know that voltage at the ground point is considered zero. So, the selection will ultimately simplify our later calculations, and it is also advisable for you to ground as your reference point if there is any.

#### Assign Name to Each Node:

There is a total of three nodes in the circuit, so now, I will be assigning a name to the rest of the nodes, according to the second step. See the diagram below, I named the node as follows. But keep in mind that the voltages at these nodes are defined concerning the reference node.

#### Apply KCL at each node:

Now, apply KCL at each non-reference node and write equations.

KCL at node named v_{1}: I_{x} = i_{1} + i_{2}

KCL at node named v_{2}: I_{y} = i_{3} – i_{1}

Where we know values of Ix and Iy are 5A and 10A, by putting the values the equations become:

5 = i_{1} + i_{2} — (1)

10 = i_{3} – i_{1} —(2)

#### Apply Ohm’s Law:

Now apply Ohm’s law to express each current. Since resistance is a passive component, by passive sign convention, the current always flows from higher potential to lower potential.

We start from the current i_{1}:

Now substituting these values of currents in the above equations (1) and (2) will give us two equations in variables v_{1} and v_{2}.

From equation (1):

From equation (1):

#### Solve the system of equations:

We got two simultaneous equations i.e. (3) and (4) with two unknown variables. So we can find it easily. Let’s do it by converting it to the matrix, as given below:

Row_{2 }is replaced with 3Row_{1}+Row_{2}:

Now, we can extract the value of v_{1} from the second row, as below:

Putting the value of v_{1 }into the first-row equation, like this:

Now we know the voltages of all the nodes and we have equations for all branch currents so we can easily analyze the circuit element by element. I am considering a special case of i_{1} here for further understanding. Suppose we want to know the current i_{1}, we can do it like this:

The answer here for i1 is negative, which means that the current i_{1} is not flowing in the direction we considered. But it does NOT mean that it is wrong. So, pick any random direction as I picked here, and solve your problem at the end you will know the exact directions of each current.

- Different Types of Lineman Tools and Their Functions
- Energy Managment and Efficiency for Reducing Costs

## Nodal Analysis with Voltage Sources:

The above example calculation was all about nodal analysis when there are current sources. When it comes to a voltage source in the nodal analysis, you have to apply KCL as well as KVL to the circuit to get the equation.

There are two cases while solving voltage sources in the nodal analysis.

#### Case 1:

When a voltage source is between a reference node and a non-reference node, as shown below (just like v1 and ground). The non-reference node becomes known by being connected to the voltage source. It makes the calculation simpler. In the circuit below, you don’t have to find the voltage at the node named v1 cause the voltage to the node is already known.

#### Case 2:

When the voltage source is connected between two non-reference nodes, as shown in the above diagram (just like v2 and v3). Both nodes are considered as a single node named supper-node. First of all, write the KCL equation for the super-node, just like this:

Now apply Ohm’s law to each current, which will give you a variable in terms of node voltages. After that, apply KVL at the loop v_{2}, v_{3,} and v_{o} will give us:

Where Vx is a known parameter of the circuit.