It seems that made some mistake in my code. I tried to use the following setting, where Ac is the technology level
where e1 is i.i.d.
But I got the following error message
??? Index exceeds matrix dimensions.
Error in ==> simult at 19
chol_S = chol(Sigma_e_(i_exo_var,i_exo_var));
Error in ==> stoch_simul at 85
y_ = simult(repmat(dr_.ys,1,ykmin_),dr_);
Error in ==> TSJH_feb5_gr at 259
Error in ==> dynare at 26
I check the rank of Sigma_e_ and it turns out to be 0.