I am not able to abtain the sstate for my model. this is the error message i get:

Error using print_info (line 32)
Impossible to find the steady state (the sum of square residuals of the static equations is 14.4437). Either the model
doesn’t have a steady state, there are an infinity of steady states, or the guess values are too far from the solution.

m = m(-1) + e*(t-u)*exp(q);
i_r = i_r(-1) + (1-u)*exp(q);

implies two unit roots in your model. Thus, there are infinitely many steady states and you cannot let Dynare compute one endogenously. You need to provide one.

I have obtain the steady state analytically and written a steady state file. However, i get an error message of of variables not declare while all variables are indeed declared.

I have also tried providing a steady state model block within the dynare script but it gives me the same error of variables not declared.

I also removed the unit roots but still couldn’t work either

Thank you for your help. I was able to obtain the steady state after rewriting the explicit definitions. I have attached file for you to see if the steady states are correctly computed.

Apart from that I have the following questions:

I want to normalized some variables to one at SS so that i can track the changes. How can i do this on dynare.

I have 3 shocks q,t u. I will only apply shock on q while t and u will take the values of 1 and zero at SS. I know how to apply shock on q but where can i place the t and u such that they will carry the assigned values.

I want the value of some key variables e.g y, c, p etc to be equal to one in the prior steady state. This will enable me track the changes once i introduce the shock.