dear all:
i have a problem about how to calculate the steady state of equation set.there are two equations of Tat_ss and Tlo_ss,but the steady state can’t calculate directly,so i write a function to do it.there are the results of it.how can i do next?many thanks!
dynare fangyeoceansink.mod
Using 64-bit preprocessor
Starting Dynare (version 4.6.4).
Calling Dynare with arguments: none
Starting preprocessing of the model file …
Found 38 equation(s).
Evaluating expressions…done
Computing static model derivatives (order 1).
Computing dynamic model derivatives (order 1).
Processing outputs …
done
Preprocessing completed.
数组索引必须为正整数或逻辑值。
出错 wei (第 2 行)
Tat_ss=Tat_ss(-1)+0.048*(2-1.37Tat_ss(-1)-0.44(Tat_ss(-1)-Tlo_ss(-1)));
出错 fsolve (第 260 行)
fuser = feval(funfcn{3},x,varargin{:});
出错 fangyeoceansink.driver (第 768 行)
M_.params(82) = fsolve(fun,x0);
出错 dynare (第 293 行)
evalin(‘base’,[fname ‘.driver’]) ;
原因:
Failure in initial objective function evaluation. FSOLVE cannot continue.
fangyeoceansink.mod (9.5 KB)
wei.m (181 Bytes)