Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Enhancing Monte Carlo Workflows for Nuclear Reactor Analysis with Metamodel-Driven Modeling

Journal Article · · Nuclear Science and Engineering
 [1];  [1];  [1];  [2];  [3];  [1]
  1. Rensselaer Polytechnic Inst., Troy, NY (United States)
  2. Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
  3. Univ. of New Mexico, Albuquerque, NM (United States)
Monte Carlo codes are essential components of many reactor physics simulation workflows as high-fidelity continuous-energy neutron transport solvers. Among Monte Carlo radiation transport codes, MCNP is particularly notable due to its diverse simulation capabilities, large user base, and long validation history. Despite being a powerful simulation tool, MCNP provides limited capabilities to allow automated execution, model transformation, or support for user-defined logic and abstractions that limit its compatibility with modern workflows. Here, to better integrate MCNP into a modern scientific workflow, we have developed an intuitive yet full-featured MCNP Application Program Interface (API) in Python, named MCNPy, which provides a specialized set of classes for MCNP input development. Moreover, to guarantee that our reading, writing, and modeling capabilities remain self-consistent (and to render the huge scope of the MCNP API manageable), we have adopted a strategy of model-driven software development in which a generalized model of the MCNP input format has been created. From this generalized model, or “metamodel,” problem-specific implementations such as an engine for input validation or a codebase for programmatic operations may be automatically generated. Since MCNPy primarily acts as a Python front-end to the underlying Java API that directly interfaces with the metamodel, it is intrinsically linked to the metamodel and thus remains maintainable. With MCNPy, users can programmatically read, write, and modify any syntactically valid MCNP input file regardless of its origin. These capabilities allow users to automate complicated tasks like design optimization and model translation for nuclear systems. As examples, this work demonstrates the use of MCNPy to find the critical radius of a plutonium sphere and to translate a 9000+ line MCNP input file into a corresponding OpenMC model.
Research Organization:
Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
Sponsoring Organization:
Office of Nuclear Regulatory Research; USDOE National Nuclear Security Administration (NNSA); USDOE Office of Nuclear Energy (NE)
Grant/Contract Number:
AC05-00OR22725; NE0008707
OSTI ID:
1976016
Journal Information:
Nuclear Science and Engineering, Journal Name: Nuclear Science and Engineering Journal Issue: 8 Vol. 197; ISSN 0029-5639
Publisher:
Taylor & FrancisCopyright Statement
Country of Publication:
United States
Language:
English

References (14)

Computational Tools for the Integrated Design of Advanced Nuclear Reactors journal August 2017
OpenMC: A state-of-the-art Monte Carlo code for research and development journal August 2015
Coupling of system thermal–hydraulics and Monte-Carlo code: Convergence criteria and quantification of correlation between statistical uncertainty and coupled error journal January 2015
The Serpent Monte Carlo code: Status, development and applications in 2013 journal August 2015
Coupling of dynamic Monte Carlo with thermal-hydraulic feedback journal February 2015
Progress toward Monte Carlo–thermal hydraulic coupling using low-order nonlinear diffusion acceleration methods journal October 2015
Preliminary coupling of the Thermal/Hydraulic solvers in the Monte Carlo code MCS for practical LWR analysis journal August 2018
Evaluation of temperature-dependent critical experiments at the Walthousen reactor critical facility for benchmark development journal January 2023
Implementation, capabilities, and benchmarking of Shift, a massively parallel Monte Carlo radiation transport code journal March 2016
MOOSE: A parallel computational framework for coupled systems of nonlinear equations journal October 2009
Modeling and simulation of a High Flux Isotope Reactor representative core model for updated performance and safety basis assessments journal September 2020
AREVA Developments for an Efficient and Reliable use of Monte Carlo codes for Radiation Transport Applications journal January 2017
Scientific Workflows for Mcnp6 and Proteus Within the Neams Workbench journal January 2021
Automatic Conversion of MCNP Geometries to TRIPOLI-4® conference January 2022

Similar Records

Montepy
Software · Sun Jan 07 19:00:00 EST 2024 · OSTI ID:code-117498

OpenMC
Software · Sat Sep 11 20:00:00 EDT 2021 · OSTI ID:code-64709

Modification to the Monte N-Particle (MCNP) Visual Editor (MCNPVised) to read in Computer Aided Design (CAD) files
Technical Report · Wed Jan 28 23:00:00 EST 2004 · OSTI ID:821143