Search NASA⌕ Search

SEARCH · Search NASA

Results for “Simulation and Modeling Tools”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 973 records · Page 54

Simultaneous calibration of surface flow and baseflow simulations: a revisit of the SWAT model calibration framework

Accurate analysis of water flow pathways from rainfall to streams is critical for simulating water use, climate change impact, and contaminants transport. In this study, we developed a new scheme to simultaneously calibrate surface flow (SF) and baseflow (BF) simulations of soil and water assessment tool (SWAT) by combing evolutionary multi-objective optimization (EMO) and BF separation techniques. The application of this scheme demonstrated pronounced trade-off of SWAT’s performance on SF and BF simulations. The simulated major water fluxes and storages variables (e.g. soil moisture, evapotranspiration, and groundwater) using the multiple parameters from EMO span wide ranges. Uncertainty analysis was conducted by Bayesian model averaging of the Pareto optimal solutions. The 90% confidence interval (CI) estimated using all streamflows substantially overestimate the uncertainty of low flows on BF days while underestimating the uncertainty of high flows on SF days. Despite using statistical criteria calculated based on streamflow for model selection, it is important to conduct diagnostic analysis of the agreement of SWAT behaviour and actual watershed dynamics. The new calibration technique can serve as a useful tool to explore the tradeoff between SF and BF simulations and provide candidates for further diagnostic assessment and model identification.

54 ENVIRONMENTAL SCIENCES↗

Massively parallel axisymmetric fluid model for streamer discharges

A highly parallelizable fluid plasma simulation tool based upon the first-order drift-diffusion equations is discussed. Atmospheric pressure plasmas have densities and gradients that require small element sizes in order to accurately simulate the plasm resulting in computational meshes on the order of millions to tens of millions of elements for realistic size plasma reactors. To enable simulations of this nature, parallel computing is required and must be optimized for the particular problem. Here, a finite-volume, electrostatic drift-diffusion implementation for low-temperature plasma is discussed. The implementation is built upon the Message Passing Interface (MPI) library in C++ using Object Oriented Programming. The underlying numerical method is outlined in detail and benchmarked against simple streamer formation from other streamer codes. Electron densities, electric field, and propagation speeds are compared with the reference case and show good agreement. Convergence studies are also performed showing a minimal space step of approximately 4 μm required to reduce relative error to below 1% during early streamer simulation times and even finer space steps are required for longer times. Additionally, strong and weak scaling of the implementation are studied and demonstrate the excellent performance behavior of the implementation up to 100 million elements on 1024 processors. Lastly, different advection schemes are compared for the simple streamer problem to analyze the influence of numerical diffusion on the resulting quantities of interest.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Timing is everything :

People save for retirement throughout their career because it is virtually impossible to save all you ll need in retirement the year before you retire. Similarly, without installing incremental amounts of clean fossil, renewable or transformative energy technologies throughout the coming decades, a radical and immediate change will be near impossible the year before a policy goal is set to be in place. Therefore, our research question is, To meet our desired technical and policy goals, what are the factors that affect the rate we must install technology to achieve these goals in the coming decades? Existing models do not include full regulatory constraints due to their often complex, and inflexible approaches to solve for optimal engineering instead of robust and multidisciplinary solutions. This project outlines the theory and then develops an applied software tool to model the laboratory-to-market transition using the traditional technology readiness level (TRL) framework, but develops subsequent and a novel regulatory readiness level (RRL) and market readiness level (MRL). This tool uses the ideally-suited system dynamics framework to incorporate feedbacks and time delays. Future energy-economic-environment models, regardless of their programming platform, may adapt this software model component framework or module to further vet the likelihood of new or innovative technology moving through the laboratory, regulatory and market space. The prototype analytical framework and tool, called the Technology, Regulatory and Market Readiness Level simulation model (TRMsim) illustrates the interaction between technology research, application, policy and market dynamics as they relate to a new or innovative technology moving from the theoretical stage to full market deployment. The initial results that illustrate the model s capabilities indicate for a hypothetical technology, that increasing the key driver behind each of the TRL, RRL and MRL components individually decreases the time required for the technology to progress through each component by 63, 68 and 64%, respectively. Therefore, under the current working assumptions, to decrease the time it may take for a technology to move from the conceptual stage to full scale market adoption one might consider expending additional effort to secure regulatory approval and reducing the uncertainty of the technology s demand in the marketplace.

Kobos, Peter Holmes↗

A Virtual Engineering Framework for Simulating Advanced Power System

In this report is described the work effort performed to provide NETL with VE-Suite based Virtual Engineering software and enhanced equipment models to support NETL's Advanced Process Engineering Co-simulation (APECS) framework for advanced power generation systems. Enhancements to the software framework facilitated an important link between APECS and the virtual engineering capabilities provided by VE-Suite (e.g., equipment and process visualization, information assimilation). Model enhancements focused on improving predictions for the performance of entrained flow coal gasifiers and important auxiliary equipment (e.g., Air Separation Units) used in coal gasification systems. In addition, a Reduced Order Model generation tool and software to provide a coupling between APECS/AspenPlus and the GE GateCycle simulation system were developed. CAPE-Open model interfaces were employed where needed. The improved simulation capability is demonstrated on selected test problems. As part of the project an Advisory Panel was formed to provide guidance on the issues on which to focus the work effort. The Advisory Panel included experts from industry and academics in gasification, CO2 capture issues, process simulation and representatives from technology developers and the electric utility industry. To optimize the benefit to NETL, REI coordinated its efforts with NETL and NETL funded projects at Iowa State University, Carnegie Mellon University and ANSYS/Fluent, Inc. The improved simulation capabilities incorporated into APECS will enable researchers and engineers to better understand the interactions of different equipment components, identify weaknesses and processes needing improvement and thereby allow more efficient, less expensive plants to be developed and brought on-line faster and in a more cost-effective manner. These enhancements to APECS represent an important step toward having a fully integrated environment for performing plant simulation and engineering. Furthermore, with little effort the modeling capabilities described in this report can be extended to support other DOE programs, such as ultra super critical boiler development, oxy-combustion boiler development or modifications to existing plants to include CO2 capture and sequestration.

01 COAL, LIGNITE, AND PEAT↗

MODELING THE Ly α FOREST IN COLLISIONLESS SIMULATIONS

Cosmological hydrodynamic simulations can accurately predict the properties of the intergalactic medium (IGM), but only under the condition of retaining the high spatial resolution necessary to resolve density fluctuations in the IGM. This resolution constraint prohibits simulating large volumes, such as those probed by BOSS and future surveys, like DESI and 4MOST. To overcome this limitation, we present “Iteratively Matched Statistics” (IMS), a novel method to accurately model the Ly α forest with collisionless N -body simulations, where the relevant density fluctuations are unresolved. We use a small-box, high-resolution hydrodynamic simulation to obtain the probability distribution function (PDF) and the power spectrum of the real-space Ly α forest flux. These two statistics are iteratively mapped onto a pseudo-flux field of an N -body simulation, which we construct from the matter density. We demonstrate that our method can reproduce the PDF, line of sight and 3D power spectra of the Ly α forest with good accuracy (7%, 4%, and 7% respectively). We quantify the performance of the commonly used Gaussian smoothing technique and show that it has significantly lower accuracy (20%–80%), especially for N -body simulations with achievable mean inter-particle separations in large-volume simulations. In addition, we show that IMS produces reasonable and smooth spectra, making it a powerful tool for modeling the IGM in large cosmological volumes and for producing realistic “mock” skies for Ly α forest surveys.

79 ASTRONOMY AND ASTROPHYSICS↗

Thermal hydraulics development for CASL

This talk will describe the technical direction of the Thermal-Hydraulics (T-H) Project within the Consortium for Advanced Simulation of Light Water Reactors (CASL) Department of Energy Innovation Hub. CASL is focused on developing a 'virtual reactor', that will simulate the physical processes that occur within a light-water reactor. These simulations will address several challenge problems, defined by laboratory, university, and industrial partners that make up CASL. CASL's T-H efforts are encompassed in two sub-projects: (1) Computational Fluid Dynamics (CFD), (2) Interface Treatment Methods (ITM). The CFD subproject will develop non-proprietary, scalable, verified and validated macroscale CFD simulation tools. These tools typically require closures for their turbulence and boiling models, which will be provided by the ITM sub-project, via experiments and microscale (such as DNS) simulation results. The near-term milestones and longer term plans of these two sub-projects will be discussed.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Use of Covariances in a Consistent Data Assimilation for Improvement of Basic Nuclear Parameters in Nuclear Reactor Applications: From Meters to Femtometers

Recognition of the key role physics plays in innovative reactor design was already made clear by E. Wigner in his warning: “It has been a bit forgotten that in all really creative thinking in reactor design, a working knowledge of nuclear reaction theory is required.” More recently, extensive sensitivity and uncertainty studies and the availability of new covariance data have allowed preliminary quantification of the impact of current nuclear data uncertainties on the design parameters of the Generation-IV systems (both fast neutron and thermal neutron systems). Similar quantifications can be done for the parameters that characterize the associated innovative fuel cycle to insure sustainability, waste minimization and drastic reduction of the proliferation risks. In parallel, there has been a growing and very significant trend to develop a new generation of reactor simulation tools that rely more and more on first principles. It is safe to say that the next generation of innovative nuclear systems will be assessed with a completely new set of tools, more science based, in sharp contrast with what has been done in the past. However, the studies mentioned above point out that the present uncertainties in nuclear data should be significantly reduced in order to fully benefit from advances in modeling and simulation. Only a parallel effort in advanced simulation and nuclear data improvement will be able to provide designers with more general and well validated calculational tools to meet new design target accuracies. One further consideration related to the development of new advanced simulation tools is that there should be a more explicit link with the more fundamental physics parameters underlying the models used to describe cross sections that would avoid the use of processed, application-oriented, data (like multigroup cross sections). Finally, current methodologies for reducing uncertainties coming from nuclear data, which rely on the use of integral experiment information to perform statistical multigroup (i.e., energy spectrum weighted) cross section data assimilation should evolve to embrace new frontiers in advanced simulation. One of the drawbacks of the classical methodologies is related to the energy group structure and the type of neutron energy spectrum that are adopted in the assimilation (adjustment). In fact, after such an adjustment is performed, neutronic designers are then tied to this energy group structure and neutron energy spectrum when carrying out further calculations. In reality, this can be quite a limiting factor in view of the complex spectral issues that are involved in most reactor physics. This work combines novel, but proven, methodologies for overcoming these limitations. In fact, this is the first attempt to build up a link between the wealth of precise integral experiments and a basic theory of nuclear reactions. Essential ingredients of such a procedure, denominated here as assimilation, are covariances for model parameters and sensitivity matrices. The latter provide direct link between reaction theory and integral experiments. The result is a consistent data assimilation performed directly on the basic nuclear physics parameters that are being used in a variety of nuclear reaction mechanisms. The resulting improvement in their performance will consequently reduce related uncertainties when employed in reactor calculations. By using integral reactor physics experiments (meter scale), information is propagated back to the nuclear physics level (femtometers) covering a range of more than 13 orders of magnitude. The assimilation procedure should result in more accurate and more reliable evaluated data files of universal validity rather than tailored to a particular application. In fact, after data assimilation is carried out, the basic nuclear data file can be processed by a dedicated code into any energy group structure that the reactor physicist deems to be useful. On the other hand, integral experiments used in the assimilation should provide additional, possibly quite strict, constraints on the parameters entering nuclear reaction modeling, as well as the reaction models themselves. This report describes three years of combined research by Brookhaben National Lab (BNL) and Idaho National Lab (INL) on establishing viable assimilation methodology. The emphasis of this paper is on the empire code calculations to prepare the priors, sensitivity matrices and covariances for the model parameters. For completeness, we also include a short summary of the assimilation results produced by INL and reported earlier in annual reports [6], [7], [8].

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Computationally inexpensive part-scale thermal history of additive friction-stir deposition

This study presents an analytical model for steady-state power generation and tool heat loss in additive friction-stir deposition (AFSD), developed to enable part-scale thermal simulation while remaining computationally inexpensive. The model predicts total generated power, yielding 3.7–4.7 kW across deposition temperature setpoints of 400–460 °C for the deposition of AA6061 with a Be-Cu tool. This corresponds to 90–95% of the reported spindle power. Tool heat loss is experimentally determined by calibrating a steady-state energy balance between the generated power, the substrate-deposition thermal gradient, and a temperature dependent tool heat loss term: q tool (T) = a + b (T - 400°C) with a = 2.7 x 10 6 Wm -2 and b = 9.5 x 10 3 Wm -2 K -1 . The calibration indicates that about 69% of the generated heat is conducted into the tool for this configuration, which is much higher than previously reported. The calibrated heat-source is implemented in finite element software (Adamantine) to simulate the transient thermal history of a 100 cm 3 representative build in 8 min on a standard desktop (at 0.635 mm build-height resolution). For the first three layers, the substrate temperatures between simulation and experiment are within 10% mean absolute percentage error. Sensitivity analysis indicates that uncertainties in average deposition temperature and deformation localization (stir-zone geometry, depth, and spatial dependance of strain-rate and flow stress) dominate model variance, motivating additional experimental verification.

Additive Friction-Stir Deposition↗

Simulation of Internal Combustion Engines with High-Performance Computing Tools

Traditional Lagrangian spray modeling approaches for internal combustion engines are highly griddependent due to insufficient resolution in the near nozzle region. This is primarily because of inherent restrictions of volume fraction with the Lagrangian assumption together with high computational costs associated with small grid sizes. A state-of-the-art grid-convergent spray modeling approach was developed and implemented by Senecal et al. (ASME-ICEF2012-92043) in the CONVERGE software. The key features of the methodology include Adaptive Mesh Refinement (AMR), advanced liquid-gas momentum coupling, and improved distribution of the liquid phase, which enables use of cell sizes smaller than the nozzle diameter. This modeling approach was rigorously validated against nonevaporating, evaporating, and reacting data from the literature. The current numerical study focusses on further demonstration of the grid-convergent modeling approach for simulating a single-cylinder Cat® compression ignition engine. The simulated injector is characterized with a nominal nozzle exit diameter of 259 μm. Simulations using various minimum grid sizes (ranging from 125 μm to 1000 μm) are compared for engine performance and emissions parameters of interest such as pressure, heat release rate, ignition delay, NOx, HC, and soot emissions. The peak cell-count for the highest resolution simulation was on the order of 34 million. These computationally expensive simulations were facilitated at a high-performance computing facility at Argonne National Laboratory. METIS load-balancing algorithm was developed and implemented in Converge code for the simulations. Scaling studies were also performed. The validity of previously recommended grid settings (ASME-ICEF2012-92043) for accuracy/runtime trade-off is further assessed. Efficacy of a simplified combustion model is also compared against a detailed chemical kinetics based combustion model.

33 ADVANCED PROPULSION SYSTEMS↗

Implementing Nonlinear Buoyancy and Excitation Forces in the WEC-Sim Wave Energy Converter Modeling Tool: Preprint

Wave energy converters (WECs) are commonly designed and analyzed using numerical models that combine multi-body dynamics with hydrodynamic models based on the Cummins Equation and linearized hydrodynamic coefficients. These modeling methods are attractive design tools because they are computationally inexpensive and do not require the use of high performance computing resources necessitated by high-fidelity methods, such as Navier Stokes computational fluid dynamics. Modeling hydrodynamics using linear coefficients assumes that the device undergoes small motions and that the wetted surface area of the devices is approximately constant. WEC devices, however, are typically designed to undergo large motions in order to maximize power extraction, calling into question the validity of assuming that linear hydrodynamic models accurately capture the relevant fluid-structure interactions. In this paper, we study how calculating buoyancy and Froude-Krylov forces from the instantaneous position of a WEC device (referred to as instantaneous buoyancy and Froude-Krylov forces from herein) changes WEC simulation results compared to simulations that use linear hydrodynamic coefficients. First, we describe the WEC-Sim tool used to perform simulations and how the ability to model instantaneous forces was incorporated into WEC-Sim. We then use a simplified one-body WEC device to validate the model and to demonstrate how accounting for these instantaneously calculated forces affects the accuracy of simulation results, such as device motions, hydrodynamic forces, and power generation.

13 HYDRO ENERGY↗

Methodology and Application of Physical Security Effectiveness Based on Dynamic Force-on-Force Modeling

This report describes the research and development being performed at INL towards a dynamic modeling and simulation framework to enable physical security optimization at commercial nuclear power plants. The framework is based on the dynamic modeling tool EMRALD and is demonstrated for applications that can result in physical security optimization. Two main applications are presented: 1. Integrating FLEX portable equipment performance with FOF models of a plant’s physical security posture, and 2. Location optimization of bullet resistant enclosure. The generic framework for modeling FLEX portable equipment is described in detail, followed by a case study modeling an adversarial attack aimed at causing a radiological release by sabotaging the plant’s power supply and its ultimate heat sink capabilities at a hypothetical PWR. Two distinct FLEX deployment strategies, series and parallel, are modeled with distinct timelines. The results of the adversarial attack modeled in a commercial FOF tool, AVERT, are integrated with the FLEX deployment model in EMRALD. Monte Carlo simulation is used to model the distribution of the timeline in FLEX deployment strategies. Thermal-hydraulic analysis of FLEX performance is performed in RELAP5 and integrated with the EMRALD simulations to provide more realistic timelines in the models. The results demonstrate that, even in the extreme case of a successful adversarial attack, deployment of FLEX equipment can result in a significantly high likelihood of preventing radiological release. The modeling and simulation framework of integrating FLEX equipment with FOF models enables the NPPs to credit FLEX portable equipment in the plant security posture, resulting in an efficient and optimized physical security. The objective of location optimization of BRE is to determine the best location in the plant for a new BRE being planned by the plant to enhance their physical security effectiveness. The plant physical security FOF model is integrated with EMRALD that performs Monte Carlo simulation to run different attack scenarios and a discrete set of potential BRE locations. Sensitivity analysis is used to determine the most effective location for the BRE. The optimization approach can be extended to wide applications such as location optimization of remotely operated weapons and other strategic fixed assets.

97 MATHEMATICS AND COMPUTING↗

A permeability model for coal and other fractured, sorptive-elastic media

This paper describes the derivation of a new equation that can be used to model the permeability behavior of a fractured, sorptive-elastic medium, such as coal, under variable stress conditions. The equation is applicable to confinement pressure schemes commonly used during the collection of permeability data in the laboratory. The model is derived for cubic geometry under biaxial or hydrostatic confining pressures. The model is designed to handle changes in permeability caused by adsorption and desorption of gases onto and from the matrix blocks in fractured media. The model equations can be used to calculate permeability changes caused by the production of methane (CH{sub 4}) from coal as well as the injection of gases, such as carbon dioxide, for sequestration in coal. Sensitivity analysis of the model found that each of the input variables can have a significant impact on the outcome of the permeability forecast as a function of changing pore pressure, thus, accurate input data are essential. The permeability model also can be used as a tool to determine input parameters for field simulations by curve fitting laboratory-generated permeability data. The new model is compared to two other widely used coal-permeability models using a hypothetical coal with average properties.

01 COAL, LIGNITE, AND PEAT↗

A Permeability Model for Coal and Other Fractured, Sorptive-Elastic Media

This paper describes the derivation of a new equation that can be used to model the permeability behavior of a fractured, sorptive-elastic medium, such as coal, under variable stress conditions. The equation is applicable to confinement pressure schemes commonly used during the collection of permeability data in the laboratory. The model is derived for cubic geometry under biaxial or hydrostatic confining pressures. The model is designed to handle changes in permeability caused by adsorption and desorption of gases onto and from the matrix blocks in fractured media. The model equations can be used to calculate permeability changes caused by the production of methane (CH4) from coal as well as the injection of gases, such as carbon dioxide, for sequestration in coal. Sensitivity analysis of the model found that each of the input variables can have a significant impact on the outcome of the permeability forecast as a function of changing pore pressure; thus, accurate input data are essential. The permeability model also can be used as a tool to determine input parameters for field simulations by curve fitting laboratory-generated permeability data. The new model is compared to two other widely used coal-permeability models using a hypothetical coal with average properties.

01 COAL, LIGNITE, AND PEAT↗

Mutual optical intensity propagation through non-ideal two-dimensional mirrors

The mutual optical intensity (MOI) model is a partially coherent radiation propagation tool that can sequentially simulate beamline optics and provide beam intensity, local degree of coherence and phase distribution at any location along a beamline. This paper extends the MOI model to non-ideal twodimensional (2D) optical systems, such as ellipsoidal and toroidal mirrors with 2D figure errors. Simulation results show that one can tune the trade-off between calculation efficiency and accuracy by varying the number of wavefront elements. The focal spot size of an ellipsoidal mirror calculated with 100 $\times$ 100 elements gives less than 0.4% deviation from that with 250 $\times$ 250 elements, and the computation speed is nearly two orders of magnitude faster. Effects of figure errors on 2D focusing are also demonstrated for a non-ideal ellipsoidal mirror and by comparing the toroidal and ellipsoidal mirrors. Finally, the MOI model is benchmarked against the multi-electron Synchrotron Radiation Workshop (SRW) code showing the model’s high accuracy.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

ERAS: Enabling the Integration of Real-World Intellectual Properties (IPs) in Architectural Simulators

Sandia National Laboratories is investigating scalable architectural simulation capabilities with a focus on simulating and evaluating highly scalable supercomputers for high performance computing applications. There is a growing demand for RTL model integration to provide the capability to simulate customized node architectures and heterogeneous systems. This report describes the first steps integrating the ESSENTial Signal Simulation Enabled by Netlist Transforms (ESSENT) tool with the Structural Simulation Toolkit (SST). ESSENT can emit C++ models from models written in FIRRTL to automatically generate components. The integration workflow will automatically generate the SST component and necessary interfaces to ’plug’ the ESSENT model into the SST framework.

97 MATHEMATICS AND COMPUTING↗

Multiscale Simulation of Precipitation Over East Asia by Variable Resolution CAM-MPAS

This study evaluates the precipitation over East Asia simulated by the variable resolution CAM-MPAS featuring the Model for Prediction Across Scales (MPAS) atmospheric dynamical core coupled with the physics parameterizations of the Community Atmosphere Model (CAM) version 5.4. Two CAM-MPAS experiments, one with a global quasi-uniform resolution mesh of 120 km (MPAS-UR) and the other with a variable resolution mesh of 30 to 120 km refined over East Asia (MPAS-VR), are conducted from 1989 to 2005 following the Atmospheric Model Intercomparison Project protocol. Two regional climate model simulations at ~25 km resolution from the Coordinated Regional Downscaling Experiment East Asia second plan are also analyzed for comparison. Results show that CAM-MPAS performs better than the selected regional models in simulating the precipitation climatology over East Asia. Compared with MPAS-UR, MPAS-VR with refinement over East Asia better simulates the precipitation over and around the Tibetan Plateau (TP), the frequency distribution of light, moderate, and heavy precipitation in various regions of China, and the interannual precipitation pattern associated with the East Asian summer monsoon. The improvements in MPAS-VR relative to MPAS-UR largely come from the decreased grid spacing rather than the use of finer-scale terrain information. Particularly, decreased grid spacing is more essential for simulating the precipitation magnitude over TP and the location of peak precipitation south of TP, likely due to the better resolved physical and dynamical processes associated with orographic precipitation. The 30-120 km CAM-MPAS model is shown to be a promising tool for precipitation simulation over East Asia.

54 ENVIRONMENTAL SCIENCES↗

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

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.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗