Re: gnucap error
Ramiro Aceves <[email protected]> Thu, 07 Jul 2011 09:20:53 +0200
| Newsgroups | gmane.comp.gnu.gnucap.general |
|---|---|
| Message-ID | <[email protected]> |
Yes Andy, you are right. Thanks for the tip! I seems that gnucap confuses part instance with model if name is the same. I have changed to: DV1 501 0 Dvnoise Then gnucap showed same error for de DInoise diodes I changed to: DI1 502 0 DInoise1 DI2 503 0 DInoise2 Now the error about the diodes disappeard. I can enter gnucap and have the warnings: $ gnucap prueba_ada4898.cir Gnucap 0.35 The Gnu Circuit Analysis Package Never trust any version less than 1.0 Copyright 1982-2006, Albert Davis Gnucap comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions according to the GNU General Public License. See the file "COPYING" for details. *prueba del ADA4898 Rc1.X1: Rideal: effective length is negative or zero Rc2.X1: Rideal: effective length is negative or zero Re1.X1: Rideal: effective length is negative or zero Re2.X1: Rideal: effective length is negative or zero Rcm1.X1: Rideal: effective length is negative or zero Rcm2.X1: Rideal: effective length is negative or zero Rcmr1.X1: Rideal: effective length is negative or zero Rcmr2.X1: Rideal: effective length is negative or zero Rpsr1.X1: Rideal: effective length is negative or zero Rpsr2.X1: Rideal: effective length is negative or zero Rpsr3.X1: Rideal: effective length is negative or zero Rpsr4.X1: Rideal: effective length is negative or zero Rslew.X1: Rideal: effective length is negative or zero Rp1.X1: Rideal: effective length is negative or zero Rp2.X1: Rideal: effective length is negative or zero Rp3.X1: Rideal: effective length is negative or zero Rp4.X1: Rideal: effective length is negative or zero Rp5.X1: Rideal: effective length is negative or zero Rz1.X1: Rideal: effective length is negative or zero Rz2.X1: Rideal: effective length is negative or zero Rz3.X1: Rideal: effective length is negative or zero Rbuf.X1: Rideal: effective length is negative or zero Rout.X1: RIDEAL: effective length is negative or zero Rref1.X1: Rideal: effective length is negative or zero Rref2.X1: Rideal: effective length is negative or zero gnucap> When I simulate the circuit I get: gnucap> tran #Time open circuit: internal node 54 did not converge 0. very backward time step convergence failure, reducing (itl4) newtime=9.155273e-13 rejectedtime=1.831055e-12 oldtime=0.000000e+00 using=1.000000e-12 tried everything, still doesn't work, giving up gnucap> Do not know what node is 54, I cant find it in the circuit. Thanks for your help. Ramiro. El 06/07/11 23:40, Andy Fierman escribió: > I'm not experienced with Gnucap so please excuse me if this is nonsense. > > Is the > > DVnoise.X1, Dvnoise is not a .model > > part of the error message is trying to tell you that the line under > > ***Voltage Noise Generation > > DVnoise 501 0 Dvnoise > > is confusing the parsing process (not sure if that's the right > terminology but I hope you get the idea)? > > Maybe the net name "DVnoise" at the start of the line is being read as > the diode component "Dvnoise". This could cause a problem. > > If Gnucap is case sensitive when reading netlists then a component > called DVnoise would not be the same as Dvnoise and so the .model > Dvnoise would not be seen as applying to the wrongly identified > DVnoise component. > > Cheers, > > Andy. >