# RBC Tebaldi Model

**URL:** <https://forum.dynare.org/t/rbc-tebaldi-model/26981>\
**Category:** Stochastic simulations\
**Created:** [4 January 2025 22:45 UTC](https://forum.dynare.org/t/rbc-tebaldi-model/26981 "2025-01-04T22:45:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MLG](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@MLG](https://forum.dynare.org/u/MLG)\
**Post date:** [4 January 2025 22:45 UTC](https://forum.dynare.org/t/rbc-tebaldi-model/26981/1 "2025-01-04T22:45:08Z")

</div>

I am working on an extension of the model proposed by Tebaldi and Elmslie (2006), which analyzes the relationship between institutions and innovation. My goal is to incorporate leisure choice, so that households decide not only between consumption and investment, but also between consumption, investment, and leisure. It’s similar to Romer’s model, but you establish a constraint on the amount of innovation due to the institutions. However, I am having issues running the code in Dynare.

Below is my code. I would greatly appreciate any help in identifying the problem

[Tebaldi.mod](https://forum.dynare.org/uploads/short-url/35oKVJXftouGz9pXD2nVSBW7v0q.mod) (801 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:** [6 January 2025 09:23 UTC](https://forum.dynare.org/t/rbc-tebaldi-model/26981/2 "2025-01-06T09:23:22Z")

</div>

What is the problem you are facing? You did not even attempt to provide steady state values or request computations.

---

<div class="post-metadata">

**Author:** ![MLG](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@MLG](https://forum.dynare.org/u/MLG)\
**Post date:** [6 January 2025 14:41 UTC](https://forum.dynare.org/t/rbc-tebaldi-model/26981/3 "2025-01-06T14:41:21Z")

</div>

Hey! Hope you’re doing fine. I did add the steady state code after that. The error is this one:

Found 13 equation(s).  
Evaluating expressions…  
Computing static model derivatives (order 1).  
Normalizing the static model…  
Normalization failed with cutoff, trying symbolic normalization…  
Finding the optimal block decomposition of the static model…  
5 block(s) found:  
4 recursive block(s) and 1 simultaneous block(s).  
the largest simultaneous block has 9 equation(s)  
and 9 feedback variable(s).  
Computing dynamic model derivatives (order 2).  
Normalizing the dynamic model…  
Finding the optimal block decomposition of the dynamic model…  
5 block(s) found:  
4 recursive block(s) and 1 simultaneous block(s).  
the largest simultaneous block has 9 equation(s)  
and 7 feedback variable(s).  
Preprocessing completed.  
Preprocessing time: 0h00m00s.  
error: ‘Tebaldi’ undefined near line 1, column 1  
error: called from  
dynare at line 310 column 5

---

<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:** [6 January 2025 14:43 UTC](https://forum.dynare.org/t/rbc-tebaldi-model/26981/4 "2025-01-06T14:43:11Z")

</div>

Always provide the most recent file. But it looks like you made a mistake in the first line, probably a missing comment.

---

<div class="post-metadata">

**Author:** ![MLG](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@MLG](https://forum.dynare.org/u/MLG)\
**Post date:** [6 January 2025 15:09 UTC](https://forum.dynare.org/t/rbc-tebaldi-model/26981/5 "2025-01-06T15:09:40Z")

</div>

> [@jpfeifer](#):
>
> But it looks like you made a mistake in the first line, probably a missing comment.

Ok, sorry. If i fix it ill upload it. Tx
