Description
In #1954, we are starting to store more information at the component level. One of those things is the decay power (powerDecay
). While looking at some downstream test results with these changes, we noticed that the center-most assembly block-wise decay power was not properly accounting for the symmetry factor. After some discussion, we found that it was due to the fact that we were calculating the block-wise decay power from component-level decay power; and the latter was getting calculated without consideration to the symmetry factor.
E.g., we typically calculate block-wise power by doing something like:
b.decayPower = b.decayPowerDensity * b.getVolume()
where b.getVolume()
accounts for the symmetry factor. However, a block-wise decay power derived from component-level decay power looks something like:
for c in b:
c.decayPower = c.decayPowerDensity * c.getVolume()
b.decayPower = sum(c.decayPower for c in b)
where c.getVolume()
does not respect the symmetry factor.
So all this said, should c.getVolume()
respect the symmetry factor? This could look something like: