%
% 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 = 'fv_zlb';
%
% Some global variables initialization
%
global_initialization;
diary off;
M_.exo_names = 'eps_a';
M_.exo_names_tex = 'eps\_a';
M_.exo_names_long = 'eps_a';
M_.exo_names = char(M_.exo_names, 'eps_u');
M_.exo_names_tex = char(M_.exo_names_tex, 'eps\_u');
M_.exo_names_long = char(M_.exo_names_long, 'eps_u');
M_.endo_names = 'at';
M_.endo_names_tex = 'at';
M_.endo_names_long = 'at';
M_.endo_names = char(M_.endo_names, 'c');
M_.endo_names_tex = char(M_.endo_names_tex, 'c');
M_.endo_names_long = char(M_.endo_names_long, 'c');
M_.endo_names = char(M_.endo_names, 'ics');
M_.endo_names_tex = char(M_.endo_names_tex, 'ics');
M_.endo_names_long = char(M_.endo_names_long, 'ics');
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, 'ps');
M_.endo_names_tex = char(M_.endo_names_tex, 'ps');
M_.endo_names_long = char(M_.endo_names_long, 'ps');
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, 'ut');
M_.endo_names_tex = char(M_.endo_names_tex, 'ut');
M_.endo_names_long = char(M_.endo_names_long, 'ut');
M_.endo_names = char(M_.endo_names, 'v');
M_.endo_names_tex = char(M_.endo_names_tex, 'v');
M_.endo_names_long = char(M_.endo_names_long, 'v');
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 = 'BETA';
M_.param_names_tex = 'BETA';
M_.param_names_long = 'BETA';
M_.param_names = char(M_.param_names, 'TETA');
M_.param_names_tex = char(M_.param_names_tex, 'TETA');
M_.param_names_long = char(M_.param_names_long, 'TETA');
M_.param_names = char(M_.param_names, 'GYSS');
M_.param_names_tex = char(M_.param_names_tex, 'GYSS');
M_.param_names_long = char(M_.param_names_long, 'GYSS');
M_.param_names = char(M_.param_names, 'EPSILON');
M_.param_names_tex = char(M_.param_names_tex, 'EPSILON');
M_.param_names_long = char(M_.param_names_long, 'EPSILON');
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, 'TAYLOR_P');
M_.param_names_tex = char(M_.param_names_tex, 'TAYLOR\_P');
M_.param_names_long = char(M_.param_names_long, 'TAYLOR_P');
M_.param_names = char(M_.param_names, 'TAYLOR_Y');
M_.param_names_tex = char(M_.param_names_tex, 'TAYLOR\_Y');
M_.param_names_long = char(M_.param_names_long, 'TAYLOR_Y');
M_.param_names = char(M_.param_names, 'TAYLOR_R');
M_.param_names_tex = char(M_.param_names_tex, 'TAYLOR\_R');
M_.param_names_long = char(M_.param_names_long, 'TAYLOR_R');
M_.param_names = char(M_.param_names, 'INFSS');
M_.param_names_tex = char(M_.param_names_tex, 'INFSS');
M_.param_names_long = char(M_.param_names_long, 'INFSS');
M_.param_names = char(M_.param_names, 'RZLB');
M_.param_names_tex = char(M_.param_names_tex, 'RZLB');
M_.param_names_long = char(M_.param_names_long, 'RZLB');
M_.param_names = char(M_.param_names, 'RHO_A');
M_.param_names_tex = char(M_.param_names_tex, 'RHO\_A');
M_.param_names_long = char(M_.param_names_long, 'RHO_A');
M_.param_names = char(M_.param_names, 'RHO_U');
M_.param_names_tex = char(M_.param_names_tex, 'RHO\_U');
M_.param_names_long = char(M_.param_names_long, 'RHO_U');
M_.exo_det_nbr = 0;
M_.exo_nbr = 2;
M_.endo_nbr = 9;
M_.param_nbr = 12;
M_.orig_endo_nbr = 9;
M_.aux_vars = [];
M_.Sigma_e = zeros(2, 2);
M_.Correlation_matrix = eye(2, 2);
M_.H = 0;
M_.Correlation_matrix_ME = 1;
options_.block=0;
options_.bytecode=0;
options_.use_dll=0;
erase_compiled_function('fv_zlb_static');
erase_compiled_function('fv_zlb_dynamic');
M_.lead_lag_incidence = [
 1 4 0;
 0 5 13;
 0 6 14;
 0 7 15;
 0 8 16;
 0 9 0;
 2 10 0;
 3 11 0;
 0 12 0;]';
M_.nstatic = 2;
M_.nfwrd   = 4;
M_.npred   = 3;
M_.nboth   = 0;
M_.nsfwrd   = 4;
M_.nspred   = 3;
M_.ndynamic   = 7;
M_.equations_tags = {
};
M_.static_and_dynamic_models_differ = 0;
M_.exo_names_orig_ord = [1:2];
M_.maximum_lag = 1;
M_.maximum_lead = 1;
M_.maximum_endo_lag = 1;
M_.maximum_endo_lead = 1;
oo_.steady_state = zeros(9, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 0;
oo_.exo_steady_state = zeros(2, 1);
M_.params = NaN(12, 1);
M_.NNZDerivatives = zeros(3, 1);
M_.NNZDerivatives(1) = 35;
M_.NNZDerivatives(2) = 61;
M_.NNZDerivatives(3) = -1;
save('fv_zlb_results.mat', 'oo_', 'M_', 'options_');
if exist('estim_params_', 'var') == 1
  save('fv_zlb_results.mat', 'estim_params_', '-append');
end
if exist('bayestopt_', 'var') == 1
  save('fv_zlb_results.mat', 'bayestopt_', '-append');
end
if exist('dataset_', 'var') == 1
  save('fv_zlb_results.mat', 'dataset_', '-append');
end
if exist('estimation_info', 'var') == 1
  save('fv_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
