%
% Status : main Dynare file 
%
% Warning : this file is generated automatically by Dynare
%           from model file (.mod)

clear all
tic;
global M_ oo_ exedet_ exdet_ recur_ recurs_ 
global options_ endval_
global ys0_ recurs0_ ex0_ ct_
options_ = [];
M_.fname = 'hello';
%
% Some global variables initialization
%
global_initialization;
diary off;
warning_old_state = warning;
warning off;
delete hello.log;
warning warning_old_state
logname_ = 'hello.log';
diary hello.log
options_.model_mode = 0;
addpath hello;
erase_compiled_function('hello_static');
erase_compiled_function('hello_dynamic');
M_.exo_names = 'z';
M_.exo_names_tex = '';
M_.endo_names = 'k';
M_.endo_names_tex = '';
M_.endo_names = strvcat(M_.endo_names, 'c');
M_.endo_names_tex = strvcat(M_.endo_names_tex, '');
M_.param_names = 'alpha';
M_.param_names_tex = '';
M_.param_names = strvcat(M_.param_names, 'beta');
M_.param_names_tex = strvcat(M_.param_names_tex, '');
M_.param_names = strvcat(M_.param_names, 'gamma');
M_.param_names_tex = strvcat(M_.param_names_tex, '');
M_.param_names = strvcat(M_.param_names, 'delta');
M_.param_names_tex = strvcat(M_.param_names_tex, '');
M_.param_names = strvcat(M_.param_names, 'aa');
M_.param_names_tex = strvcat(M_.param_names_tex, '');
M_.exo_det_nbr = 0;
M_.exo_nbr = 1;
M_.endo_nbr = 2;
M_.param_nbr = 5;
M_.Sigma_e = zeros(1, 1);
M_.lead_lag_incidence = [
	 1 2 0;
	 0 3 4;]';
M_.exo_names_orig_ord = [1:1];
M_.maximum_lag = 1;
M_.maximum_lead = 1;
M_.maximum_endo_lag = 1;
M_.maximum_endo_lead = 1;
oo_.steady_state = zeros(2, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 1;
oo_.exo_steady_state = zeros(1, 1);
M_.params = repmat(NaN,5, 1);
M_.params( 1 ) = 0;
alpha = M_.params( 1 );
M_.params( 2 ) = 0;
beta = M_.params( 2 );
M_.params( 3 ) = 0;
gamma = M_.params( 3 );
M_.params( 4 ) = 0;
delta = M_.params( 4 );
M_.params( 5 ) = 0;
aa = M_.params( 5 );
%
% SHOCKS instructions
%
make_ex_;
M_.exo_det_length = 0;
M_.Sigma_e(1, 1) = 0.01;
%
% INITVAL instructions
%
options_.initval_file = 0;
endval_=0;
oo_.steady_state( 1 ) = (1/M_.params(5)/M_.params(1)*(M_.params(2)+M_.params(4)))^(1/((-1)+M_.params(1)));
oo_.steady_state( 2 ) = M_.params(5)*oo_.steady_state(1)^M_.params(1)-M_.params(4)*oo_.steady_state(1);
oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];
if M_.exo_nbr > 0;
	oo_.exo_simul = [ones(M_.maximum_lag,1)*oo_.exo_steady_state'];
end;
if M_.exo_det_nbr > 0;
	oo_.exo_det_simul = [ones(M_.maximum_lag,1)*oo_.exo_det_steady_state'];
end;
save('hello_results.mat', 'oo_');
diary off
rmpath hello;

disp(['Total computing time : ' dynsec2hms(toc) ]);
