Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix radionuclide source emission bugs #496

Merged
merged 4 commits into from
Mar 7, 2019
Merged

Conversation

rtownson
Copy link
Collaborator

@rtownson rtownson commented Nov 20, 2018

This PR is a fairly major overhaul of the radionuclide source, fixing a number of bugs and improving overall modelling accuracy. Comparisons against experimental radionuclide calibrator (Vinten chamber) results show these improvements had a relatively small impact, but this was only for a subset of radionuclides in certain conditions.

  • Improve the normalization of decays, so that the uncertainties on the decay intensities are accounted for when the total decay intensity does not equal 100.

  • Change the internal conversion to use the total intensity, even if the individual shell intensities don't add up to equal the total.

  • Improve the handling of internal transitions from unknown levels, including fixing a bug where the total transition intensity was assigned to the gamma intensity.

  • Add an option of whether or not to model extra transitions when the intensity feeding and leaving a level in the daughter do not match.

  • Fix a bug where internal pair intensity was read as P-shell internal conversion intensity. Add sampling of internal pair production during internal transitions in the radionuclide source model. This improves the accuracy of internal transition decay rates. However, currently the electron positron pair following internal pair production is not produced when the event is sampled. This will be left for future work.

  • Fix a typo in the Th-234 ensdf file, where one decay was duplicated.

  • Fix a bug where particles were killed by setting their energy to zero, but not their weight, during source generation in EGS_RadionuclideSource. This resulted in extra dose being deposited since the rest mass is added to the source particle energy in shower(). This bug only existed since commit e562f24 and did not make it into the master branch.

  • Fix a bug where the branching ratio was not used for alpha records in EGS_RadionuclideSource. Add a check to make sure the branching ratios add up to 1 for the products of a given parent nuclide. If not, the missing branch is assumed to be fission.

  • Add support for P and Q shells for the initial vacancies of relaxations from decays.

  • Improved compatibility with ensdf files from NNDC by allowing the normalization record values to be omitted and assumed as 1.

  • Improved the robustness of checking comments in ensdf files for atomic relaxation data.

@rtownson rtownson self-assigned this Nov 20, 2018
@rtownson rtownson force-pushed the fix-radionuclide-emissions branch from 3290bc5 to 2663431 Compare December 3, 2018 19:16
@rtownson rtownson force-pushed the fix-radionuclide-emissions branch from 2663431 to 1688c33 Compare December 17, 2018 20:30
@rtownson rtownson added this to the Release 2019 milestone Jan 15, 2019
rtownson added 4 commits March 5, 2019 14:03
Set the statistical weight of a particle to zero when the energy is zero
during source generation in EGS_RadionuclideSource. Otherwise, extra
energy is deposited since the rest mass is added to the source particle
energy in the shower() routine.

Fix a bug where the branching ratio was not used for alpha records in
EGS_RadionuclideSource. Add a check to make sure the branching ratios
add up to 1 for the products of a given parent nuclide. If not, the
missing branch is assumed to be fission. Add support for P and Q shells
for the initial vacancies of relaxations from decays.

Change the relaxation emissions to use the intensity of each shell,
instead of the total intensity from the ENSDF file. This is necessary
since the shell intensities do not always add up to the total intensity.

Improve compatibility with NNDC (National Nuclear Data Center) ensdf
files, by allowing for the normalization to be neglected. Also improve
the robustness of checking comments for atomic relaxation data.
Account for the uncertainties on the decay intensities when the total
decay intensity does not equal 100. Use the total intensity for internal
conversion, even if the individual shell intensities don't add up to
equal the total.

Improve the handling of internal transitions from unknown levels,
including fixing a bug where the total transition intensity was assigned
to the gamma intensity.

Add the option to model extra transitions when there is a mismatch
between the intensities in and out of a level in the daughter.

Fix a bug where internal pair intensity was read as P-shell internal
conversion intensity. Remove a duplicated decay in the Th-234 ensdf
file.
Sample of internal pair production during internal transitions in the
radionuclide source model. This improves the accuracy of internal
transition decay rates. However, currently the electron-positron pair
following internal pair production is not produced when the event is
sampled. This is left for future work.
@ftessier ftessier force-pushed the fix-radionuclide-emissions branch from 43f7cfb to 9bfb9be Compare March 5, 2019 20:08
Copy link
Member

@ftessier ftessier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusted text and titles of commits.

@ftessier ftessier merged commit c65b9cc into develop Mar 7, 2019
@ftessier ftessier deleted the fix-radionuclide-emissions branch March 7, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants