Model doesn't work . Can't understand error message

Hi all,
When I run this code , I receive the following error message :

Warning: Divide by zero.

In chu1209_static at 41
In evaluate_steady_state>static_problem at 341
In dynare_solve at 67
In evaluate_steady_state at 223
In steady_ at 55
In steady at 81
In chu1209 at 247
In dynare at 235
Warning: Divide by zero.
In chu1209_static at 132
In evaluate_steady_state>static_problem at 341
In dynare_solve at 67
In evaluate_steady_state at 223
In steady_ at 55
In steady at 81
In chu1209 at 247
In dynare at 235
Warning: Divide by zero.
In chu1209_static at 133
In evaluate_steady_state>static_problem at 341
In dynare_solve at 67
In evaluate_steady_state at 223
In steady_ at 55
In steady at 81
In chu1209 at 247
In dynare at 235

Residuals of the static equations:

Equation number 1 : NaN
Equation number 2 : NaN
Equation number 3 : NaN
Equation number 4 : NaN
Equation number 5 : NaN
Equation number 6 : NaN
Equation number 7 : NaN
Equation number 8 : NaN
Equation number 9 : NaN
Equation number 10 : NaN
Equation number 11 : NaN
Equation number 12 : NaN
Equation number 13 : NaN
Equation number 14 : NaN

??? Error using ==> print_info at 90
The steady state contains NaN or Inf

Error in ==> steady at 104
print_info(info,options_.noprint, options_);

Error in ==> chu1209 at 247
steady;

Error in ==> dynare at 235
evalin(‘base’,fname) ;

I have no idea what I am doing wrong , so I hope someone can give me a hint, thank you in advance!
chu1209.mod (2.1 KB)

Your A must be in exp(). It is mean 0, so

Y                 = A*K^alpha*L^(1-alpha);

cannot work.

Sorry, I am not exactly understand, do you mean I need to creat another equation to let the A in exp() ?
like Y = exp(A)K^alphaL^(1-alpha) ?

Thank you for helping!!!

For example, the production function needs to be

Y                 = exp(A)*K^alpha*L^(1-alpha);

I have tried before but the error message is the same :cry:
chu1209.mod (2.1 KB)

The comment applies to ALL occurrences of A. You only fixed the production function.

Sorry , now I fixed all the A except the initval and check twice ,but it still doesn’t work
chu1209.mod (2.2 KB)

Your initial values cannot be sequentially executed. See Debugging parameter initializations and steady_state_model-blocks - YouTube

Thank you!
I refer to the other model , and its initial values also cannot sequentially ececuted. But why it can work .
dsge.mod (2.1 KB)

If something is not defined, it will be set to 0. If no division by 0 happens, that may not cause problems. But that will not work in every model.