DOE OSTI · 3382403
Validation and Verification of Python based Neutron Spectrum Unfolding Software
Abstract
To validate and verify the python-based code (PySL), designed to replicate the programs used by STAYSL for Beam Correction Factor (BCF) and Self-Shielding Factor (SHIELD), a series of tests were performed. To test BCF a python script was written to generate a random flux history file and both versions of the code processed the data. The test verified matching values up to at least one decimal place, approximately 10,000 tests where run and each one passed. Isotopes began to fail the tests once neutron saturation was reached. To verify this the total time of exposure was varied the isotopes that failed were compared to a list of their half-lives. The test process for SHIELD was very similar but, in this case, the code began by producing an input file with varying thickness and device type/environment for the SHIELD input. The failure condition for this test was if any of the data points for an isotope had a difference above 3%. Approximately 40 of these tests were run and there were only 3 isotopes that had reoccurring failures but only 2% of their points were above the 3% difference. A visual comparison was conducted by plotting the results from both programs. Although the test failed, the differences between their values were minuscule, and the self-shielding factor’s shape was preserved when plotted. Next steps for this project will be validating and verifying the python-based SigPhi code and then reproducing and testing the least squares unfolding performed by STAYSL.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Reichenberger, Michael A [Idaho National Laboratory] (ORCID:0000000187494645), Hojnowski, Daniel Norlan [Idaho National Laboratory] (ORCID:0009000836581667), Quist, Teancum Earl [Idaho National Laboratory], Cardenas, Edna S [Idaho National Laboratory] (ORCID:0000000209982974). 2026-07-20. Validation and Verification of Python based Neutron Spectrum Unfolding Software. https://www.osti.gov/biblio/3382403
Cite the original work for its findings. Save a collection to share your selection of sources.