Hi,
I’m trying to get my feet wet with ngspice. But I fail to simulate even a simple circuit:
The error I get is:
warning, can't find model diode
Circuit: KiCad schematic
Error on line 4 :
d1 0 net-_d1-pad2_ diode
Unable to find definition of model diode
Error: circuit not parsed.
I assumed that ngspice comes with a basic definition of diode, NPN, PNP, etc. The examples from http://ngspice.sourceforge.net/ngspice-eeschema.html work, though.
.title KiCad schematic
V1 Net-_R1-Pad2_ 0 dc 1
R1 Net-_D1-Pad2_ Net-_R1-Pad2_ 1k
D1 0 Net-_D1-Pad2_ DIODE
.save @v1[i]
.save @r1[i]
.save @d1[id]
.save V(Net-_D1-Pad2_)
.save V(Net-_R1-Pad2_)
.dc V1 0 5 .1
.end
What’s the issue here?
KiCad 5.1.8+dfsg1-1+b1, Debian sid
ngspice compiled from ngspice revision 33