Page 1 of 1

Steady state block

PostPosted: Sun Feb 01, 2015 1:12 am
by parantap
Hi,
I have a question about steady_state_block. Is it necessary that the equation system in the steady state block should be in a recurisive form? I get the error message that my variable lg is undefined in the declaration of lh. This is bound to happen if the steady state equation system is not in a recursive form which is very likely for a nonlinear equation system. I attach my programme. Any help please?

P

Re: Steady state block

PostPosted: Sun Feb 01, 2015 7:46 am
by jpfeifer
Yes, it needs to be recursive as the steady_state_model-block takes a fully computed solution. It is not there for you entering an equations system to be solved. If you want to do something like this, the solution is a bit more involved. The easiest way is to use a steady state file to call a nonlinear solver. See the NK_baseline.mod in the Dynare examples folder.

Re: Steady state block

PostPosted: Sun Feb 01, 2015 6:06 pm
by parantap
Thank you.