Hello <@U02UAUGSQ22>, I've got some issues while s...
# analog-design
v
Hello @Harald Pretl, I've got some issues while simulating a DC transfer function line in ngspice in the Docker container, but in a previous version of ngspice (ver. 36) it works perfectly. The problem is that it can't store a vector from the simulation because it "doesn't exist", but if I swap the simulation line for a transient, the problem won't appear. I wanted to make sure if the problem is related just to ngspice or if it is caused by the way ngspice is installed in the container (I understand from the Dockerfile that you have another version only for the libraries). If you could help me to understand the origin of this problem, I would be very happy. Let me know if you need the file or SPICE sim code as such 😄.
s
Try to add the
remzerovec
command before the write command:
.control
...
save all
dc vin 0 1.8 0.01
remzerovec
write testbench.raw
...
...
.endc
v
Still having the problem, the message says that "no such function as dc.v or dc.v(D) is not available."
s
Use
dc1.v(D)
v
It displayed the same message but now with
dc1
h
@Vicente Osorio This sounds like an
ngspice
issue. Please file a ticket at https://sourceforge.net/p/ngspice/_list/tickets, the ngspice team is currently preparing the next version, and if there is a degrade in the latest version then they need to know so that they can fix it.
v
@Harald Pretl @Stefan Schippers Thank you for your help, I'll file a ticket.
s
@Vicente Osorio after the simulation is finished you can give the
display
command to see the list of saved variables. You can also give
echo $plots
to see the saved simulations. You can switch to a plot by using
setplot dc1