What are the ways to solve zero all the Residual of the ststic equations?
My model gives this error: Residual of the ststic equations NaN
I have a numeric value for all parameters and steady state variables, but it also gives this error.
And When I change the numerical value of a parameter, only the remainder of a number of equations becomes zero.
After fixing this problem, it is very likely that Blanchard-kan condition error, which I really paid attention to the timing of the predefined variables. I have also tried different versions of the model but the problem still persists.
I’ve attached the code.
Can anyone fix my mistakes?MBG.txt (11.0 KB)