Steady state errors

dear all:
oceansink.mod (11.0 KB)
how can i find steady state?many thanks! and why the Residuals of the static equations displayed twice?

The first display is the residuals given your initial values, the second one after steady state finding failed. The relevant one is the first

Equation number 1 : 0 : 1
Equation number 2 : 0 : 2
Equation number 3 : -0.017183 : r
Equation number 4 : 0 : 4
Equation number 5 : 0.00010529 : 5

There are two equations with residuals that cause the whole system to fail. Most likely there is still a mistake here that makes the model inconsistent with a steady state.

thanks,dear professor! I’ll do it right now.

dear professor,thanks for your advice,but another problem arises.
ERROR: There are 42 equations but 43 endogenous variables!
oceansink.mod (11.0 KB)
there are two categories of the firms in my codes,the wage(w1 w2)、output(y1、y2)、marginal cost(mc1、mc2) and capital(k1 k2)are different.Is this setting correct?

You had a model with the right number of equations. So check what changed relative to that one.

dear professor,I checked again and modified my codes but another problem airses.
Blanchard & Kahn conditions are not satisfied: no stable equilibrium
oceansink.mod (11.8 KB)
how can I do next?

Fix your timing.

exp(kbar(-1))=exp(u)*exp(k(-1));

cannot be correct. Capital services as a function of utilization are determined at time t, not t-1

thanks,professor.As you suggested,I fixed the time setting but still have a problem.
There are 13 eigenvalue(s) larger than 1 in modulus
for 12 forward-looking variable(s)

The rank condition ISN’T verified!

oceansink.mod (11.8 KB)
how can I do next?many thanks!

Your timing is still incorrect. Usually, it’s

exp(kbar)=exp(u)*exp(k(-1));

There may be other errors like this one.

wow,thanks a lot,dear professor!

I’m sorry to bother you again, professor.I have changed the codes about kbar、kbar1 and kbar2 but another problem arises.There are 11 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: indeterminacy.
oceansink.mod (11.8 KB)
I really don’t know how to do,can you help me again?many thanks!