pybamm.
AlgebraicSolver
(method='lm', tol=1e-06)[source]¶Solve a discretised model which contains only (time independent) algebraic equations using a root finding algorithm. Note: this solver could be extended for quasi-static models, or models in which the time derivative is manually discretised and results in a (possibly nonlinear) algebaric system at each time level.
Parameters: |
---|
pybamm.
CasadiAlgebraicSolver
(method='lm', tol=1e-06, **extra_options)[source]¶Solve a discretised model which contains only (time independent) algebraic equations using CasADi’s root finding algorithm. Note: this solver could be extended for quasi-static models, or models in which the time derivative is manually discretised and results in a (possibly nonlinear) algebaric system at each time level.
Parameters: | tol (float, optional) – The tolerance for the solver (default is 1e-6). |
---|