The residual is not zero

Hi,professor! There is a probelm in finding steady state. I can’t find out what’s wrong? Could you help me to see what the cause of the errow was? It is the setting of the parameters or the equation itself that is the problem. Thank you !
dsge.mod (6.0 KB)
Untitled.m (2.2 KB)

Check your computations. You have e.g.

ZGs =  4.3520e+151

Professor, thank you for your guidance. I’ve recalculated the model, but I’ve run into a new problem. First, the residual of equation two is not 0, but I think there is no problem with my calculation. Second, there is Inf, I have checked that the denominators in the expression have been given initial values, so I would like to ask you where the problem is
dsge.mod (6.0 KB)
Untitled.m (1.8 KB)

Check your initial value computations. dcs for example is complex.