Engineering Papers⌕ Search

DOE OSTI · 1998091

Reassessing the MCNP Random Number Generator

Abstract

Random number generators are integral components to Monte Carlo codes. They provide the pseudorandom number sequence used to actually sample the distributions of interest. As a result, they are one of the most important components to the software. The current recommended MCNP random number generator is a 63-bit linear congruential generator (LCG). This generator is quite fast, but it has some drawbacks. First, it only has a period of 2 63 . Due to the necessarily non-optimal usage of random numbers to ensure parallel reproducibility, this amount is too few to guarantee random number sequences are not reused in all configurations the code runs under. As simulation size increases, users will need to be aware of the limitations of the generator and tune configuration variables to best suit their simulations, or they will need to assume that reuse is not negatively affecting their answers. Neither of these are optimal. Second, small LCGs are fairly weak in bit generation quality, and this can have an unknown impact on the quality of the simulation. This paper is an investigation into whether or not more modern random number generators can supersede the current ones. The goal is to find a generator that is similar or superior in speed to the LCGs, has a state space large enough to make strong guarantees about random number reuse, and passes all modern random number test suites. If such a generator is found, it would eliminate the need for the user to even be aware of the limitations of the random number generator and would simplify the use of the code. This paper will be broken into several parts. Sec. 2 will discuss the evolution of the random number generator within the MCNP code. Sec. 3 will go over what a Monte Carlo code needs from a generator to be reproducible and portable and how the current generator behaves in that light. Sec. 4 goes through how each generator was tested. Finally, Sec. 5 will discuss improvements that could be made to the code.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Josey, Colin James. 2023-08-24. Reassessing the MCNP Random Number Generator. https://doi.org/10.2172/1998091

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related reports

Design-informed neutronics assessment of long-lived fission product transmutation in a tokamak fusion reactor blanket

This study presents a neutronics-based assessment of the feasibility and viability of transmuting six major long-lived fission products (LLFPs) from light-water reactors, namely 99 Tc, 129 I, 79 Se, 93 Zr, 126 Sn, and 135 Cs, within the blanket region of a tokamak fusion reactor, using the MIT ARC design as a concrete fusion configuration. Monte Carlo neutronics simulations were performed to evaluate LLFP transmutation and to compare the results with a reference boiling water reactor (BWR). The results indicate that transmutation of all six LLFPs is neutronics-feasible in fusion reactors, with transmutation half-lives significantly shorter than their natural decay half-lives. For elemental targets, transmutation of 135 Cs, 126 Sn, and 93 Zr was found potentially viable, as the net mass transmuted exceeded that achievable in the reference BWR under identical target volume and irradiation time. When isotopically separated targets were considered, transmutation of 126 Sn and 93 Zr appeared potentially viable. A parametric study demonstrated that plasma geometry modifications can enhance local neutron flux, increasing the transmuted 93 Zr mass by approximately 33% and reducing the transmutation half-life from approximately 240 years to 180 years. Repositioning the target and adjusting material layer thickness reduced the transmutation half-life of 93 Zr to 67 years and increased the net mass transmuted by a factor of 50. Furthermore, these results demonstrate that fusion reactors can enable LLFP transmutation beyond the practical limits of thermal fission reactors and highlight the critical role of reactor and blanket design optimization. Engineering and fuel-cycle considerations required for deployment are beyond the scope of this neutronics-focused study.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

A hybrid Monte Carlo-deterministic second moment method with efficient variance reduction

In this work, we present a hybrid method that combines Monte Carlo with deterministic finite element methods to solve a linear Boltzmann transport equation. Our hybrid method runs orders of magnitude faster than Monte Carlo, without sacrificing accuracy, for a proxy problem from radiative transfer that contains both optically-thick and optically-thin material. We believe that this is the first demonstration of a hybrid Second Moment Method in more than one spatial dimension, the first to consider more than one material, and the first to use variance reduction. Our variance reduction approach arises from an asymptotic analysis in which we show that the magnitude of the scattering source grows without bound. We transform the problem to compute the deviation of the radiation intensity from isotropy. The magnitude of the source in the transformed problem is bounded, and the quality of the hybrid method solution is dramatically improved by a substantial reduction in the variance.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗