# Converging to steady state

**URL:** <https://forum.dynare.org/t/converging-to-steady-state/5251>\
**Category:** Steady state\
**Created:** [4 February 2016 10:36 UTC](https://forum.dynare.org/t/converging-to-steady-state/5251 "2016-02-04T10:36:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [4 February 2016 12:32 UTC](https://forum.dynare.org/t/converging-to-steady-state/5251/2 "2016-02-04T12:32:23Z")

</div>

You mean you need to find parameters where the steady state can be found?  
First off, you need to find out whether the steady state for a particular parameter set exists as opposed to Dynare not being able to find it. If the latter is the problem, just changing the parameters is not advocated. Rather, you should try to analytically compute the steady state.  
If the former is the problem and you want to know whether the steady state could be found, follow my code at [[Loop over parameters](https://forum.dynare.org/t/loop-over-parameters/3335/1))  
There, you loop over stoch\_simul, which returns the variable info. This one stores the error codes. If info is 20, 21, or 22 the steady state was not found, was complex, or contained Inf/Nan, respectively.

---

_[View the full topic](https://forum.dynare.org/t/converging-to-steady-state/5251)._
