# Error: The steady state has NaNs or Inf

**URL:** https://forum.dynare.org/t/error-the-steady-state-has-nans-or-inf/15621
**Category:** Steady state
**Created:** [18 April 2020 21:29 UTC](https://forum.dynare.org/t/error-the-steady-state-has-nans-or-inf/15621 "2020-04-18T21:29:51Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [19 April 2020 08:43 UTC](https://forum.dynare.org/t/error-the-steady-state-has-nans-or-inf/15621/2 "2020-04-19T08:43:26Z")

</div>

Your exogenous processes are inconsistently defined. Sometimes you are correctly using an `exp()`-substitution, sometimes not. Only do an exp-substitution once the model works.  
I would recommend going for option 3 at

> [@Question about understanding irfs in dynare](https://forum.dynare.org/t/question-about-understanding-irfs-in-dynare/10622/4):
>
> To be more precise: it depends on how the variables in your model are measured. As @stepan-a says, Dynare conducts a linearization. If you for example have a nonlinear model and your model variable is simply the level of output, the IRF will measure the difference between the variable and its steady state (or its mean at higher order). This is the case with [https://github.com/DynareTeam/dynare/blob/master/examples/example1.mod](https://github.com/DynareTeam/dynare/blob/master/examples/example1.mod) In contrast, if your model variable already measures percentage…

---

_[View the full topic](https://forum.dynare.org/t/error-the-steady-state-has-nans-or-inf/15621)._
