# Model with 2 stocks of capital for the representative firm

**URL:** <https://forum.dynare.org/t/model-with-2-stocks-of-capital-for-the-representative-firm/23129>\
**Category:** Stochastic simulations\
**Created:** [18 September 2023 07:48 UTC](https://forum.dynare.org/t/model-with-2-stocks-of-capital-for-the-representative-firm/23129 "2023-09-18T07:48:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ornella](https://forum.dynare.org/letter_avatar_proxy/v4/letter/o/47e85d/32.png) [@ornella](https://forum.dynare.org/u/ornella)\
**Post date:** [18 September 2023 07:48 UTC](https://forum.dynare.org/t/model-with-2-stocks-of-capital-for-the-representative-firm/23129/1 "2023-09-18T07:48:21Z")

</div>

Hi everyone,

I’m working on a model where firms can invest in two different stocks of capital Kd and Kc. I can’t run my model with two equations of accumulation. I refer to this subject: [Timing error in model with 2 stocks of capital for the firm](https://forum.dynare.org/t/timing-error-in-model-with-2-stocks-of-capital-for-the-firm/22341). As the total capital stock from the previous period cannot be freely allocated across the two stocks in the current period, I need those two equations.

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:** [18 September 2023 10:50 UTC](https://forum.dynare.org/t/model-with-2-stocks-of-capital-for-the-representative-firm/23129/2 "2023-09-18T10:50:53Z")

</div>

But what exactly is your question?

---

<div class="post-metadata">

**Author:** ![ornella](https://forum.dynare.org/letter_avatar_proxy/v4/letter/o/47e85d/32.png) [@ornella](https://forum.dynare.org/u/ornella)\
**Post date:** [18 September 2023 12:15 UTC](https://forum.dynare.org/t/model-with-2-stocks-of-capital-for-the-representative-firm/23129/3 "2023-09-18T12:15:59Z")

</div>

Sorry, my question is : why the rank condition is not verified when i implement two equations of accumulation ?

---

<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:** [19 September 2023 06:31 UTC](https://forum.dynare.org/t/model-with-2-stocks-of-capital-for-the-representative-firm/23129/4 "2023-09-19T06:31:13Z")

</div>

Typically, it’s a timing mistake or a problem in the setup.
