Error "The steady state has NaNs or Inf."

Dear all,

My mod file fails to run with the error message: “The steady state has NaNs or Inf.”
When I look at the equation residuals, none of the residuals are 0.
I checked the initial values and can’t find where the problem comes from.

Thanks for your help!

Code.mod (6.3 KB)

Put resid before steady. You will see the problematic equations. For example, you did not initialize bigZt, but you divide by it.