# How to change the time unit in depletion module

**URL:** <https://openmc.discourse.group/t/how-to-change-the-time-unit-in-depletion-module/472>\
**Category:** User Support\
**Created:** [August 28, 2019, 6:41am UTC](https://openmc.discourse.group/t/how-to-change-the-time-unit-in-depletion-module/472 "2019-08-28T06:41:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Helen\_Raflis](https://avatars.discourse-cdn.com/v4/letter/h/9d8465/32.png) [@Helen\_Raflis](https://openmc.discourse.group/u/Helen_Raflis)\
**Post date:** [August 28, 2019, 6:41am UTC](https://openmc.discourse.group/t/how-to-change-the-time-unit-in-depletion-module/472/1 "2019-08-28T06:41:11Z")

</div>

Hello everyone, especially Mr. Romano,

My name ‘Helen Raflis’. I am a research student from Physics department of ITB, Indonesia. I have installed the openmc-dev that having depletion module but I have a problem to change time unit of depletion module from seconds to days, like in MCNP code. Anybody can help me?

I have tried to solve with a simple trick, multiply the power value with 24_60_60 to minimize the time step of depletion calculation. Is that accepted or not?

Thanks a lot for the attention.

Best regards,  
Helen Raflis

![Screenshot from 2019-08-28 13-39-20.png](https://global.discourse-cdn.com/free1/uploads/openmc/original/1X/1cee872436235f87b6fe46be9eca6f59cd29d430.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_Johnson](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@Andrew\_Johnson](https://openmc.discourse.group/u/Andrew_Johnson)\
**Post date:** [August 30, 2019, 1:37pm UTC](https://openmc.discourse.group/t/how-to-change-the-time-unit-in-depletion-module/472/2 "2019-08-30T13:37:17Z")

</div>

Hi Helen,

You can convert the time in days to the time in seconds, example 5 days becomes 5 \* 24 \* 60 \* 60 = 432000 seconds. This is preferable to scaling the power as you proposed, as this allows both the reaction rates to be properly scaled and spontaneous decay to be captured correctly.

Regards,

Andrew Johnson
