# Difference between heating and heating-local tallies

**URL:** <https://openmc.discourse.group/t/difference-between-heating-and-heating-local-tallies/3279>\
**Category:** User Support\
**Created:** [August 7, 2023, 3:42pm UTC](https://openmc.discourse.group/t/difference-between-heating-and-heating-local-tallies/3279 "2023-08-07T15:42:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_sus](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@m\_sus](https://openmc.discourse.group/u/m_sus)\
**Post date:** [August 7, 2023, 3:42pm UTC](https://openmc.discourse.group/t/difference-between-heating-and-heating-local-tallies/3279/1 "2023-08-07T15:42:36Z")

</div>

Hello everybody,  
I am very new to OpenMC and I can’ t really understand the difference between ‘heating’ and ‘heating-local’ tallies: from the manual it seems that the only difference between the two is related to the secondary photons treatment. However, when I run a calculation using openmc.ParticleFilter(‘photons’) I get no entries, so it seems that the photons doesn’t score at all. Can anyone give me any insight?  
Best regards.

---

<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:** [August 7, 2023, 6:36pm UTC](https://openmc.discourse.group/t/difference-between-heating-and-heating-local-tallies/3279/2 "2023-08-07T18:36:16Z")

</div>

Hi @m_sus. Please take a look at this post which explains the difference between the `heating` and `heating-local` scores:

> [@Energy deposited by neutrons](https://openmc.discourse.group/t/energy-deposited-by-neutrons/344/4):
>
> Hi Julian, Two new scores were added in OpenMC 0.11, “heating” and “heating-local”. They both correspond to total nuclear heating (what is produced by NJOY’s HEATR module) and will include energy deposited from neutron scattering, but also from other reactions as well. The difference between “heating” and “heating-local” is how they treat secondary photons – “heating-local” assumes that the energy from secondary photons is deposited at the collision site (i.e., the energy is not carried away). …

With respect to the `ParticleFilter`, you will only see a score for photons if they are being simulated. Note that if you start with a neutron source, you need to explicitly turn photon transport on:

```python
settings = openmc.Settings()
settings.photon_transport = True

```
