I’m having a bit of an issue with a deterministic simulation. I can solve for the initial and end values just fine, but the simulation keeps giving me vectors of NaN and telling me that some matrix is nearly singular. I can’t for the life of me figure out why I’m having this issue.
I have attached the .mod file, but it won’t let me attach the .mat file that I call on to set the parameter, initial, and end values. I would be willing to email said file to anyone who is willing to help me. I apologize for the inconvenience as this setup was an attempt to make the results more flexible to robustness checks.
AK_Dynare.mod (4.12 KB)