Page 1 of 1

The steadystate file did not compute the steady state

PostPosted: Fri Feb 27, 2015 3:36 pm
by asha1
Dear colleagues,

I receive this error "The steadystate file did not compute the steady state" when I run dynare, but all my Residuals of the static equations are 0.
Does anybody have a clue of the origin of the error I get? I uploaded the code. The main file is dyn_main.mod.

Thank you so much for your help.

Re: The steadystate file did not compute the steady state

PostPosted: Sat Feb 28, 2015 4:55 pm
by jpfeifer
Please provide the full codes.

Re: The steadystate file did not compute the steady state

PostPosted: Tue Mar 03, 2015 10:07 am
by asha1
Jpfeifer, I have just updated my question with the full code.

Thank you so much.

Re: The steadystate file did not compute the steady state

PostPosted: Wed Mar 04, 2015 12:50 pm
by jpfeifer
You still did not provide a running code. There are several functions missing like e.g. sseqs and the external functions

Re: The steadystate file did not compute the steady state

PostPosted: Thu Mar 05, 2015 10:37 am
by asha1
... Please, find the zip file with the full code. I tried and I think I did not forget any file this time... Thank you and sorry.

Re: The steadystate file did not compute the steady state

PostPosted: Sun Mar 08, 2015 8:35 am
by jpfeifer
The reason is that your function
Code: Select all
pss(co)

tries to access oo_.steady_state before it has been set by Dynare. In contrast, the computation of residuals happens after oo_.steady_state has been updated. You need to get rid of this circular definition.

Re: The steadystate file did not compute the steady state

PostPosted: Fri Mar 27, 2015 12:03 pm
by asha1
Dear JPFeifer,
Thank you for all your help... I did not reply before because I am still trying to solve the problem you managed to find in my code.