# The steady state is complex (the sum of square residuals of imaginary parts of the steady state is 0.0000)

**URL:** <https://forum.dynare.org/t/the-steady-state-is-complex-the-sum-of-square-residuals-of-imaginary-parts-of-the-steady-state-is-0-0000/27828>\
**Category:** Steady state\
**Created:** [30 July 2025 13:37 UTC](https://forum.dynare.org/t/the-steady-state-is-complex-the-sum-of-square-residuals-of-imaginary-parts-of-the-steady-state-is-0-0000/27828 "2025-07-30T13:37:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhanglei](https://forum.dynare.org/letter_avatar_proxy/v4/letter/z/ac8455/32.png) [@zhanglei](https://forum.dynare.org/u/zhanglei)\
**Post date:** [30 July 2025 13:37 UTC](https://forum.dynare.org/t/the-steady-state-is-complex-the-sum-of-square-residuals-of-imaginary-parts-of-the-steady-state-is-0-0000/27828/1 "2025-07-30T13:37:48Z")

</div>

Dear all,In solving steady state, the residuals of all equations are 0. Why is the following error displayed? Looking forward to your help, thank you!

Residuals of the static equations:

Equation number 1 : 0 : 1  
Equation number 2 : 0 : 2  
Equation number 3 : 0 : 3  
Equation number 4 : 0 : Ya  
Equation number 5 : 0 : Pag  
Equation number 6 : 0 : Pang  
Equation number 7 : 0 : Yag  
Equation number 8 : 0 : Vag  
Equation number 9 : 0 : wag  
Equation number 10 : 0 : Raz  
Equation number 11 : 0 : Ragk  
Equation number 12 : 0 : Yang  
Equation number 13 : 0 : Vang  
Equation number 14 : 0 : wang  
Equation number 15 : 0 : 15  
Equation number 16 : 0 : Rangk  
Equation number 17 : 0 : 17  
Equation number 18 : 0 : Ka  
Equation number 19 : 0 : Kag  
Equation number 20 : 0 : phiak  
Equation number 21 : 0 : Za  
Equation number 22 : 0 : 22  
Equation number 23 : 0 : 23  
Equation number 24 : 0 : 24  
Equation number 25 : 0 : 25  
Equation number 26 : 0 : 26  
Equation number 27 : 0 : Na  
Equation number 28 : 0 : Nag  
Equation number 29 : 0 : phian  
Equation number 30 : 0 : 30  
Equation number 31 : 0 : 31  
Equation number 32 : 0 : xiax  
Equation number 33 : 0 : xa  
Equation number 34 : 0 : Dag  
Equation number 35 : 0 : Tag  
Equation number 36 : 0 : xagrow  
Equation number 37 : 0 : Dang  
Equation number 38 : 0 : Tang  
Equation number 39 : 0 : xangrow  
Equation number 40 : 0 : wa  
Equation number 41 : 0 : Rak  
Equation number 42 : 0 : 42  
Equation number 43 : 0 : 43  
Equation number 44 : 0 : 44  
Equation number 45 : 0 : Yna  
Equation number 46 : 0 : Pnag  
Equation number 47 : 0 : Pnang  
Equation number 48 : 0 : Ynag  
Equation number 49 : 0 : Vnag  
Equation number 50 : 0 : wnag  
Equation number 51 : 0 : Rnaz  
Equation number 52 : 0 : Rnagk  
Equation number 53 : 0 : Ynang  
Equation number 54 : 0 : Vnang  
Equation number 55 : 0 : wnang  
Equation number 56 : 0 : 56  
Equation number 57 : 0 : Rnangk  
Equation number 58 : 0 : 58  
Equation number 59 : 0 : Kna  
Equation number 60 : 0 : Knag  
Equation number 61 : 0 : phinak  
Equation number 62 : 0 : Zna  
Equation number 63 : 0 : 63  
Equation number 64 : 0 : 64  
Equation number 65 : 0 : 65  
Equation number 66 : 0 : 66  
Equation number 67 : 0 : Nna  
Equation number 68 : 0 : Nnag  
Equation number 69 : 0 : phinan  
Equation number 70 : 0 : xinax  
Equation number 71 : 0 : xna  
Equation number 72 : 0 : Dnag  
Equation number 73 : 0 : Tnag  
Equation number 74 : 0 : xnagrow  
Equation number 75 : 0 : Dnang  
Equation number 76 : 0 : Tnang  
Equation number 77 : 0 : xnangrow  
Equation number 78 : 0 : wna  
Equation number 79 : 0 : Rnak  
Equation number 80 : 0 : Y  
Equation number 81 : 0 : K  
Equation number 82 : 0 : Z  
Equation number 83 : 0 : N  
Equation number 84 : 0 : Ik  
Equation number 85 : 0 : Iz  
Equation number 86 : 0 : C  
Equation number 87 : 0 : w

---

<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 August 2025 08:56 UTC](https://forum.dynare.org/t/the-steady-state-is-complex-the-sum-of-square-residuals-of-imaginary-parts-of-the-steady-state-is-0-0000/27828/2 "2025-08-01T08:56:59Z")

</div>

Without the `mod` file it is impossible to tell.

---

<div class="post-metadata">

**Author:** ![zhanglei](https://forum.dynare.org/letter_avatar_proxy/v4/letter/z/ac8455/32.png) [@zhanglei](https://forum.dynare.org/u/zhanglei)\
**Post date:** [3 August 2025 08:37 UTC](https://forum.dynare.org/t/the-steady-state-is-complex-the-sum-of-square-residuals-of-imaginary-parts-of-the-steady-state-is-0-0000/27828/3 "2025-08-03T08:37:49Z")

</div>

Thank you professor, this problem has been solved。
