Help: error message

Dear all,
I use dynare recently and I have a problem with the simulation. After each simulation, the results displayed are:
STEADY: numerical initial values incompatible with the following equations
5 38

??? Error using ==> dynare_solve
exiting …

Error in ==> resol at 93
[dr.ys,check1] = dynare_solve(fh,dr.ys,options_.jacobian_flag,…

Error in ==> stoch_simul at 42
[oo_.dr, info] = resol(oo_.steady_state,0);

Error in ==> essai at 478
info = stoch_simul(var_list_);

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

what is the solution in this case.
thank you in advance for your help.
Best regard
moh

Hi,

the steady-state calculation might be wrong, maybe due to bad initial values (in case your model is non linear)… Try to add the following instruction before the simulation one “resid(1); steady;” it’ll show you which equations fail to hold.

Best

Thank you very much for your reply.
Best
Moh