error:Equation number 1 : NaN(The steady state contains NaN or Inf)

Dear professor and classmates:
I am a new dynare learner, I met more questions, but i can only deal with a part of the error questions on my own, still have so many questions.
This question is the all equation is NaN, I alreay check the parameters settings and the equation, maybe it all exists errors, but I cant go through it…

Around me ,no teachers and students use dynare, so please help me........

Thank you.

jkwnob.mod (3.6 KB)

Put
resid;
before your steady-command and then check what is going on in the in the equations that have Inf or large residuals. One problem clearly is that you did not initialize all variables that must not be 0 in your initval-block. For example, not setting p_k explains the Inf in equation 12 as you are dividing by 0.

jkwnob.mod (4.0 KB)

Thank you pro jpfeifer,I am so happy recive your answer, I revise the code, but there still said ‘Impossible to find the steady state’, I dont know why, I use the matlab solve the initval,it equals to the steady state, why didnot have steady state?

So thank you…

Thank you pro jpfeifer,I am so happy recive your answer, I revise the code, but there still said ‘Impossible to find the steady state’, I dont know why, I use the matlab solve the initval,it equals to the steady state, why didnot have steady state?

So thank you…jkwnob.mod (4.0 KB)

Thank you pro jpfeifer,I am so happy recive your answer, I revise the code, but there still said ‘Impossible to find the steady state’, I dont know why, I use the matlab solve the initval,it equals to the steady state, why didnot have steady state?

So thank you…jkwnob.mod (4.0 KB)

I can only give you generic advice: check what is going on in the in the equations that have large residuals. Often there is still a mistake somewhere in the model. If that does not help, start with a simpler model.

Thank you pro jpfeifer, I will check it ,I always think does not all the models could use dynare to solve it?But what kind of models could use it , I dont know it clearly. In fact, I have some questions about the utility function, I want to know the the utility function just include: consume, money, labor, just this three aspect? Other factor cant in the utility function?

Thank you jpfeifer, sorry for what the questions that maybe so stupid…

Sorry, but I don’t understand your last question.