mistakeBlanchard & Kahn conditions are not satisfied: no stable equilibrium

dear all:
there are some mistakes about my codes
oceansink.mod (11.9 KB)

There are 14 eigenvalue(s) larger than 1 in modulus
for 12 forward-looking variable(s)
The rank condition ISN’T verified!
错误使用 print_info (第 32 行)
Blanchard & Kahn conditions are not satisfied: no stable equilibrium.

i guess the setting of k may be wrong,but i really don’t know how to do next.can anybody else help me? many thanks!!

Hi, model diagnostic gives you the answer:

MODEL_DIAGNOSTICS: The following endogenous variables aren’t present at the current period in the model:

many thanks,dear friends! how can i modify my codes now?

You need to correct your timing.