Electronics-Related.com
Forums

LT spice strangeness

Started by John Larkin December 9, 2023
If I set up a BV with equation V=int(TIME) I expect a clean step of
one volt every second. That's not what happens. Steps are slopey and
strange. I have to declare a max time step of about 100 us to clean it
up, which is a nuisance since I'm running for 500 seconds.

Actually, I'm not simulating a circuit, just using some BV's to plot
some equations. But still.

On Sunday, December 10, 2023 at 11:28:59 AM UTC+11, John Larkin wrote:
> If I set up a BV with equation V=int(TIME) I expect a clean step of > one volt every second. That's not what happens. Steps are slopey and > strange. I have to declare a max time step of about 100 us to clean it > up, which is a nuisance since I'm running for 500 seconds. > > Actually, I'm not simulating a circuit, just using some BV's to plot > some equations. But still.
It's a numerical integration program, not a graph plotting program. If you haven't got a process that's generating the time steps it's a bit surprising that it does anything at all. -- Bill Sloman, Sydney