Dynare Ramsey policy

Has anyone succeeded in calculating the optimal policy in a non-linear New Keynesian model with capital using the ‘Ramsey’ command in Dynare?

I haven’t been able to do so myself. I keep getting errors related to the steady state of the model, although the model works fine with a Taylor rule. I would appreciate a working example.

Thanks
Engin

I am not aware of such a file. But did you try to start with a model without capital first and make sure it works?

Thank you Johannes. Your suggestion is helpful…I’ll probably have to calculate FOCs by hand and use the shock_simul command.

I am not sure why that would be helpful at all. You would run into exactly the same issues.

The file works now - - it was a simple mistake. Thank you for your patience and continued help.