# Stability analysis of deterministic system in Dynare

**URL:** <https://forum.dynare.org/t/stability-analysis-of-deterministic-system-in-dynare/14949>\
**Category:** Perfect foresight simulations\
**Created:** [30 December 2019 21:40 UTC](https://forum.dynare.org/t/stability-analysis-of-deterministic-system-in-dynare/14949 "2019-12-30T21:40:47Z")\
**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:** [31 December 2019 20:15 UTC](https://forum.dynare.org/t/stability-analysis-of-deterministic-system-in-dynare/14949/2 "2019-12-31T20:15:39Z")

</div>

You can essentially use my stability/determinacy region check codes. See

> [@Error in dynare (line 235) evalin('base',fname)](https://forum.dynare.org/t/error-in-dynare-line-235-evalin-base-fname/12382/2):
>
> First of all, do not loop over stoch\_simul and resol. You only need the latter. In particular, you are not supposed to loop over Dynare syntax, only over the calls to Matlab functions. You need to condition on the error code returned by resol, i.e. the content of info. It will tell you if the BK conditions are satisfied or not. You can see all cases in print\_info.m: case 3 error(['Blanchard Kahn conditions are not satisfied: no stable' ... ' equilibrium']) ca…

---

_[View the full topic](https://forum.dynare.org/t/stability-analysis-of-deterministic-system-in-dynare/14949)._
