Hi, I´m trying simulate a SOE DSGE model based on Gerali et al (2010), but it's appearing the following error mensage:
??? Attempted to access y(75); index out of bounds because
numel(y)=73.
Error in ==> simul_teseR2_static at 77
T522 = exp(y(38))*exp(y(75))/(exp(y(75))-1)/exp(y(37));
Error in ==> evaluate_static_model at 63
residuals = feval(fh_static,ys,exo_ss,params);
Error in ==> evaluate_steady_state_file at 96
[residuals,check] =
evaluate_static_model(ys,exo_ss,params,M,options);
Error in ==> evaluate_steady_state at 58
[ys,params,info] =
evaluate_steady_state_file(ys_init,exo_ss,M, ...
Error in ==> steady_ at 54
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in ==> steady at 81
[steady_state,M_.params,info] = steady_(M_,options_,oo_);
Error in ==> simul_teseR2 at 900
steady;
Error in ==> dynare at 180
evalin('base',fname) ;
Any ideas why this is happening and how can I fix this?
Best regards, Márcio.