# Problem finding Steady State using fsolve

**URL:** <https://forum.dynare.org/t/problem-finding-steady-state-using-fsolve/27668>\
**Category:** Steady state\
**Created:** [1 June 2025 19:34 UTC](https://forum.dynare.org/t/problem-finding-steady-state-using-fsolve/27668 "2025-06-01T19:34:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonaSh](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/2acd7d/32.png) [@JonaSh](https://forum.dynare.org/u/JonaSh)\
**Post date:** [1 June 2025 19:34 UTC](https://forum.dynare.org/t/problem-finding-steady-state-using-fsolve/27668/1 "2025-06-01T19:34:51Z")

</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 very first model I try to code. I have some problems finding the steady state. In the Appendix B.9 of the paper the steady state is simplified to a system of 12 equations and 12 variables. I already managed to solve 4 of them by using a fsolve function to solve for epsilon\_d. This left me with a system of 8 equations and 8 variables. I tried to use a fsolve to solve this system, but I can’t find a solution. I used the values I saw at papge 78 and 79 of the paper as initial guesses for the steady state, so I would think that they are reasonable. Is there any advise on what to do in such a situation? My question only concerns the steady\_state\_helper file but I also attach my mod file and the eps\_steady\_state\_helper file. I am very sorry if my code is a mess.  
[steady\_state\_helper.m](https://forum.dynare.org/uploads/short-url/rLQu6nhsremAYW1VpPrg9Ygw89L.m) (2.0 KB)  
[cbdcSSm.mod](https://forum.dynare.org/uploads/short-url/fCnXs6HGw2Efcri79GxGhwsg20W.mod) (5.1 KB)  
[eps\_steady\_state\_helper.m](https://forum.dynare.org/uploads/short-url/55MRrKc36nI7YaiHF5O2jr754mI.m) (564 Bytes)

---

<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 June 2025 10:29 UTC](https://forum.dynare.org/t/problem-finding-steady-state-using-fsolve/27668/2 "2025-06-02T10:29:58Z")

</div>

You should focus on why `functionsSS2` cannot be solved. Often, that is caused by a mistake in the implementation like wrong brackets or signs.
