The mod file is about fiscal policy in the pandemic. I can’t find the steady state because equation 5 has residual 0.0003771, all other equations have 0 residual. I think I’ve manually calculated the correct steady state in the “steady state calculation” section and claimed in the initial value block, but I don’t know why the mod file still doesn’t work (so must be some mistakes here). I have uploaded the mod file. Can someone help me.

I did not take look into your file, but I have managed to solve a similar problem by changing the tolerance of the steady state computation, triggered by the resid() command. Use the following command after shock declaration: