Skip to content

Minimum step size heuristic for DAEs #3204

@pepijndevos

Description

@pepijndevos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions