Residuals in tradable, and non-tradable good model

I am trying to write and simple model with tradable and non-tradable consumption and it appears my equation 2, 6 and 11 has residuals. I cannot figure out why.
Can anyone please help?

SOETNT.mod (3.9 KB)

Because your computed steady state is wrong. Take equation 2:
wnt = (hnt)^(omegant-1) ;

which is

0.1792\neq 0.1650^{1.4550-1}=0.4405

Dear Professor Pfeifer,

Thank you for showing my mistake. I have reworked and corrected several errors. But now I am stuck with one residual which does not seem to go away regardless of changes I make.
Any insight would be much appreciated.
SOETNTALT.mod (4.5 KB)

There must still be a mistake somewhere. As you have narrowed it down to one equation, check the inputs to that equation.