# Steady state block

**URL:** <https://forum.dynare.org/t/steady-state-block/4459>\
**Category:** Dynare help (legacy posts)\
**Created:** [1 February 2015 01:12 UTC](https://forum.dynare.org/t/steady-state-block/4459 "2015-02-01T01:12:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![parantap](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/ebca7d/32.png) [@parantap](https://forum.dynare.org/u/parantap)\
**Post date:** [1 February 2015 01:12 UTC](https://forum.dynare.org/t/steady-state-block/4459/1 "2015-02-01T01:12:32Z")

</div>

Hi,  
I have a question about steady\_state\_block. Is it necessary that the equation system in the steady state block should be in a recurisive form? I get the error message that my variable lg is undefined in the declaration of lh. This is bound to happen if the steady state equation system is not in a recursive form which is very likely for a nonlinear equation system. I attach my programme. Any help please?

P  
[AP17\_jan2015.mod](https://forum.dynare.org/uploads/default/original/2X/1/10e3c5c2d13488dd5fd7be197ebefc52cff1b6a3.mod) (4.14 KB)

---

<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:** [1 February 2015 07:46 UTC](https://forum.dynare.org/t/steady-state-block/4459/2 "2015-02-01T07:46:15Z")

</div>

Yes, it needs to be recursive as the steady\_state\_model-block takes a fully computed solution. It is not there for you entering an equations system to be solved. If you want to do something like this, the solution is a bit more involved. The easiest way is to use a steady state file to call a nonlinear solver. See the NK\_baseline.mod in the Dynare examples folder.

---

<div class="post-metadata">

**Author:** ![parantap](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/ebca7d/32.png) [@parantap](https://forum.dynare.org/u/parantap)\
**Post date:** [1 February 2015 18:06 UTC](https://forum.dynare.org/t/steady-state-block/4459/3 "2015-02-01T18:06:25Z")

</div>

Thank you.
