Page 1 of 1

Steady_state_model; and AUX variables

PostPosted: Tue Mar 18, 2014 8:03 am
by Daniel Bendel
Hello all,

I wrote a steady state file for the mod-file like described here viewtopic.php?f=1&t=1834
But my model needs 2 auxiliary variables. How do I handle this in the steady state m.file?
I allways get the error that "The steadystate file did not compute the steady state", however, my steady state values, I give to dynare, produce only zero residuals.

Best regards,
Daniel

Re: Steady_state_model; and AUX variables

PostPosted: Tue Mar 18, 2014 10:01 am
by jpfeifer
You are using an old wrong version of the steady_state-file. In the final loop it should be
Code: Select all
    NumberOfEndogenousVariables = M_.orig_endo_nbr;

and not
Code: Select all
   NumberOfEndogenousVariables = M_.endo_nbr;