Steady state has NaNs or Inf

new.mod (6.7 KB) Professor, this is the mod file I modified. The error is: steady state has NaNs or Inf.
Error stoch_simul (line 103)
print_info(info, options_.noprint, options_);
Error Untitled1.driver (line 529)
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list_);
Error dynare (line 293)
I don’t know what to do to get the result

Check your equations. In

i  =   i(-1)^rho_i*((1/betta)*infl^kappa_pi*(X/(epsilon/(epsilon-1)))^(kappa_y))^(1-rho_i)*e_i;

I think the e_i needs to be in exp().