i want to code this model (that have i as an endoge. variable)

I code this but it takes error can you help me?

my error:

Randomize initial guess…

Residuals of the static equations:

Equation number 1 : NaN : 1

Equation number 2 : NaN : m

Equation number 3 : NaN : 3

Equation number 4 : NaN : mc

Equation number 5 : NaN : c

Equation number 6 : NaN : y

Equation number 7 : NaN : vp

Equation number 8 : NaN : 8

Equation number 9 : NaN : x1

Equation number 10 : NaN : x2

Equation number 11 : NaN : 11

Equation number 12 : NaN : 12

Equation number 13 : NaN : i

error: The steady state has NaNs or Inf.

error: called from

print_info at line 32 column 5

steady at line 102 column 5

driver at line 278 column 1

dynare at line 293 column 1

final1.mod (1.2 KB)