To measure and plot the branch current.

I was doing a project of verifying Kirchoff's voltage law, but couldn't find any tool to measure the branch current. Please suggest some solution to this problem.

Thanking you in anticipation.

eSim 16-10-15, 4:46 p.m. samre1234
Hi Sameer,

If you want to plot branch current then you can directly use python plotting window to plot branch current.

If you want to do it in NgSpice window then you can use below command.

1. This will plot all the branch current in your circuit.
      plot alli       

2. Also if you want to measure a current from any specific branch then you use
    plot i(v1)
    where v1 is voltage source of that branch.

3. If the branch do not contain any voltage source then you can add any dc voltage source of 0 value and then plot current with command given in 2nd point.

Hope this answer your question

16-10-15, 5:05 p.m. fahim

Log-in to answer to this question.