I would recommend getting rid of the exp()-substitution. It makes steady state debugging too hard. My guess is that there is a problem related to incomplete substitution.
You may instead want to add auxiliary variables for the objects that interest you. See e.g.
/*
* This file presents a baseline RBC model with TFP and government spending shocks, calibrated to US data from
* 1947Q4:2016Q1. The model setup is described in Handout_RBC_model.pdf and resembles the one in King/Rebelo (1999):
* Resuscitating Real Business Cycles, Handbook of Macroeconomics, Volume 1 and
* Romer (2012), Advanced macroeconomics, 4th edition
* The driving processes are estimated as AR(1)-processes on linearly detrended data.
*
* This implementation was written by Johannes Pfeifer. In case you spot mistakes,
* email me at jpfeifer@gmx.de
*
* Please note that the following copyright notice only applies to this Dynare
* implementation of the model.
*/
/*
* Copyright (C) 2016 Johannes Pfeifer
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
This file has been truncated. show original
1 Like