Steady State Solved, but System has a Unit Root

Dear Professor,

May I request identifying which equation has caused a unit root in my model and why. My steady state was calculated numerically using fsolve.

Please find atfached a .mod file:

Kind Regards,
Henry

UC.mod (3.9 KB)

The first immediate issue is:

MODEL_DIAGNOSTICS: The following endogenous variables aren’t present at the current period in the model:
K

Dear Professor,

I have since updated my code to amend this.

Do you know which equation is likely causing the unit root error?

UC.mod (3.9 KB)

Kind Regards,
Henry

I don’t know, but my hunch is something along the lines of