# Steady state

**URL:** https://forum.dynare.org/c/steady-state/21.md?page=1

[Latest](https://forum.dynare.org/latest.md) · [Categories](https://forum.dynare.org/categories.md)

**Page:** 2

---

## [Dynare\_estimation\_init:: The steady state at the initial parameters cannot be computed. Error using print\_info The steady state has NaNs or Inf BUT model\_diagnostics is ok](https://forum.dynare.org/t/dynare-estimation-init-the-steady-state-at-the-initial-parameters-cannot-be-computed-error-using-print-info-the-steady-state-has-nans-or-inf-but-model-diagnostics-is-ok/27767)

<div class="topic-metadata">

**Author:** [@jsantana](https://forum.dynare.org/u/jsantana)\
**Replies:** 2\
**Last updated:** [11 July 2025 13:04 UTC](https://forum.dynare.org/t/dynare-estimation-init-the-steady-state-at-the-initial-parameters-cannot-be-computed-error-using-print-info-the-steady-state-has-nans-or-inf-but-model-diagnostics-is-ok/27767 "2025-07-11T13:04:42Z")

</div>

Hi Prof. Pfeifer, i’m running a dsge-var(1) model, but 'm getting the following error: dynare\_estimation\_init:: The steady state at the initial parameters cannot be computed. Error using print\_info The steady state ha…

---

## [Dynare not recovering external steady state file results](https://forum.dynare.org/t/dynare-not-recovering-external-steady-state-file-results/27757)

<div class="topic-metadata">

**Author:** [@asha1](https://forum.dynare.org/u/asha1)\
**Replies:** 1\
**Last updated:** [4 July 2025 10:50 UTC](https://forum.dynare.org/t/dynare-not-recovering-external-steady-state-file-results/27757 "2025-07-04T10:50:43Z")

</div>

Dear all, I have an OLG model with population growth. The mod file calls an external m-file with the steady state equations. After adding some debugging commands I discovered fsolve actually finds the steady state. Howev…

---

## [Can the function following steady\_state\_model in the mod file be a nonlinear system of equations?](https://forum.dynare.org/t/can-the-function-following-steady-state-model-in-the-mod-file-be-a-nonlinear-system-of-equations/27745)

<div class="topic-metadata">

**Author:** [@zhanglei](https://forum.dynare.org/u/zhanglei)\
**Replies:** 1\
**Last updated:** [30 June 2025 07:09 UTC](https://forum.dynare.org/t/can-the-function-following-steady-state-model-in-the-mod-file-be-a-nonlinear-system-of-equations/27745 "2025-06-30T07:09:07Z")

</div>

Can the function following steady\_state\_model in the mod file be a nonlinear system of equations? In many examples, a steady state is calculated using an equation for a variable. If the equation is very complex and mult…

---

## [Steady state of a MXN model (SG&U) variant](https://forum.dynare.org/t/steady-state-of-a-mxn-model-sg-u-variant/27709)

<div class="topic-metadata">

**Author:** [@undiv](https://forum.dynare.org/u/undiv)\
**Replies:** 2\
**Last updated:** [18 June 2025 19:49 UTC](https://forum.dynare.org/t/steady-state-of-a-mxn-model-sg-u-variant/27709 "2025-06-18T19:49:50Z")

</div>

Hello. I built a model similar to Uribe & Schmitt-Grohé’s MXN, developed in chapter 8 of their open economy macro textbook. What I did was “subdivide” the exports sector into “booming” and “lagging” export variants. Thes…

---

## [Steady states with Taylor Rule and Euler Equation](https://forum.dynare.org/t/steady-states-with-taylor-rule-and-euler-equation/27687)

<div class="topic-metadata">

**Author:** [@magunolia](https://forum.dynare.org/u/magunolia)\
**Replies:** 1\
**Last updated:** [9 June 2025 18:10 UTC](https://forum.dynare.org/t/steady-states-with-taylor-rule-and-euler-equation/27687 "2025-06-09T18:10:29Z")

</div>

Sorry for asking a beginner’s question. When solving for the steady state, the Euler equation generally implies the steady-state relationship R = 1/beta. However, the conventionally specified Taylor rule has a steady-sta…

---

## [It is not possible to adjust the initial guess to ensure that the parameters in the steady state operating range reach an appropriate numerical range](https://forum.dynare.org/t/it-is-not-possible-to-adjust-the-initial-guess-to-ensure-that-the-parameters-in-the-steady-state-operating-range-reach-an-appropriate-numerical-range/27672)

<div class="topic-metadata">

**Author:** [@kaiyue\_zhao](https://forum.dynare.org/u/kaiyue_zhao)\
**Replies:** 5\
**Last updated:** [2 June 2025 12:53 UTC](https://forum.dynare.org/t/it-is-not-possible-to-adjust-the-initial-guess-to-ensure-that-the-parameters-in-the-steady-state-operating-range-reach-an-appropriate-numerical-range/27672 "2025-06-02T12:53:45Z")

</div>

Hello, I have tried many times when guessing the initial value, and the model calculation process has been checked and no errors have been found, but it still can’t make the values of some variables in the workspace reac…

---

## [Problem finding Steady State using fsolve](https://forum.dynare.org/t/problem-finding-steady-state-using-fsolve/27668)

<div class="topic-metadata">

**Author:** [@JonaSh](https://forum.dynare.org/u/JonaSh)\
**Replies:** 1\
**Last updated:** [2 June 2025 10:29 UTC](https://forum.dynare.org/t/problem-finding-steady-state-using-fsolve/27668 "2025-06-02T10:29:58Z")

</div>

Dear all, I am currently trying to replicate the DSGE model in “A Macroeconomic Model of Central Bank Digital Currency” from Pascal Paul, Mauricio Ulate and Jing Cynthia Wu. I am a beginner to dynare and this is the ver…

---

## [Steady state parametrization](https://forum.dynare.org/t/steady-state-parametrization/27653)

<div class="topic-metadata">

**Author:** [@golfo](https://forum.dynare.org/u/golfo)\
**Replies:** 3\
**Last updated:** [2 June 2025 07:09 UTC](https://forum.dynare.org/t/steady-state-parametrization/27653 "2025-06-02T07:09:00Z")

</div>

Dear all, my model runs and can simulate shocks but the steady state values seem off and a government spending shock makes consumption negative. I do not believe that this is right but cannot find the issue. Thankful f…

---

## [Too many input arguments. (Dynare old version)](https://forum.dynare.org/t/too-many-input-arguments-dynare-old-version/27608)

<div class="topic-metadata">

**Author:** [@handaeun05](https://forum.dynare.org/u/handaeun05)\
**Replies:** 2\
**Last updated:** [21 May 2025 12:05 UTC](https://forum.dynare.org/t/too-many-input-arguments-dynare-old-version/27608 "2025-05-21T12:05:45Z")

</div>

Hello, I am trying to run the RBC model code from Dynamic Macroeconomics: Growth and Fluctuations by Jongwha Lee and Jinill Kim. The code was originally written for Dynare 4.5.7, but I am currently using Dynare 5.5. When…

---

## [Residuals of the static equations are not zero](https://forum.dynare.org/t/residuals-of-the-static-equations-are-not-zero/27541)

<div class="topic-metadata">

**Author:** [@leizhao](https://forum.dynare.org/u/leizhao)\
**Replies:** 4\
**Last updated:** [18 May 2025 07:23 UTC](https://forum.dynare.org/t/residuals-of-the-static-equations-are-not-zero/27541 "2025-05-18T07:23:14Z")

</div>

(exp(pi))^(1-epsilon) = (1-theta) \* (exp(pistar))^(1-epsilon) + theta; this is the number 17 equation and dynare reports Equation number 17 : 2.418016042065542e+23, but we set up the initial value of pi = log(1), pista…

---

## [I have 70 variables and 70 equations, but it says that there are 69 equations and 56 feedback variables](https://forum.dynare.org/t/i-have-70-variables-and-70-equations-but-it-says-that-there-are-69-equations-and-56-feedback-variables/27323)

<div class="topic-metadata">

**Author:** [@SUNX28](https://forum.dynare.org/u/SUNX28)\
**Replies:** 3\
**Last updated:** [13 May 2025 05:56 UTC](https://forum.dynare.org/t/i-have-70-variables-and-70-equations-but-it-says-that-there-are-69-equations-and-56-feedback-variables/27323 "2025-05-13T05:56:55Z")

</div>

ec5991.mod (6.4 KB) Can someone see my code and tell me what is wrong? I have 70 variables and 70 equations but it tells me that there are 56 variables and 69 equations. what is wrong?

---

## [Distinguishing Stable vs. Unstable Steady States in a Non-Linear DSGE Model](https://forum.dynare.org/t/distinguishing-stable-vs-unstable-steady-states-in-a-non-linear-dsge-model/27508)

<div class="topic-metadata">

**Author:** [@mjamour](https://forum.dynare.org/u/mjamour)\
**Replies:** 7\
**Last updated:** [9 May 2025 07:00 UTC](https://forum.dynare.org/t/distinguishing-stable-vs-unstable-steady-states-in-a-non-linear-dsge-model/27508 "2025-05-09T07:00:17Z")

</div>

Hi, I’m working with a non-linear DSGE model that has two steady states. Depending on the initial values, the steady-state outcome changes. I need to differentiate between stable and unstable steady states for different…

---

## [BGP in non stationary RBC](https://forum.dynare.org/t/bgp-in-non-stationary-rbc/27540)

<div class="topic-metadata">

**Author:** [@Random.t](https://forum.dynare.org/u/Random.t)\
**Replies:** 6\
**Last updated:** [8 May 2025 14:24 UTC](https://forum.dynare.org/t/bgp-in-non-stationary-rbc/27540 "2025-05-08T14:24:14Z")

</div>

Hello everyone, I am trying to obtain the steady state of a non-stationary RBC model displaying BGP (only the TFP grows in the model). In your useful code on the non-stationary Solow model, you Professor @jpfeifer obtai…

---

## [Small Open Economy TANK ](https://forum.dynare.org/t/small-open-economy-tank/27535)

<div class="topic-metadata">

**Author:** [@jorgefernandez](https://forum.dynare.org/u/jorgefernandez)\
**Replies:** 1\
**Last updated:** [5 May 2025 14:23 UTC](https://forum.dynare.org/t/small-open-economy-tank/27535 "2025-05-05T14:23:30Z")

</div>

Hi everyone. I am working on a SOE-TANK model based on two different models available in Nispi Landi’s website (Valerio Nispi Landi Webpage - DSGEs): a SOE-RANK and a closed economy TANK. Here, I assume GHH preferences a…

---

## [My model has no steady state. May I ask where the problem lies](https://forum.dynare.org/t/my-model-has-no-steady-state-may-i-ask-where-the-problem-lies/27515)

<div class="topic-metadata">

**Author:** [@wh\_shnu](https://forum.dynare.org/u/wh_shnu)\
**Replies:** 3\
**Last updated:** [29 April 2025 16:39 UTC](https://forum.dynare.org/t/my-model-has-no-steady-state-may-i-ask-where-the-problem-lies/27515 "2025-04-29T16:39:50Z")

</div>

help please Uploading: dsge4.mod… Starting Dynare (version 6.2). Calling Dynare with arguments: noclearall Starting preprocessing of the model file ... Substitution of endo lags \>= 2: added 3 auxiliary variables and e…

---

## [Rbc capital utilization model:error](https://forum.dynare.org/t/rbc-capital-utilization-model-error/27478)

<div class="topic-metadata">

**Author:** [@ohhosana](https://forum.dynare.org/u/ohhosana)\
**Replies:** 1\
**Last updated:** [29 April 2025 12:26 UTC](https://forum.dynare.org/t/rbc-capital-utilization-model-error/27478 "2025-04-29T12:26:30Z")

</div>

I was asked to find the steady-state of a RBC model with variable capital utilization.the utility function is given by ln Ct + theta\*ln(1-Nt). Capital services are defined as kt=ut\* Kt and the dependence of capital depre…

---

## [DYNARE\_SOLVE (solve\_algo=2|4): the Dulmage-Mendelsohn decomposition returned a non-square block. This means that the Jacobian is singular. You may want to try another value for solve\_algo.](https://forum.dynare.org/t/dynare-solve-solve-algo-2-4-the-dulmage-mendelsohn-decomposition-returned-a-non-square-block-this-means-that-the-jacobian-is-singular-you-may-want-to-try-another-value-for-solve-algo/27373)

<div class="topic-metadata">

**Author:** [@cokechi](https://forum.dynare.org/u/cokechi)\
**Replies:** 3\
**Last updated:** [29 April 2025 12:12 UTC](https://forum.dynare.org/t/dynare-solve-solve-algo-2-4-the-dulmage-mendelsohn-decomposition-returned-a-non-square-block-this-means-that-the-jacobian-is-singular-you-may-want-to-try-another-value-for-solve-algo/27373 "2025-04-29T12:12:02Z")

</div>

Hi, I’m trying to replicate the baseline model in Neumeyer and Perri (2005). It is a modified neoclassical small open economy model. I’m coming across this error, which I’m not sure how to handle: DYNARE\_SOLVE (solve\_…

---

## [entering the model in steady\_state\_model](https://forum.dynare.org/t/entering-the-model-in-steady-state-model/27494)

<div class="topic-metadata">

**Author:** [@Maxx](https://forum.dynare.org/u/Maxx)\
**Replies:** 5\
**Last updated:** [29 April 2025 05:04 UTC](https://forum.dynare.org/t/entering-the-model-in-steady-state-model/27494 "2025-04-29T05:04:46Z")

</div>

Hello, I’m a graduate student working with DSGE models and dynare for the first time, and I’m having a bit of trouble entering my model, Bank retained earnings ln(CapIB) depends on its past and expected future values…

---

## [Where is load\_params\_and\_steady\_state()?](https://forum.dynare.org/t/where-is-load-params-and-steady-state/27483)

<div class="topic-metadata">

**Author:** [@ahnulxy](https://forum.dynare.org/u/ahnulxy)\
**Replies:** 2\
**Last updated:** [24 April 2025 07:26 UTC](https://forum.dynare.org/t/where-is-load-params-and-steady-state/27483 "2025-04-24T07:26:21Z")

</div>

Code8.mod (5.2 KB) ss.zip (626 Bytes) Is anyone who could kindly help me to check out the mod file? The mod file itself is workable and do not report any errors. But there is one line (line 76) in mod file reads as: l…

---

## [Struggle with RBC motel with Distortionary Taxes](https://forum.dynare.org/t/struggle-with-rbc-motel-with-distortionary-taxes/27488)

<div class="topic-metadata">

**Author:** [@KimParang](https://forum.dynare.org/u/KimParang)\
**Replies:** 1\
**Last updated:** [24 April 2025 06:07 UTC](https://forum.dynare.org/t/struggle-with-rbc-motel-with-distortionary-taxes/27488 "2025-04-24T06:07:52Z")

</div>

Hello, I’m a graduate student working with DSGE models and dynare for the first time, and I’m having a bit of trouble getting my model to run. It’s a standard RBC model which incorporates a government which raises disto…

---

## [Deterministic trend](https://forum.dynare.org/t/deterministic-trend/27421)

<div class="topic-metadata">

**Author:** [@ani.98](https://forum.dynare.org/u/ani.98)\
**Replies:** 5\
**Last updated:** [16 April 2025 07:42 UTC](https://forum.dynare.org/t/deterministic-trend/27421 "2025-04-16T07:42:06Z")

</div>

Hello everyone! I am running semi-structural model in Dynare 5.5, and I have encountered the following issue: In those kind of growth equations (S = S(-1) + (dS)/4 ) the steady state value of dS is not 0 but rather a n…

---

## [Simple BGG: Steadystate file did not compute the steady state](https://forum.dynare.org/t/simple-bgg-steadystate-file-did-not-compute-the-steady-state/27418)

<div class="topic-metadata">

**Author:** [@golfo](https://forum.dynare.org/u/golfo)\
**Replies:** 1\
**Last updated:** [11 April 2025 11:00 UTC](https://forum.dynare.org/t/simple-bgg-steadystate-file-did-not-compute-the-steady-state/27418 "2025-04-11T11:00:15Z")

</div>

I am currently working on my model but it fails to calculate the steady state although I cannot see the mistake I probably made. Has anyone any guidance on how to find the steady state? Thank you in advance and please f…

---

## [The steady state file doesn't compute the steady state](https://forum.dynare.org/t/the-steady-state-file-doesnt-compute-the-steady-state/27378)

<div class="topic-metadata">

**Author:** [@Hussein](https://forum.dynare.org/u/Hussein)\
**Replies:** 4\
**Last updated:** [31 March 2025 13:10 UTC](https://forum.dynare.org/t/the-steady-state-file-doesnt-compute-the-steady-state/27378 "2025-03-31T13:10:59Z")

</div>

Hi all, I hope you’re doing well. I’m new to DSGE and Dynare. I just started my PhD, and I’m learning step by step. I have been provided with a model, and I was asked to add oil production to it. The files I received …

---

## [Impossible to find the steady state (the sum of squared residuals of the static equations is 71.7826). 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](https://forum.dynare.org/t/impossible-to-find-the-steady-state-the-sum-of-squared-residuals-of-the-static-equations-is-71-7826-either-the-model-doesnt-have-a-steady-state-there-are-an-infinity-of-steady-states-or-the-guess-values-are-too-far-from-the-solution/27325)

<div class="topic-metadata">

**Author:** [@SUNX28](https://forum.dynare.org/u/SUNX28)\
**Replies:** 1\
**Last updated:** [17 March 2025 17:00 UTC](https://forum.dynare.org/t/impossible-to-find-the-steady-state-the-sum-of-squared-residuals-of-the-static-equations-is-71-7826-either-the-model-doesnt-have-a-steady-state-there-are-an-infinity-of-steady-states-or-the-guess-values-are-too-far-from-the-solution/27325 "2025-03-17T17:00:16Z")

</div>

ec5991.mod (6.5 KB) Does this mean that I need a separate m file for computing the steady state? Apart from that, is there any outher solutions ?

---

## [CTW(2011) and its steady state model](https://forum.dynare.org/t/ctw-2011-and-its-steady-state-model/27049)

<div class="topic-metadata">

**Author:** [@Mac25](https://forum.dynare.org/u/Mac25)\
**Replies:** 5\
**Last updated:** [7 March 2025 15:34 UTC](https://forum.dynare.org/t/ctw-2011-and-its-steady-state-model/27049 "2025-03-07T15:34:18Z")

</div>

Hello, everyone on the Dynare Forum, I am an undergraduate student currently studying DSGE models. Until recently, I had only worked with linear models, but I have just started to explore nonlinear models. Right now, I …

---

## [Need help - trying to make an extension to a given NK model](https://forum.dynare.org/t/need-help-trying-to-make-an-extension-to-a-given-nk-model/27251)

<div class="topic-metadata">

**Author:** [@\_gd.dg](https://forum.dynare.org/u/_gd.dg)\
**Replies:** 2\
**Last updated:** [3 March 2025 16:03 UTC](https://forum.dynare.org/t/need-help-trying-to-make-an-extension-to-a-given-nk-model/27251 "2025-03-03T16:03:23Z")

</div>

CodeFinal.mod (3.7 KB) Hello everybody, I am attempting to add government spending as an endogenous factor to a basic New Keynesian model, but I have encountered errors: Error using print\_info (line 33) The steady sta…

---

## [Linking steady\_state block to homotopy](https://forum.dynare.org/t/linking-steady-state-block-to-homotopy/27219)

<div class="topic-metadata">

**Author:** [@Thomas](https://forum.dynare.org/u/Thomas)\
**Replies:** 2\
**Last updated:** [26 February 2025 13:55 UTC](https://forum.dynare.org/t/linking-steady-state-block-to-homotopy/27219 "2025-02-26T13:55:23Z")

</div>

Hey Everyone ! I’m Thomas, I work on calibrated OLG models, but now venturing in estimating DSGE models using Simulated Method of Moments. SMM requires either an analytical solution or a steady\_state block. I was wonde…

---

## [The Steady state file do not compute the Steady State for the endval in Perfect Foresight](https://forum.dynare.org/t/the-steady-state-file-do-not-compute-the-steady-state-for-the-endval-in-perfect-foresight/27184)

<div class="topic-metadata">

**Author:** [@kave](https://forum.dynare.org/u/kave)\
**Replies:** 4\
**Last updated:** [17 February 2025 21:26 UTC](https://forum.dynare.org/t/the-steady-state-file-do-not-compute-the-steady-state-for-the-endval-in-perfect-foresight/27184 "2025-02-17T21:26:10Z")

</div>

Test\_steadystate.m (3.7 KB) Test.mod (9.0 KB) FindSS.m (1.1 KB) param.m (4.0 KB) Hi all, I am running a simulation of the introduction of a permanent tax under perfect foresight. However, when using the endval value…

---

## [Unable to find the steady state](https://forum.dynare.org/t/unable-to-find-the-steady-state/27179)

<div class="topic-metadata">

**Author:** [@chenxin](https://forum.dynare.org/u/chenxin)\
**Replies:** 3\
**Last updated:** [15 February 2025 16:58 UTC](https://forum.dynare.org/t/unable-to-find-the-steady-state/27179 "2025-02-15T16:58:23Z")

</div>

Dear Professor, I am getting the following error while writing dynare code 错误使用 print\_info (line 32) Impossible to find the steady state (the sum of square residuals of the static equations is 0.2682). Either the mode…

---

## [Vector export in excel from a .m file](https://forum.dynare.org/t/vector-export-in-excel-from-a-m-file/27168)

<div class="topic-metadata">

**Author:** [@Mathis](https://forum.dynare.org/u/Mathis)\
**Replies:** 1\
**Last updated:** [12 February 2025 13:06 UTC](https://forum.dynare.org/t/vector-export-in-excel-from-a-m-file/27168 "2025-02-12T13:06:38Z")

</div>

Dear all, I meet a problem exporting a vector from a .m file. The vector is elaborated from the steady state results of a dynare program and I would like to export it as an excel file. I have used the following formula…

[Previous page](https://forum.dynare.org/c/steady-state/21.md)

[Next page](https://forum.dynare.org/c/steady-state/21.md?page=2)
