# dynareOBC error

**URL:** https://forum.dynare.org/t/dynareobc-error/16221
**Category:** Dynare contributions and examples
**Created:** [8 July 2020 08:42 UTC](https://forum.dynare.org/t/dynareobc-error/16221 "2020-07-08T08:42:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Yahui\_Xiao](https://forum.dynare.org/letter_avatar_proxy/v4/letter/y/a9a28c/32.png) [@Yahui\_Xiao](https://forum.dynare.org/u/Yahui_Xiao)
#### Post date: [8 July 2020 08:42 UTC](https://forum.dynare.org/t/dynareobc-error/16221/1 "2020-07-08T08:42:07Z")

</div>

Hi,everyone! 😀  
When I use the toolbox of DynareOBC ,after solving the steady state of the model,the window of MATLAB gives me these error message:

**The risky steady state of one of the zero lower bounded variables had an unexpected sign.**  
**Attempting to approximate around an alternative point.**

**HOMOTOPY mode 3: launching solver at initial point…**  
**HOMOTOPY mode 3: successful step, now jumping to final point…**  
**HOMOTOPY mode 3: failed step, now dividing increment by 2…**  
**HOMOTOPY mode 3: successful step, now multiplying increment by 2…**  
**HOMOTOPY mode 3: failed step, now dividing increment by 2…**

I don’t know the way to debug the problem during using the DynareOBC.  
Thanks a lot!

---

<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: [8 July 2020 09:26 UTC](https://forum.dynare.org/t/dynareobc-error/16221/2 "2020-07-08T09:26:00Z")

</div>

Maybe @cfp can help.

---

<div class="post-metadata">

### Author: ![cfp](https://forum.dynare.org/letter_avatar_proxy/v4/letter/c/ed655f/32.png) [@cfp](https://forum.dynare.org/u/cfp)
#### Post date: [8 July 2020 12:12 UTC](https://forum.dynare.org/t/dynareobc-error/16221/3 "2020-07-08T12:12:28Z")

</div>

It sounds like your model’s non-stochastic steady state has different constraints binding to at the risky steady state. This rare case can be hard for DynareOBC to handle. I’ve only seen it in sudden stops models.

Are your shocks calibrated to reasonable standard deviations? If they are too large, that can lead to this issue. Failing that, you could fall back to order=1 where this case cannot happen.
