Steady State problem

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.

Steady State problem

Postby dkoursa » Thu Mar 23, 2017 12:01 pm

I have a problem with the steady state as I get: "Impossible to find the steady state. Either the model doesn't have a steady state, there are an infinity of steady states, or the guess values are too far from the solution."
The steady state file I have produces the steady state values. If I use those values in each equation of the .mod file then each equation is satisfied and yet I get the above error message. Any insights?

Thank you

D
Attachments
ineq.rar
Run the ineqSSnoCnoB and then run the mod file
(4.45 KiB) Downloaded 50 times
dkoursa
 
Posts: 5
Joined: Mon Feb 13, 2017 9:01 am

Re: Steady State problem

Postby jpfeifer » Thu Mar 23, 2017 6:46 pm

When you put
Code: Select all
resid;

before steady, you will see that you steady state computation is inconsistent with the equations you entered as
Residuals of the static equations:
Equation number 23 : -0.805
Equation number 46 : -0.0161

These two equations are problematic. Check them and the associated steady state computation
------------
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: Steady State problem

Postby dkoursa » Fri Mar 24, 2017 7:20 am

Thank you for your response. The equations were actually satisfied. I just forgot to initialize B and it seems the program used the value zero automatically. Thank you again
dkoursa
 
Posts: 5
Joined: Mon Feb 13, 2017 9:01 am

Re: Steady State problem

Postby jpfeifer » Fri Mar 24, 2017 8:04 am

Yes, as documented in the manual, all initial values not explicitly set at assumed to be 0. You can change this default behavior by using the
Code: Select all
all_values_required
option of initval. Is there any reason you don't use a steady_state-file or steady_state_model-block if you have an analytical steady state?
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests