# Steady state conditional on the instrument

**URL:** https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385
**Category:** Optimal Policy
**Created:** [1 April 2025 14:50 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385 "2025-04-01T14:50:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Random.t](https://forum.dynare.org/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@Random.t](https://forum.dynare.org/u/Random.t)
#### Post date: [1 April 2025 14:50 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385/1 "2025-04-01T14:50:24Z")

</div>

Hi everybody,  
I am trying to find the optimal carbon tax in a 2 sector dsge model and I get the following error:

Ramsey: The steady state file does not solve the static first order conditions conditional on the instruments.

Also, I get some residuals in factor prices equations. Though, the same non linear system of equations delivers me a credible steady state in a perfect foresight exercise, meaning that equations should be right.  
How can I interpret the error message?  
thank you  
[mc\_tax\_ramsey.mod](https://forum.dynare.org/uploads/short-url/4BrAwHDHFmLSpHh0hM2vyRFw1b9.mod) (7.2 KB)  
[mc\_tax\_ramsey\_steadystate.m](https://forum.dynare.org/uploads/short-url/2KlULowLV6v1M65Vmd0HgA07LxF.m) (2.1 KB)  
[findssmc\_tax\_ramsey.m](https://forum.dynare.org/uploads/short-url/51258Uv4Z4hhCf9fmdHs2OqSvCr.m) (1.5 KB)

---

<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: [1 April 2025 16:33 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385/2 "2025-04-01T16:33:54Z")

</div>

You have the planner choose `tau`, but in the steady state file, you override that value with

```auto
tau=(phi_2*phi_3/phi_1)*(abt^(phi_3-1));

```

That cannot work. You need to compute the steady state conditional on a provided value for `tau`.

---

<div class="post-metadata">

### Author: ![Random.t](https://forum.dynare.org/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@Random.t](https://forum.dynare.org/u/Random.t)
#### Post date: [1 April 2025 16:48 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385/3 "2025-04-01T16:48:11Z")

</div>

Thank for your reply.

What do you mean by computing the steady state conditional on the value provided for tau? If tau is declared in the endogenous variable block in the .mod file, I should provide a steady state equation for it in the steadystate.m file? If this is not the case, how can I handle equations involving tau in the stady state files like, for instance, brown factor prices, abatement and emission costs?

---

<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: [2 April 2025 06:57 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385/4 "2025-04-02T06:57:21Z")

</div>

No, the value for the instrument is not endogenously determined by your model equations. Rather, the planner chooses the steady state value for `tau`. In order for that to work you need to have the header structure shown in

> **[examples/Ramsey\_steady\_file\_steadystate.m · master · Dynare / dynare · GitLab](https://git.dynare.org/Dynare/dynare/-/blob/master/examples/Ramsey_steady_file_steadystate.m?ref_type=heads)**
>
> A platform for handling a wide class of economic models

---

<div class="post-metadata">

### Author: ![Random.t](https://forum.dynare.org/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@Random.t](https://forum.dynare.org/u/Random.t)
#### Post date: [2 April 2025 07:30 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385/5 "2025-04-02T07:30:02Z")

</div>

Thank, now it works. Just another question.

In this kind of literature, second order approximations of the welfare criterion are often used, why a lot of authors do so? Is therefore my non-linear specification of the period utility function uncorrect?

---

<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: [2 April 2025 07:37 UTC](https://forum.dynare.org/t/steady-state-conditional-on-the-instrument/27385/6 "2025-04-02T07:37:14Z")

</div>

No, that should be correct. Dynare will approximate the utility function at the specified order.
