Sundials Solvers

The Sundials solvers are part of a freely available third-party package developed at Lawrence Livermore National Laboratory. All the other ODE solvers used for simulation of SimBiology® models, such as ode45, and ode15s, are part of the MATLAB® ODE suite. At a fundamental level the core algorithms for the Sundials solvers are similar to those for some of the solvers in the MATLAB ODE suite and work in the same way, as described in How Solvers Work

When you select the SolverType Sundials, the software automatically chooses one of two Sundials solvers as appropriate for your model: CVODE or IDA. CVODE is a solver for systems of ODEs, both nonstiff and stiff. This is used when a model has no algebraic rules. IDA is a differential-algebraic equation (DAE) solver, used when one or more algebraic rules are present.

If your model has events and you want to simulate with a deterministic solver, you must select Sundials. The other ODE solvers do not support events.

For more information on the Sundials solvers, see the web site http://www.llnl.gov/casc/sundials/description/description.html.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS