Page 1 of 1

steady state external file

PostPosted: Thu Feb 11, 2016 2:33 pm
by ogol77
Dear all,

again I ask for your help - and am grateful for it!

I have a mod file with the model, external steady state file (like NK model file in examples), and I have to use the fsolve (for 3 equations). When I run the model, I get the following error messages - and I do not have any idea what to do about it (or what they mean). Help!! Please :-o

Error using eval
Undefined function or variable 'a'.

Error in FO_OE_ss_steadystate (line 76)
eval(['ys(' int2str(ii) ') = ' varname ';']);

Error in evaluate_steady_state_file (line 49)
[ys,check] = h_steadystate(ys_init, exo_ss);

Error in evaluate_steady_state (line 58)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, ...

Error in steady_ (line 54)
[steady_state,params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);

Error in steady (line 81)
[steady_state,M_.params,info] = steady_(M_,options_,oo_);

Error in FO_OE_ss (line 239)
steady;

Error in dynare (line 180)
evalin('base',fname) ;

Re: steady state external file

PostPosted: Sat Feb 20, 2016 11:07 am
by jpfeifer
You did not provide the mod-file. But judging from the error message, you did not assign a value to all variables in the steady state file. There seems to be a variable called a that is not set.

Re: steady state external file

PostPosted: Mon Feb 22, 2016 12:43 pm
by ogol77
Oh, that was stupid of me, sorry! Prof. Pfeifer, could you be so kind to take a look at the attached mod and steady_state file? I have tried to implement the steady_state structure as in the examples, and I have derived the analytical solution - but it still does not seem to help. Would you be so kind to point me my mistake?