# The initial values for the steady state of the following variables are complex

dear all:
Can anyone help me? I have stuck on running my model with dynare. I have tried using either “steady_state_model” or “initval” block, It only stops and gives the following message :

DYNARE_SOLVE (solve_algo=2|4): number of blocks = 17
DYNARE_SOLVE (solve_algo=2|4): solving block 16, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 15, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 14, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 13, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 12, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 11, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 10, of size 24
DYNARE_SOLVE (solve_algo=2|4): number of blocks = 17
DYNARE_SOLVE (solve_algo=2|4): solving block 16, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 15, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 14, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 13, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 12, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 11, of size 1
DYNARE_SOLVE (solve_algo=2|4): solving block 10, of size 24
MODEL_DIAGNOSTICS: The steady state cannot be computed

resid: The initial values for the steady state of the following variables are complex:
ld
l
w
wstar
f
omega
F

Residuals of the static equations:

Equation number 1 : -0.48606 : 1
Equation number 2 : -0.27455 : lamda
Equation number 3 : 0 : 3
Equation number 4 : -0.13955 : k
Equation number 5 : -0.087082 : 5
Equation number 6 : 0.39539 : piwstar
Equation number 7 : -0.023075 : f
Equation number 8 : 0.042881 : 8
Equation number 9 : -0.11654 : 9
Equation number 10 : -0.0035128 : g1
Equation number 11 : -0.023088 : g2
Equation number 12 : -0.00011945 : 12
Equation number 13 : -0.023 : mc0
Equation number 14 : -0.054354 : mc
Equation number 15 : -0.074763 : 15
Equation number 16 : 0.3276 : w
Equation number 17 : 0.059569 : r
Equation number 18 : -0.00044553 : 18
Equation number 19 : -0.041958 : em
Equation number 20 : 0.24242 : cost
Equation number 21 : 0.10147 : ce
Equation number 22 : 0.041036 : y1
Equation number 23 : 0.092335 : y2
Equation number 24 : -0.95568 : omega
Equation number 25 : 0.035337 : Xat
Equation number 26 : 0.0068705 : Xup
Equation number 27 : 0.00040145 : Xlo
Equation number 28 : 0 : F
Equation number 29 : 3.3773 : Tat
Equation number 30 : 0 : Tlo
Equation number 31 : 0 : en
Equation number 32 : 0.13036 : y
Equation number 33 : 0.099743 : 33
Equation number 34 : -0.45685 : l
Equation number 35 : -0.11367 : vp
Equation number 36 : -0.15282 : vw
Equation number 37 : 0 : 37
Equation number 38 : 0 : 38
Equation number 39 : 0 : 39
Equation number 40 : 0 : 40
Equation number 41 : 0 : 41

``````I don’t understand the meaning of these errors and have no idea of what to do next. Does anyone give me a hand? Thank you in advance
``````

oceansink.mod (8.0 KB)
myfunction.m (120 Bytes)

The first thing is

many thanks,dear professor!!