Stefan Schippers
04/18/2022, 6:23 AM.options savecurrents
to your spice commands. This saves all currents, keep in mind however that the size of the .raw file grows considerably. Another way in xschem is to add an '`ammeter.sym`' symbol to the branch you want the current saved. This component is a 0V voltage source and by default ngspice saves all currents in voltage sources.Starkzz
04/19/2022, 6:00 PMStefan Schippers
04/21/2022, 8:39 AMsave
statement with the current of the ammeter. Using a .save
implies that ngspice saves only the variables specified in .save
. If you want all others add a .save all
to your ngspice commands.