Re: Assertion faileed
Dow Drake <[email protected]> Sat, 18 Sep 2021 02:04:53 +0000
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <MWHPR05MB287928A43AAA781CFDD5472DC0DE9@MWHPR05MB2879.namprd05.prod.outlook.com> |
> If I understand correctly... the simulation does not show that the > output voltage does not reach zero before .0012s. The plot is a bit > misleading here, look at the data points (few). Right, I expected the output voltage to reach zero when the input voltage r= eached about 0.6-0.7 V (about 20 us before the input pulse reached zero) I= originally used 1000 points for the transient simulation, which gives a re= solution of 1.4 us. I just tried increasing to 5000 points, but it didn't = make any noticeable difference in either plot. > The Gnucsator transient command wrapper ignores most arguments, and runs > with automatic time steps. There was no need to change this yet. That explains another difference between the qucsator and gnucsator simulat= ions, namely with qucsator, the input pulse reaches zero precisely at the s= pecified T2 value, while with gnucsator, it reaches zero 0.2 ms later; this= is more like ngspice, which specifies the pulse width rather than T1 and T= 2 values. > Some simulator options are global, and can be set in the .rc file or at t= he > top of the input file, by hand. ".options trtol=3D1" etc. But fixed time > stepping is an argument to the transient command. Thanks -- that's good to know. I'll also try your suggestion to capture th= e exact time when the signal reaches zero.