

To measure and plot the branch current.
Sir,
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.
Sameer.
eSim


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
Thanks.
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
Thanks.
Login to add comment