# Extending a paper

**URL:** <https://forum.dynare.org/t/extending-a-paper/28135>\
**Category:** Stochastic simulations\
**Created:** [18 December 2025 16:39 UTC](https://forum.dynare.org/t/extending-a-paper/28135 "2025-12-18T16:39:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfellmann](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jfellmann](https://forum.dynare.org/u/jfellmann)\
**Post date:** [18 December 2025 16:39 UTC](https://forum.dynare.org/t/extending-a-paper/28135/1 "2025-12-18T16:39:02Z")

</div>

I’m trying to modify the model by [Abadi et al. (2023)](https://www.aeaweb.org/articles?id=10.1257/aer.20190150).

My idea is to remove the different firms and introduce to different banks.

The mod file “OneFirm” works nicely. The mod file “TwoBanksModel” breaks down saying

"Error using print\_info (line 33)  
The steadystate file did not compute the steady state

Error in stoch\_simul (line 119)  
print\_info(info, options\_.noprint, options\_);  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
Error in TwoBanksModel.driver (line 1552)  
[info, oo\_, options\_, M\_] = stoch\_simul(M\_, options\_, oo\_, var\_list\_);  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
Error in dynare (line 306)  
evalin(‘base’,[fname ‘.driver’]);  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^”

[TwoBanksModel.mod](https://forum.dynare.org/uploads/short-url/cYIu0nMUP8roGUcSemBzqXimPkU.mod) (9.0 KB)

[OneFirm.mod](https://forum.dynare.org/uploads/short-url/ywozZRm9J5eil1H3uRWqKd16Mur.mod) (11.0 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:** [22 December 2025 09:48 UTC](https://forum.dynare.org/t/extending-a-paper/28135/2 "2025-12-22T09:48:58Z")

</div>

Use

```auto
resid(non_zero);

```

to see

> Residuals of the static equations:  
> Equation number 29: Eq\_B\_1 : 0.009844  
> Equation number 44: Eq\_B\_2 : -0.009844

That must be the mistake.
