The steadystate file did not compute the steady state

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

The steadystate file did not compute the steady state

Postby asha1 » Fri Feb 27, 2015 3:36 pm

Dear colleagues,

I receive this error "The steadystate file did not compute the steady state" when I run dynare, but all my Residuals of the static equations are 0.
Does anybody have a clue of the origin of the error I get? I uploaded the code. The main file is dyn_main.mod.

Thank you so much for your help.
Attachments
asha1.zip
(16.69 KiB) Downloaded 50 times
Last edited by asha1 on Thu Mar 05, 2015 10:36 am, edited 2 times in total.
asha1
 
Posts: 6
Joined: Fri Feb 27, 2015 3:22 pm

Re: The steadystate file did not compute the steady state

Postby jpfeifer » Sat Feb 28, 2015 4:55 pm

Please provide the full codes.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: The steadystate file did not compute the steady state

Postby asha1 » Tue Mar 03, 2015 10:07 am

Jpfeifer, I have just updated my question with the full code.

Thank you so much.
asha1
 
Posts: 6
Joined: Fri Feb 27, 2015 3:22 pm

Re: The steadystate file did not compute the steady state

Postby jpfeifer » Wed Mar 04, 2015 12:50 pm

You still did not provide a running code. There are several functions missing like e.g. sseqs and the external functions
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: The steadystate file did not compute the steady state

Postby asha1 » Thu Mar 05, 2015 10:37 am

... Please, find the zip file with the full code. I tried and I think I did not forget any file this time... Thank you and sorry.
asha1
 
Posts: 6
Joined: Fri Feb 27, 2015 3:22 pm

Re: The steadystate file did not compute the steady state

Postby jpfeifer » Sun Mar 08, 2015 8:35 am

The reason is that your function
Code: Select all
pss(co)

tries to access oo_.steady_state before it has been set by Dynare. In contrast, the computation of residuals happens after oo_.steady_state has been updated. You need to get rid of this circular definition.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: The steadystate file did not compute the steady state

Postby asha1 » Fri Mar 27, 2015 12:03 pm

Dear JPFeifer,
Thank you for all your help... I did not reply before because I am still trying to solve the problem you managed to find in my code.
asha1
 
Posts: 6
Joined: Fri Feb 27, 2015 3:22 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests