The steady state has NaNs or Inf. Bayesian estimation

Hi Professor,

I am new to Dynare and I was trying to replicate an article. It is Bayesian estimation. When i run my code i got this problem:
dynare_estimation_init:: The steady state at the initial parameters cannot be computed.
错误使用 print_info
The steady state has NaNs or Inf.

出错 dynare_estimation_init (第 621 行)
print_info(info, 0, options_);

出错 dynare_estimation_1 (第 110 行)
dynare_estimation_init(var_list_, dname, , M_, options_, oo_, estim_params_, bayestopt_);

出错 dynare_estimation (第 118 行)
dynare_estimation_1(var_list,dname);

出错 dynare_source_code.driver (第 697 行)
oo_recursive_=dynare_estimation(var_list_);

出错 dynare (第 281 行)
evalin(‘base’,[fname ‘.driver’]);

My code is the following:
dynare_source_code.mod (7.8 KB)

Thank you so much in advance for any help!

Best regards,
Ryleigh

Please first make sure your simulated model runs. Is your model supposed to be linearized? If yes, all initial values should be 0 and no logs should appear.