In Ngspice, how can we plot the current coming at ...
# analog-design
d
In Ngspice, how can we plot the current coming at a node? I tried :plot I(v1) V1 is node, which I found on some google search but this shows error saying no such function.
m
Ngspice does not plots currents that way.
Just add .options savecurrents in your spice netlist. This will save all the currents in your spice netlist Or you can also save particular currents using the methods mentioned by Stefan.
Another such method is .save @(name of the device)[i] You can find similar methods in Ngspice manual in section 15.7