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

tic;
global M_ oo_ options_ ys0_ ex0_ estimation_info
options_ = [];
M_.fname = 'cgg_zlb';
%
% Some global variables initialization
%
global_initialization;
diary off;
M_.exo_names = 'eps_g';
M_.exo_names_tex = 'eps\_g';
M_.exo_names_long = 'eps_g';
M_.endo_names = 'g';
M_.endo_names_tex = 'g';
M_.endo_names_long = 'g';
M_.endo_names = char(M_.endo_names, 'r');
M_.endo_names_tex = char(M_.endo_names_tex, 'r');
M_.endo_names_long = char(M_.endo_names_long, 'r');
M_.endo_names = char(M_.endo_names, 'rnot');
M_.endo_names_tex = char(M_.endo_names_tex, 'rnot');
M_.endo_names_long = char(M_.endo_names_long, 'rnot');
M_.endo_names = char(M_.endo_names, 'p');
M_.endo_names_tex = char(M_.endo_names_tex, 'p');
M_.endo_names_long = char(M_.endo_names_long, 'p');
M_.endo_names = char(M_.endo_names, 'y');
M_.endo_names_tex = char(M_.endo_names_tex, 'y');
M_.endo_names_long = char(M_.endo_names_long, 'y');
M_.param_names = 'LAMBDA';
M_.param_names_tex = 'LAMBDA';
M_.param_names_long = 'LAMBDA';
M_.param_names = char(M_.param_names, 'BETA');
M_.param_names_tex = char(M_.param_names_tex, 'BETA');
M_.param_names_long = char(M_.param_names_long, 'BETA');
M_.param_names = char(M_.param_names, 'FIP');
M_.param_names_tex = char(M_.param_names_tex, 'FIP');
M_.param_names_long = char(M_.param_names_long, 'FIP');
M_.param_names = char(M_.param_names, 'SIGMAG');
M_.param_names_tex = char(M_.param_names_tex, 'SIGMAG');
M_.param_names_long = char(M_.param_names_long, 'SIGMAG');
M_.param_names = char(M_.param_names, 'FIY');
M_.param_names_tex = char(M_.param_names_tex, 'FIY');
M_.param_names_long = char(M_.param_names_long, 'FIY');
M_.param_names = char(M_.param_names, 'FIR');
M_.param_names_tex = char(M_.param_names_tex, 'FIR');
M_.param_names_long = char(M_.param_names_long, 'FIR');
M_.param_names = char(M_.param_names, 'PHI');
M_.param_names_tex = char(M_.param_names_tex, 'PHI');
M_.param_names_long = char(M_.param_names_long, 'PHI');
M_.param_names = char(M_.param_names, 'RHOG');
M_.param_names_tex = char(M_.param_names_tex, 'RHOG');
M_.param_names_long = char(M_.param_names_long, 'RHOG');
M_.exo_det_nbr = 0;
M_.exo_nbr = 1;
M_.endo_nbr = 5;
M_.param_nbr = 8;
M_.orig_endo_nbr = 5;
M_.aux_vars = [];
M_.Sigma_e = zeros(1, 1);
M_.Correlation_matrix = eye(1, 1);
M_.H = 0;
M_.Correlation_matrix_ME = 1;
options_.linear = 1;
options_.block=0;
options_.bytecode=0;
options_.use_dll=0;
erase_compiled_function('cgg_zlb_static');
erase_compiled_function('cgg_zlb_dynamic');
M_.lead_lag_incidence = [
 1 3 0;
 0 4 0;
 2 5 0;
 0 6 8;
 0 7 9;]';
M_.nstatic = 1;
M_.nfwrd   = 2;
M_.npred   = 2;
M_.nboth   = 0;
M_.nsfwrd   = 2;
M_.nspred   = 2;
M_.ndynamic   = 4;
M_.equations_tags = {
};
M_.static_and_dynamic_models_differ = 0;
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(5, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 0;
oo_.exo_steady_state = zeros(1, 1);
M_.params = NaN(8, 1);
M_.NNZDerivatives = zeros(3, 1);
M_.NNZDerivatives(1) = 16;
M_.NNZDerivatives(2) = 0;
M_.NNZDerivatives(3) = -1;
save('cgg_zlb_results.mat', 'oo_', 'M_', 'options_');
if exist('estim_params_', 'var') == 1
  save('cgg_zlb_results.mat', 'estim_params_', '-append');
end
if exist('bayestopt_', 'var') == 1
  save('cgg_zlb_results.mat', 'bayestopt_', '-append');
end
if exist('dataset_', 'var') == 1
  save('cgg_zlb_results.mat', 'dataset_', '-append');
end
if exist('estimation_info', 'var') == 1
  save('cgg_zlb_results.mat', 'estimation_info', '-append');
end


disp(['Total computing time : ' dynsec2hms(toc) ]);
if ~isempty(lastwarn)
  disp('Note: warning(s) encountered in MATLAB/Octave code')
end
