# Trick to meet Blanchard Kahn conditions

**URL:** <https://forum.dynare.org/t/trick-to-meet-blanchard-kahn-conditions/4866>\
**Category:** Dynare help (legacy posts)\
**Created:** [30 July 2015 11:52 UTC](https://forum.dynare.org/t/trick-to-meet-blanchard-kahn-conditions/4866 "2015-07-30T11:52:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![naivej](https://forum.dynare.org/letter_avatar_proxy/v4/letter/n/bc8723/32.png) [@naivej](https://forum.dynare.org/u/naivej)\
**Post date:** [30 July 2015 11:52 UTC](https://forum.dynare.org/t/trick-to-meet-blanchard-kahn-conditions/4866/1 "2015-07-30T11:52:42Z")

</div>

Dear all

I have a 2 country NK model with tradable good only, which works OK. But when I add nontradable good sector, I have Blanchard Kahn conditions problem (22 eigenvalues\>1 and 20 forward looking variables) . I have just found a trick that fix the problem but I am not sure if I am doing right.

please see line 88 and 90, which are the capital market clear equations for home and foreign countries. All capital in one country equal to the sum of capital used in tradable good sector and nontradable good sector in this country. s stand for foreign country variables, t stand for tradable and n stand for nontradable. At the beginning i use the current period timing and I have the Blanchard Kahn conditions problem (no ‘1’ for all variables in these two equations). I also use model\_diagnostics and there is no return. But the problem is fixed if I simply forward this two equation one period ahead (24 eigenvalues\>1 and 24 forward looking variables). I guess I need to let dynare know that sector capital are forward looking variables by doing so. Otherwise dynare will treat them as predetermined variables because I only have capital accumulation and capital Euler for overall capital. however, this trick makes sector capital enter model either at t-1 or t+1.  
[steadystate\_nontradable\_lunch.m](https://forum.dynare.org/uploads/default/original/2X/7/786ef4e84471533eaecc5d0687fc7289b8b6e2b1.m) (2.52 KB)  
[steadystate\_nontradable\_fun.m](https://forum.dynare.org/uploads/default/original/2X/4/4830c968117ce9f1560c3b2329368ce6888bb8b1.m) (2.04 KB)  
[PtmNontradable\_model\_stationary.mod](https://forum.dynare.org/uploads/default/original/2X/6/6fe058245b1c57fbd4f89dfa498dba038900096e.mod) (15.6 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:** [30 July 2015 15:51 UTC](https://forum.dynare.org/t/trick-to-meet-blanchard-kahn-conditions/4866/2 "2015-07-30T15:51:53Z")

</div>

You need to get the economic setup right. Think about how you want to model capital in the two sectors and whether there are frictions. See e.g. [[Timing of capital in two sector economy](https://forum.dynare.org/t/timing-of-capital-in-two-sector-economy/2325/1)) and [[Blanchard Kahn conditions are not satisfied: indeterminacy d](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-d/4813/1))

---

<div class="post-metadata">

**Author:** ![dmbn](https://forum.dynare.org/letter_avatar_proxy/v4/letter/d/8edcca/32.png) [@dmbn](https://forum.dynare.org/u/dmbn)\
**Post date:** [18 October 2015 15:30 UTC](https://forum.dynare.org/t/trick-to-meet-blanchard-kahn-conditions/4866/3 "2015-10-18T15:30:52Z")

</div>

So if I understand right, I can’t just rewrite my jump variables as predetermined variables? It solves the problem with eigenvalues, but apparently it leads to wrong results. I’m I right?

---

<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:** [20 October 2015 13:49 UTC](https://forum.dynare.org/t/trick-to-meet-blanchard-kahn-conditions/4866/4 "2015-10-20T13:49:14Z")

</div>

If your jump variables correctly classified as jump variables you cannot simply change their timing.
