# Is it depletion value and neutron flux value?

**URL:** <https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740>\
**Category:** User Support\
**Created:** [September 3, 2020, 6:39am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740 "2020-09-03T06:39:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Auliyah11](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Auliyah11](https://openmc.discourse.group/u/Auliyah11)\
**Post date:** [September 3, 2020, 6:39am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/1 "2020-09-03T06:39:48Z")

</div>

Dear all,

I wanna ask to you all is it depletion value and neutron flux value? Picture (below)

 ![5fb5a1c5-6c39-475d-bf8d-292d7cdc2c2f](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/7/7168c212be6ebd24580aa570b51fa85019fa5df7.jpeg)  
 ![8481e3ca-50a3-45ee-88ec-0b004c3de913](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/9/93ac963ce55e7219063cdc4fe1d3d1e724e46a35.jpeg)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [September 15, 2020, 11:50am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/2 "2020-09-15T11:50:08Z")

</div>

The first dataset you have pictured there shows the depletion time for each timestep in seconds, and the second picture shows internal data related to global tallies (estimators for k-effective and the total leakage). If you have tallies that are collected during a depletion simulation, those will be found in the individual statepoint files (`openmc_simulation_n#.h5`) that are written at each timestep. I would recommend you use the corresponding Python classes (`openmc.deplete.ResultsList` and `openmc.StatePoint`) for working with those files rather than inspecting the data in the files directly.

---

<div class="post-metadata">

**Author:** ![Auliyah11](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Auliyah11](https://openmc.discourse.group/u/Auliyah11)\
**Post date:** [October 5, 2020, 2:32am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/3 "2020-10-05T02:32:33Z")

</div>

Dear,  
Paul

How to use the corresponding Python classes (`openmc.deplete.ResultsList` and `openmc.StatePoint` ) for working with those files ?

Thx,  
Auliyah

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [October 5, 2020, 12:41pm UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/4 "2020-10-05T12:41:59Z")

</div>

You can see [this example](https://nbviewer.org/github/openmc-dev/openmc-notebooks/blob/main/post-processing.ipynb) for basic usage of the `StatePoint` class (full API listed [here](https://docs.openmc.org/en/latest/pythonapi/generated/openmc.StatePoint.html#openmc.StatePoint)). A depletion example that uses `ResultsList` can be found [here](https://nbviewer.org/github/openmc-dev/openmc-notebooks/blob/main/depletion.ipynb) (full API listed [here](https://docs.openmc.org/en/latest/pythonapi/generated/openmc.deplete.ResultsList.html#openmc.deplete.ResultsList)).

---

<div class="post-metadata">

**Author:** ![Auliyah11](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Auliyah11](https://openmc.discourse.group/u/Auliyah11)\
**Post date:** [October 22, 2020, 5:36am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/5 "2020-10-22T05:36:35Z")

</div>

Why the value of neutron flux and reaction rate same for a month, a year and 2 years?

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [October 22, 2020, 11:34am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/6 "2020-10-22T11:34:09Z")

</div>

@Auliyah11 The flux and reaction rate are related to the amount of fission reactions needed to sustain whatever power level is specified for the problem. It depends on what reaction rate you’re looking at, but for example the total fission reaction rate wouldn’t be expected to change over time in a depletion simulation. If you look at the fission reaction rate by nuclide, that may change substantially as a model is depleted. If your fuel does reach a high burnup, at that point it would need a higher flux level to sustain the same amount of power level. If the fuel is not depleted that much, it would be expected for the flux to remain relatively close to where it started. Of course, this entirely depends on the model you’re simulating, the power level, whether there is any breeding of fuel, etc., so it’s hard to speculate on your particular case without knowing any context.

---

<div class="post-metadata">

**Author:** ![cigdem](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@cigdem](https://openmc.discourse.group/u/cigdem)\
**Post date:** [June 30, 2022, 6:43am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/7 "2022-06-30T06:43:43Z")

</div>

Hi Paul,  
the links you have provided for the examples do not exist any more. Could you please re-share the examples of using the Python classes that are mentioned above?  
thanks in advance

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [June 30, 2022, 1:53pm UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/8 "2022-06-30T13:53:44Z")

</div>

@cigdem I just updated the links above so that they should work. Thanks for bringing that to my attention!

---

<div class="post-metadata">

**Author:** ![cigdem](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@cigdem](https://openmc.discourse.group/u/cigdem)\
**Post date:** [July 1, 2022, 6:49am UTC](https://openmc.discourse.group/t/is-it-depletion-value-and-neutron-flux-value/740/9 "2022-07-01T06:49:06Z")

</div>

thank you so much, they work now!
