Hi,
I am running into problems when using the ramsey policy code in the context of my model.
If I solve the model without the ramsey policy, I have no problems finding the steady state. When I instead implement the ramsey policy code I get the following:
Error using print_info (line 42)
Blanchard Kahn conditions are not satisfied: no stable equilibrium
Error in stoch_simul (line 98)
print_info(...)
Error in ransey_policy (line 25)
info = stoch_simul(var_list);
..........................
Here is the procedure:
1) Plug in a guess for R in the initval block
initval;
R = Rguess;
end;
2) In the steady_state_model block I define
R = Rguess use an external function that finds the steady state of c given R and the parameters. Note: R and not Rguess
c = find_SS(R, paramset)
3) Given c, I define the remaining ss variables recursively.
If I use stoch_simul dynare is able to find the steady state. However, as soon as I implement the ramsey policy command lines I run into trouble.
It would be great if someone could help me with this! I was not able to find a solution in the Forum.
Many thanks in advance,
Angela