-
-
Notifications
You must be signed in to change notification settings - Fork 253
Description
I had a chat with the author of https://www.plexim.com/products/plecs/plecs_spice who bombarded me with simulation wisdom that I could sometimes only half follow or remember.
One thing that @oscardssmith thought was worth mentioning here is the following:
He said that conventional wisdom is that for an ODE you can just reduce the step size to make progress through tricky bits, but that a DAE is singular in the limit of step size approaching zero. So if you just keep reducing your step size you're just breaking the equations.
This may be one of those things where spice does things that appear hacky on the surface that actually solve a real problem. By sometimes just ignoring error bounds a little and marching on stuff will eventually converge.
I guess Oscar has some heuristic in mind where you can find an optimal step size to make progress with a stiff DAE.