I am trying to write a code for multi-country rbc model with non-contingent bond in a smiliar setting as in Heathcote and Perri 2002.
The code runs well when I use two countries, but it gives me the error that “The rank condition ISN’T verified” and “Blanchard Kahn conditions are not satisfied: no stable equilibrium” when I use three or four countries.