# Issue with SS.solve using DynamicSS method in SteadyStateDiffEq

**URL:** https://discourse.julialang.org/t/issue-with-ss-solve-using-dynamicss-method-in-steadystatediffeq/133712
**Category:** Modelling & Simulations
**Tags:** steady-state, differentialequation
**Created:** [November 6, 2025, 4:05pm UTC](https://discourse.julialang.org/t/issue-with-ss-solve-using-dynamicss-method-in-steadystatediffeq/133712 "2025-11-06T16:05:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bill\_Holmes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bill_holmes/32/47921_2.png) [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)
#### Post date: [November 6, 2025, 4:05pm UTC](https://discourse.julialang.org/t/issue-with-ss-solve-using-dynamicss-method-in-steadystatediffeq/133712/1 "2025-11-06T16:05:36Z")

</div>

I have a quick question about using SteadyStateDiffEq.jl. I am getting error behavior when trying to use the **DynamicSS** method (following [Steady State Solvers · DifferentialEquations.jl](https://docs.sciml.ai/DiffEqDocs/stable/solvers/steady_state_solve/)). Below is a MWE. I 1) define a standard ODEProblem, 2) use this to define a SteadyStateProblem, 3) solve using DynamicSS. Attempting to solve with the **DynamicSS()** yields the error shown below. Using the **SSRootFind()** method works (though this has some issues with my specific use case and so I want DynamicSS).

This seems like I’m making some sort of syntax / call error, but the docs / examples on this are a little thin. Can anyone point me to the correct usage?

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/2/f2df9eb8a0a30355bf5695c5f347399072165dc7.png)

I am using Julia 1.12.1 with the following package information (tried with 1.11.5, 1.11.7, 1.10.8 using clean environments also, same error). This is a clean environment with only these directly added.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/5/359fa7596dc0521979fe89b4d2d4ee72ff9ecb69.png)

```julia-auto
using Pkg
Pkg.activate("./Local_Env")

import SteadyStateDiffEq as SS
import DifferentialEquations as DE

function ode!(du, u, p, t)
    rr, dd = p
    du[1] = rr - dd * u[1]
end

tspan = (0.0, 100.0);
u0 = [1.0];
params = [2.0, 0.5];

odeprob_tmp = DE.ODEProblem(ode!, u0, tspan, params);
sol_test = DE.solve(odeprob_tmp, DE.Rodas5P()); # ODEProb verified

ssprob = SS.SteadyStateProblem(odeprob_tmp);

sol = SS.solve(ssprob, SS.DynamicSS(DE.Rodas5P())); ## Fails with error.

sol = SS.solve(ssprob, SS.SSRootfind());# Works as expected
```

---

<div class="post-metadata">

### Author: ![hexaeder](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexaeder/32/24403_2.png) [@hexaeder](https://discourse.julialang.org/u/hexaeder)
#### Post date: [November 6, 2025, 8:02pm UTC](https://discourse.julialang.org/t/issue-with-ss-solve-using-dynamicss-method-in-steadystatediffeq/133712/2 "2025-11-06T20:02:12Z")

</div>

It’s a bug: [`solve(prob, DynamicSS(Tsit5()))` broken with NonlinearSolveBase@2.1.0 · Issue #99 · SciML/SteadyStateDiffEq.jl · GitHub](https://github.com/SciML/SteadyStateDiffEq.jl/issues/99)  
The fix is already merged so it should work again with the next update of SteadyStateDiffEq.

---

<div class="post-metadata">

### Author: ![jClugstor](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jclugstor/32/32689_2.png) [@jClugstor](https://discourse.julialang.org/u/jClugstor)
#### Post date: [November 6, 2025, 11:07pm UTC](https://discourse.julialang.org/t/issue-with-ss-solve-using-dynamicss-method-in-steadystatediffeq/133712/3 "2025-11-06T23:07:16Z")

</div>

Yeah should be working now on SteadyStateDiffEq `v2.8.0`

---

<div class="post-metadata">

### Author: ![Bill\_Holmes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bill_holmes/32/47921_2.png) [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)
#### Post date: [November 7, 2025, 5:13pm UTC](https://discourse.julialang.org/t/issue-with-ss-solve-using-dynamicss-method-in-steadystatediffeq/133712/4 "2025-11-07T17:13:21Z")

</div>

Thanks! Spun up a new environment and it works. Thank you for the response.
