Hi Chan, Why do you initialize the endogenous variables with complex numbers? This is meaningless. You must initialize the endogenous variables with
real variables. If this is the output obtained from IRIS, there must be a bug in this soft which should have warned you that he was unnable to find a (real) steady state. I tried to run the file by removing sqrt(-1) terms, but Dynare complains that he is unnable to find the steady state. Dynare (as IRIS I guess) uses a newton like algorithm to find the steady state. If the initial conditions (declared in the initval block) are too far from the steady state, this algorithm will often fail in finding the steady state.
The best practice is to solve for the steady state analytically and to provide this steady state (as a function of the deep parameters) to Dynare (you will find examples on the forum). If you cannot have the analytical solution, you will have to play with the initial conditions
or you may also give a chance to homotopic methods (described
here on
www.dynare.org/DynareWiki).
Best, Stéphane.