# ModelingToolkit Symbolics maxiters not enough

**URL:** https://discourse.julialang.org/t/modelingtoolkit-symbolics-maxiters-not-enough/133463
**Category:** Modelling & Simulations
**Tags:** modelingtoolkit
**Created:** [October 27, 2025, 5:03pm UTC](https://discourse.julialang.org/t/modelingtoolkit-symbolics-maxiters-not-enough/133463 "2025-10-27T17:03:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AlirezaMiraliakbar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alirezamiraliakbar/32/217477_2.png) [@AlirezaMiraliakbar](https://discourse.julialang.org/u/AlirezaMiraliakbar)
#### Post date: [October 27, 2025, 5:03pm UTC](https://discourse.julialang.org/t/modelingtoolkit-symbolics-maxiters-not-enough/133463/1 "2025-10-27T17:03:44Z")

</div>

Hi, I am trying to model a chemical process with modeling toolkit and I have set 4 of my variables to `irreducible = true`. However, with doing this, I get the warning message from Symbolics that:

```julia-auto
Warning: Did not converge after `maxiters = 100` substitutions. Either there is a cycle in the rules or `maxiters` needs to be higher.

```

How can I increase the maxiters to resolve this warning and make sure everything is working correctly?

Thank you very much.

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [October 27, 2025, 6:28pm UTC](https://discourse.julialang.org/t/modelingtoolkit-symbolics-maxiters-not-enough/133463/2 "2025-10-27T18:28:28Z")

</div>

Which packages are you using? What is the output of:

```julia-auto
using Pkg
Pkg.status()

```

?

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [October 28, 2025, 7:08pm UTC](https://discourse.julialang.org/t/modelingtoolkit-symbolics-maxiters-not-enough/133463/3 "2025-10-28T19:08:48Z")

</div>

And please share code that demonstrates the issue.
