Hi all,
I am trying to solve for Ramsey optimal policy in a simplified version of Gerali et al. (2010) model, but when I run it I get the following two warnings:
Warning: Rank deficient, rank = 32, tol =  3.306251e-14. 
> In dyn_ramsey_static>dyn_ramsey_static_1 at 152
  In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) at 40
  In dynare_solve at 64
  In dyn_ramsey_static at 66
  In evaluate_steady_state at 55
  In resol at 104
  In stoch_simul at 88
  In ramsey_policy at 25
  In MyModel2 at 918
  In dynare at 180 
STEADY:  numerical initial values or parameters incompatible with the following equations
     1     5    47    48
Please check for example
   i) if all parameters occurring in these equations are defined
  ii) that no division by an endogenous variable initialized to 0 occurs
Warning: Rank deficient, rank = 0, tol = NaN. 
> In dyn_ramsey_static>dyn_ramsey_static_1 at 152
  In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) at 40
  In dyn_ramsey_static at 67
  In evaluate_steady_state at 55
  In resol at 104
  In stoch_simul at 88
  In ramsey_policy at 25
  In MyModel2 at 918
  In dynare at 180 
Error using print_info (line 80)
The steady state contains NaN or Inf
Error in stoch_simul (line 98)
    print_info(info, options_.noprint, options_);
Error in ramsey_policy (line 25)
info = stoch_simul(var_list);
Error in MyModel2 (line 918)
ramsey_policy(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
I can't figure out what is wrong with equations 1, 5, 47 and 48 and can't really make sense out of the second warning. 
Could anyone give me some meaningful input and help me understand what is going wrong? 
I have added my .mod file which includes the initial values for the steady state. 
Your help will be highly appreciated! 
Kind regards,
Nick
			
				

