# Why does the model run longer?

**URL:** <https://community.naturalcapitalalliance.org/t/why-does-the-model-run-longer/2929>\
**Category:** Software Support\
**Tags:** habitat-quality\
**Created:** [July 24, 2022, 1:25am UTC](https://community.naturalcapitalalliance.org/t/why-does-the-model-run-longer/2929 "2022-07-24T01:25:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCJC](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@JCJC](https://community.naturalcapitalalliance.org/u/JCJC)\
**Post date:** [July 24, 2022, 1:25am UTC](https://community.naturalcapitalalliance.org/t/why-does-the-model-run-longer/2929/1 "2022-07-24T01:25:21Z")

</div>

The previous times I ran the model with the same data it took me 2-3 hours, but this time it was over seven hours. I thought it was strange. I have uploaded the file of model operation process, I hope you can help me solve it, thank you very much!

[InVEST-natcap.invest.habitat\_quality-log-2022-07-23–20\_53\_16.txt](https://community.naturalcapitalalliance.org/uploads/short-url/u7cHkzK6agkdikAPhYx4fdmBOIh.txt) (1.1 MB)

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [July 25, 2022, 2:39pm UTC](https://community.naturalcapitalalliance.org/t/why-does-the-model-run-longer/2929/2 "2022-07-25T14:39:09Z")

</div>

Hi @JCJC , looking at this logfile in isolation, no problems are evident. The model runtime is largely dependent on the size and resolution of the input rasters and the “threat distance” parameters.

_Something_ must have changed between this run and the others, even if it wasn’t your data.

---

<div class="post-metadata">

**Author:** ![JCJC](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@JCJC](https://community.naturalcapitalalliance.org/u/JCJC)\
**Post date:** [July 26, 2022, 2:24am UTC](https://community.naturalcapitalalliance.org/t/why-does-the-model-run-longer/2929/3 "2022-07-26T02:24:06Z")

</div>

OK, the problem has been solved. Thank you very much!

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [July 26, 2022, 2:53pm UTC](https://community.naturalcapitalalliance.org/t/why-does-the-model-run-longer/2929/4 "2022-07-26T14:53:21Z")

</div>


