Hi all,

When I run this code , I receive the following error message :

Warning: Divide by zero.

In chu1209_static at 41

In evaluate_steady_state>static_problem at 341

In dynare_solve at 67

In evaluate_steady_state at 223

In steady_ at 55

In steady at 81

In chu1209 at 247

In dynare at 235

Warning: Divide by zero.

In chu1209_static at 132

In evaluate_steady_state>static_problem at 341

In dynare_solve at 67

In evaluate_steady_state at 223

In steady_ at 55

In steady at 81

In chu1209 at 247

In dynare at 235

Warning: Divide by zero.

In chu1209_static at 133

In evaluate_steady_state>static_problem at 341

In dynare_solve at 67

In evaluate_steady_state at 223

In steady_ at 55

In steady at 81

In chu1209 at 247

In dynare at 235

Residuals of the static equations:

Equation number 1 : NaN

Equation number 2 : NaN

Equation number 3 : NaN

Equation number 4 : NaN

Equation number 5 : NaN

Equation number 6 : NaN

Equation number 7 : NaN

Equation number 8 : NaN

Equation number 9 : NaN

Equation number 10 : NaN

Equation number 11 : NaN

Equation number 12 : NaN

Equation number 13 : NaN

Equation number 14 : NaN

??? Error using ==> print_info at 90

The steady state contains NaN or Inf

Error in ==> steady at 104

print_info(info,options_.noprint, options_);

Error in ==> chu1209 at 247

steady;

Error in ==> dynare at 235

evalin(‘base’,fname) ;

I have no idea what I am doing wrong , so I hope someone can give me a hint, thank you in advance!

chu1209.mod (2.1 KB)