Calculate Steady States for Ramsey Policy

Dear all,

I tried to take a running model for dynare version 4.5. to dynare 5.4 using a separate file to compute my steady states. It seems like I am not handing over the initial value of the instrument to the steady state file correctly? Is that done differently in later versions of dynare?

Another error I encounter is “Index exceeds the number of array elements.” What am I missing? Especially as the model runs perfectly well in dynare 4.5.

EDSGE_GK11_ETAX.mod (3.7 KB)
EDSGE_GK11_ETAX_steadystate.m (3.7 KB)
findssFF_TAX.m (1.4 KB)

Any help is highly appreciated.
Thank you very much in advance,
Ferdi

Sorry for any confusion, I resolve the issue myself. The initialization of ys (steady state) like this:
%ys = zeros(NumberOfEndogenousVariables,1);
is obviously wrong and redundant in case of a ramsey_policy.