A problem of steady state solution

Dear Mr Feifer,
I ran the following program, dynare made an error. I’d like to know where the mistake was and how I can modify the question. Looking forward to your replymymodel.mod|attachment (1.8 KB)

The attachment is broken.

mymodel.mod (1.8 KB)

Thank you very much. I uploaded it again

Hi chenxin,

your model has a singularity problem. Add these lines to your code and Dynare tells you everything you need.

resid(1);
steady(solve_algo=1,maxit=100000);
model_diagnostics;

Thank you for answering my questions, but according to your instructions, I did not change anything after I did it, or there was the same mistake as before. Where did I do it incorrectly.
This is where I add the code1
Here is the error in matlab

With

I get the model to run. The mentioned singularity comes from a bunch of unit roots.

How can I solve this problem?

You need to find out whether the unit roots are a feature of the model or a problem.