Steady state about equation sets

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)

Please clearly outline the two equations of the system you are trying to solve. Use the forum’s \LaTeX-capabilities for that, i.e. enclose the code in Dollar signs. The equation you have in the Matlab function

         Tat_ss=Tat_ss(-1)+0.048*(2-1.37*Tat_ss(-1)-0.44*(Tat_ss(-1)-Tlo_ss(-1)));
         Tlo_ss=Tlo_ss(-1)+0.002*(Tat_ss(-1)-Tlo_ss(-1));

is still a dynamic equation that cannot be solved. Also, these are two linear equations in two unknowns. Why can’t you solve them by hand?

thank you,dear professor. so how can i do by hand?

If you did not learn how to solve systems of linear equations in school, I am afraid I cannot help you. You may want to Google it.

1 Like