I am building a small open economy DSGE model for monetary and fiscal policy interactions. I have an NAN errors in my model which I can not solve even changing the parameters as the instructions tell me. Please, could you give me an advice how to solve this problem. I am attaching also the mod. file. After running you will see that there are errors in the 17-21 equations. Even changing the 18-21 equations to AR(1) processes, the problem occurs in the 17th. Thank you very much beforehand.
Paper2.mod (5.37 KB)