Re: [ng-spice-devel] convergence
On Tue, 01 May 2001, Steve Hamm wrote:
> Uh, we have a different definition of "consistent".
> When I mention consistent, I'm meaning that when the iterations
> stop, I want some solution x, such that F(x) is close to zero, and
> F and J have been evaluated at x so that conductances,
> capacitances, currents, etc. have been evaluated at x.
Define it however you want. It is all an approximation anyway. You
even say so in "F(x) is CLOSE TO zero".
What is important is that errors are bounded, with reasonable bounds,
and we have some confidence that the bounds are meaningful.
With either method, if you stop the iteration prematurely you get a
bad solution. If it hasn't converged to a reasonable tolerance it
doesn't matter whether it is "consistent" or not. It is bad anyway.
If the convergence checking is adequate, the last two iterations are
sufficiently close that the error is bounded. You can mix and match
and the error will still be bounded.
Strict attention to this "consistency" detail may have the benefit of
being able to accept a solution with one less iteration, but more
likely it distracts us from more significant issues.
When you throw in bypass, trace algorithms, latency exploitation,
multi-rate, .... you throw out any notion of exactness in terms of
"consistency", but with proper tolerances the error is bounded, and
can be bounded to an arbitrary tolerance.
If you don't throw in bypass, trace algorithms, latency exploitation,
multi-rate, .... you get a slow simulation that is only useful for
small circuits.
I did get some benefit from this, in the form of ideas for
maintaining some notion of "consistency" when limiting and damping is
applied.
By the way ... ACS doesn't even guarantee that all components of
F(x) are solved at the same iteration, or that all components of J(x)
are solved at the same iteration, or even that all components of x
are solved at the same iteration or by the same method. As long as
the errors are bounded, to a reasonable bound, it is ok.
Partial thread listing:
- Re: [ng-spice-devel] convergence, (continued)
Latest commit
Manu Rouat