# Can the function following steady\_state\_model in the mod file be a nonlinear system of equations?

**URL:** <https://forum.dynare.org/t/can-the-function-following-steady-state-model-in-the-mod-file-be-a-nonlinear-system-of-equations/27745>\
**Category:** Steady state\
**Created:** [28 June 2025 08:02 UTC](https://forum.dynare.org/t/can-the-function-following-steady-state-model-in-the-mod-file-be-a-nonlinear-system-of-equations/27745 "2025-06-28T08:02:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhanglei](https://forum.dynare.org/letter_avatar_proxy/v4/letter/z/ac8455/32.png) [@zhanglei](https://forum.dynare.org/u/zhanglei)\
**Post date:** [28 June 2025 08:02 UTC](https://forum.dynare.org/t/can-the-function-following-steady-state-model-in-the-mod-file-be-a-nonlinear-system-of-equations/27745/1 "2025-06-28T08:02:48Z")

</div>

**Can the function following steady\_state\_model in the mod file be a nonlinear system of equations?**  
In many examples, a steady state is calculated using an equation for a variable. If the equation is very complex and multiple variables are closely linked, how do you write a program in the steady\_state\_model module? Looking forward to your answer！

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [30 June 2025 07:09 UTC](https://forum.dynare.org/t/can-the-function-following-steady-state-model-in-the-mod-file-be-a-nonlinear-system-of-equations/27745/2 "2025-06-30T07:09:07Z")

</div>

If you want to solve a nonlinear equation system, you can use a help function. An example is the `example3.mod` shipped with every Dynare installation. However, for complicated cases you typically want to use a user-defined steady state file.
