options_.maxit_ = 100; var c k /*s*/; varexo x; parameters alph gam delt bet aa; alph=0.5; gam=0.5; delt=0.02; bet=0.05; aa=0.5; //model(block, mfs=3); model(block, bytecode, mfs=3); //model; //s = aa*x*k(-1)^alph - c; c + k - aa*x*k(-1)^alph - (1-delt)*k(-1);// + 0.00000001*s; //k = s - (1-delt)*k(-1); c^(-gam) - (1+bet)^(-1)*(aa*alph*x(+1)*k^(alph-1) + 1 - delt)*c(+1)^(-gam); end; initval; x = 1; k = ((delt+bet)/(1.0*aa*alph))^(1/(alph-1)); c = aa*k^alph-delt*k; end; steady; //check; model_info; shocks; var x; periods 1; values 1.02; end; simul(periods=200, METHOD=LU); rplot c; rplot k;