How to calculate the energy generated by components in the core

Hello everyone, I am calculating the burnup depth distribution of components in the core. I have calculated the nuclear density of each component at each burnup step. To calculate the burnup depth, I need to know the energy consumed by each fuel component. How can I calculate the energy consumed by each fuel component?