RE: [ng-spice] Diode problems - continued
Using my last compiled version of ngspice (14pre2 I think), I get
some strange results. I'm running the following :-
* DIODE test circuit
D1 A C DPB_NP1
VA A 0 dc -5.0 pwl 0 -12 10u 1 15u 1 20u -12
VC C 0 dc 0
****** Start of ghs File ******
*.OP
*.dc va -11 -9 1m
.tran 100n 20u
.save all
+ @d1[vd]
+ @d1[id]
+ @d1[gd]
+ @d1[cd]
+ @d1[charge]
+ @d1[capcur]
.MODEL DPB_NP1 D IS=2.29E-15 CJO=7.88E-12 VJ=1.2E+00 M=4.63E-01 RS=10
+ BV=10 TT=1u
.options nomod tnom=25 temp=25 ACCT
+ reltol=0.00002 abstol=0.1p vntol=1u
****** End of ghs File ******
.END
The saved parameters don't make any sense, but the current in the
voltage source looks okay, suggesting that it's just a parameter
saving problem. But closer inspection shows that the TT model
parameter has no effect, so we seem to have more than one problem.
Cheers,
Alan
Partial thread listing: