Matt Venn
03/21/2024, 9:56 AMHarald Pretl
03/21/2024, 9:58 AMplot i(Vmeas)
. Doing a plot signal
means plot v(signal)
.Matt Venn
03/21/2024, 10:00 AMStefan Schippers
03/21/2024, 10:14 AMsavecurrent=false
This is due to a strange behavior of ngspice. If you dont save anything the default is used, that is save all voltage nodes and all voltage source currents (including ammeters, 0V sources). But if one ammeter is inserted with savecurrent=true it will add a .save i(vammeter) into the netlist to ask ngspice to save its current. When this happens ngspice takes the action and saves only the ammeter current.
Another possibility is to add save all
into the control block before the simulation (tran, dc, ac) lineStefan Schippers
03/21/2024, 10:23 AMsave all
is used and I place these devices/spice_probe.sym
components on '_interesting_' nodes causing a .save to be emitted into the netlist. Likewise ammeters with '`savecurrent=true`' will cause '_interesting_' currents to be saved.Matt Venn
03/21/2024, 10:59 AMMatt Venn
03/21/2024, 11:02 AM