SteadyStateDiffEq.jl
SteadyStateDiffEq.jl is the native Julia package for solving steady state problems within the SciML ecosystem. It provides methods for finding equilibrium solutions of differential equations.
Installation
SteadyStateDiffEq.jl is included with DifferentialEquations.jl. To use it standalone:
using Pkg
Pkg.add("SteadyStateDiffEq")
import SteadyStateDiffEqSteady State Solver APIs
SteadyStateDiffEq.DynamicSS — Type
DynamicSS(alg = nothing; tspan = Inf)Requires that an ODE algorithm is given as the first argument. The absolute and relative tolerances specify the termination conditions on the derivative's closeness to zero. This internally uses the TerminateSteadyState callback from the Callback Library. The simulated time for which given ODE is solved can be limited by tspan. If tspan is a number, it is equivalent to passing (zero(tspan), tspan).
Example usage:
using SteadyStateDiffEq, OrdinaryDiffEq
sol = solve(prob, DynamicSS(Tsit5()))
using Sundials
sol = solve(prob, DynamicSS(CVODE_BDF()); dt = 1.0)