Join Slack
Powered by
Hi, when i do ".save" in ngspice. It's saved only ...
# general
h
Hugo Dias
07/08/2022, 2:10 PM
Hi, when i do ".save" in ngspice. It's saved only voltages and currents. How could i save variables too? (Ex.: let tc = deriv(v(vts)), i would like to save the tc too)
e
Eric Smith
07/09/2022, 4:25 AM
Would printing them, like in the example below, suffice?
https://github.com/imr/ngspice/blob/master/examples/control_structs/new-check-3.sp
If not I would suggest basically type casting it into a voltage, so that it naturally gets picked up by the save, with a behavioral voltage source.
h
Hugo Dias
07/09/2022, 10:17 PM
@Eric Smith
I would like to plot in Gaw the variables wich are in plots command
Open in Slack
Previous
Next