Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “code optimization”

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 1,459 records · Page 81

Shot-by-shot Spectrum Model for Rod-pinch, Pulsed Radiography Machines

A simplified model of bremsstrahlung production is developed for determining the x-ray spectrum output of a rod-pinch radiography machine, on a shot-by-shot basis, using the measured voltage, V(t), and current, I(t). The motivation for this model is the need for an agile means of providing shot-by-shot spectrum prediction, from a laptop or desktop computer, for quantitative radiographic analysis. Simplifying assumptions are discussed, and the model is applied to the Cygnus rod-pinch machine. Output is compared to wedge transmission data for a series of radiographs from shots with identical target objects. Resulting model enables variation of parameters in real time, thus allowing for rapid optimization of the model across many shots. “Goodness of fit” is compared with output from LSP Particle-In-Cell code, as well as the Monte Carlo Neutron Propagation with Xrays (“MCNPX”) model codes, and is shown to provide an excellent predictive representation of the spectral output of the Cygnus machine. In conclusion, improvements to the model, specifically for application to other geometries, are discussed.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Pentagonal prism spherical hohlraums for OMEGA

A new configuration is proposed for spherical hohlraums on OMEGA in which seven laser entrance holes (LEHs) are used—five around the equator and one at each pole [Farmer et al., Phys. Plasmas 26, 032701 (2019)]. This is known as the PEPR (pentagonal prism) hohlraum. A new view-factor code LORE is used to model the PEPR hohlraum and compare its performance with tetrahedral hohlraums shot on OMEGA. With optimization of beam pointings, the PEPR hohlraum produces a nonuniformity ranging from 1.1% (rms) at low albedos to 0.6% at high albedos. The tradeoffs between hohlraum-to-capsule ratio, uniformity, and background radiation temperature have been explored, and it has been shown that larger LEH radii on the poles can result in a modest improvement in uniformity. Here, the seven-hole PEPR hohlraum is well matched to the OMEGA symmetry and promises to provide insight into the performance of spherical hohlraums including octahedral (six-LEH) hohlraums.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Uncertainty Analysis in 3D Equilibrium Reconstruction

Reconstruction is an inverse process where a parameter space is searched to locate a set of parameters with the highest probability of describing experimental observations. Due to systematic errors and uncertainty in experimental measurements, this optimal set of parameters will contain some associated uncertainty. This uncertainty in the optimal parameters leads to uncertainty in models derived using those parameters. V3FIT is a three-dimensional (3D) equilibrium reconstruction code that propagates uncertainty from the input signals, to the reconstructed parameters, and to the final model. Here in this paper, we describe the methods used to propagate uncertainty in V3FIT. Using the results of whole shot 3D equilibrium reconstruction of the Compact Toroidal Hybrid, this propagated uncertainty is validated against the random variation in the resulting parameters. Two different model parameterizations demonstrate how the uncertainty propagation can indicate the quality of a reconstruction. As a proxy for random sampling, the whole shot reconstruction results in a time interval that will be used to validate the propagated uncertainty from a single time slice.

97 MATHEMATICS AND COMPUTING↗

An LLVM Instrumentation Plug-in for Score-P

Reducing application runtime, scaling parallel applications to higher numbers of processes/threads, and porting applications to new hardware architectures are tasks necessary in the software development process. Therefore, developers have to investigate and understand application runtime behavior. Tools such as monitoring infrastructures that capture performance relevant data during application execution assist in this task. The measured data forms the basis for identifying bottlenecks and optimizing the code.Monitoring infrastructures need mechanisms to record application activities in order to conduct measurements. Automatic instrumentation of the source code is the preferred method in most application scenarios. We introduce a plug-in for the LLVM infrastructure that enables automatic source code instrumentation at compile-time. In contrast to available instrumentation mechanisms in LLVM/Clang, our plug-in can selectively include/exclude individual application functions. This enables developers to fine-tune the measurement to the required level of detail while avoiding large runtime overheads due to excessive instrumentation.

Tschüter, Ronny↗

ORCHA: A performance portability system for extreme heterogeneity

Heterogeneity is the prevalent trend in the rapidly evolving high-performance computing (HPC) landscape in both hardware and application software. The diversity in hardware platforms, currently comprising various accelerators and a future possibility of specializable chiplets, poses a significant challenge for scientific software developers aiming to harness optimal performance across different computing platforms while maintaining the quality of solutions when their applications are simultaneously growing more complex. Code synthesis and code generation can provide mechanisms to mitigate this challenge. We have developed a divide and conquer approach where different aspects of performance are handled by different stand-alone tools that are interfaced with the application through generated code. This portability system, ORCHA, enables users to configure and orchestrate their computations among available resources on a platform by specifying a high-level recipe, thereby permitting a many-to-many paradigm where each recipe results in a different variant of the application. The core design goal is to let users decide the application’s hardware mapping and orchestration by editing only the high-level recipe—without modifying the maintained source code or binding the application to a particular runtime system. Tools in ORCHA distribution are: CG-Kit for translating the recipe into an execution graph; Milhoja to execute the graph by orchestrating data and task movement among hardware resources; and Macroprocessor that enables users to define their own code-shorthand for higher composability and easier management of code variants. Additionally, the design of ORCHA permits tools to work in a plug-and-play mode where the application can build and run without CG-Kit and Milhoja, and either tool can be swapped out for other tools with similar capabilities by modifying the code generation portion of ORCHA. In this paper, we describe the design of ORCHA and the role that code-generation plays in isolating applications from tools. We demonstrate the breadth of configurations ORCHA enables with a case study in which an application configuration is realized on three distinct hardware mappings—a GPU-centric, a CPU/GPU balanced, and a CPU/GPU concurrent layouts by using different recipes.

Lee, Youngjun↗

Liquid Salt Heat Exchanger Technology for VHTR Based Applications

The objective of this research is to evaluate performance of liquid salt fluids for use as a heat carrier for transferring high-temperature process heat from the very high-temperature reactor (VHTR) to chemical process plants. Currently, helium is being considered as the heat transfer fluid; however, the tube size requirements and the power associated with pumping helium may not be economical. Recent work on liquid salts has shown tremendous potential to transport high-temperature heat efficiently at low pressures over long distances. This project has two broad objectives: To investigate the compatibility of Incoloy 617 and coated and uncoated SiC ceramic composite with MgCl 2 -KCl molten salt to determine component lifetimes and aid in the design of heat exchangers and piping; and, To conduct the necessary research on the development of metallic and ceramic heat exchangers, which are needed for both the helium-to-salt side and salt-to-process side, with the goal of making these heat exchangers technologically viable. The research will consist of three separate tasks. The first task deals with material compatibility issues with liquid salt and the development of techniques for on-line measurement of corrosion products, which can be used to measure material loss in heat exchangers. Researchers will examine static corrosion of candidate materials in specific high-temperature heat transfer salt systems and develop an in situ electrochemical probe to measure metallic species concentrations dissolved in the liquid salt. The second task deals with the design of both the intermediate and process side heat exchanger systems. Researchers will optimize heat exchanger design and study issues related to corrosion, fabrication, and thermal stresses using commercial and in-house codes. The third task focuses integral testing of flowing liquid salts in a heat transfer/materials loop to determine potential issues of using the salts and to capture realistic behavior of the salts in a small scale prototype system. This includes investigations of plugging issues, heat transfer, pressure drop, and the corrosion and erosion of materials in the flowing system.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Relative Credits for Extra Efficiency Code Measures

Energy codes have traditionally contained mandatory and prescriptive items. Mandatory measures must be complied with in all situations while prescriptive measures can be traded with other efficiency measures by following a performance path. Recent editions of the International Energy Conservation Code (IECC) also contain additional efficiency packages, where one or more optional measures must be selected to satisfy an ‘additional’ efficiency requirement. Such a structure is currently employed in section C406 of the IECC, and similar approaches have been considered for ASHRAE Standard 90.1 as well as state building codes. This approach has the advantage of providing increasing levels of performance, while maintaining flexibility in allowing the designer to optimize the most appropriate technologies and efficiency measured based on the attributes of a particular project.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Particle Sensitivity Analysis

We propose to develop a computational sensitivity analysis capability for Monte Carlo sampling-based particle simulation relevant to Aleph, Cheetah-MC, Empire, Emphasis, ITS, SPARTA, and LAMMPS codes. These software tools model plasmas, radiation transport, low-density fluids, and molecular motion. Our report demonstrates how adjoint optimization methods can be combined with Monte Carlo sampling-based adjoint particle simulation. Our goal is to develop a sensitivity analysis to drive robust design-based optimization for Monte Carlo sampling-based particle simulation - a currently unavailable capability.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Linac_Gen: Integrating Machine Learning and Particle-in-Cell Methods for Enhanced Beam Dynamics at Fermilab

Here, we introduce Linac_Gen, a tool developed at Fermilab, which combines machine learning algorithms with Particle-in-Cell methods to advance beam dynamics in linacs. Linac_Gen employs techniques such as Random Forest, Genetic Algorithms, Support Vector Machines, and Neural Networks, achieving a tenfold increase in speed for phase-space matching in Linacs over traditional methods, through the use of genetic algorithms. Crucially, Linac_Gen's adept handling of 3D field maps elevates the precision and realism in simulating beam instabilities and resonances, marking a key advancement in the field. Benchmarked against established codes, Linac_Gen demonstrates not only improved efficiency and precision in beam dynamics studies but also in the design and optimization of Linac systems, as evidenced in its application to Fermilab's PIP-II Linac project. This work represents a notable advancement in accelerator physics, marrying ML with PIC methods to set new standards for efficiency and accuracy in accelerator design and research. Linac_Gen exemplifies a novel approach in accelerator technology, offering substantial improvements in both theoretical and practical aspects of beam dynamics.

43 PARTICLE ACCELERATORS↗

High-Resolution Scanning Coded-Mask-Based X-ray Multi-Contrast Imaging and Tomography

Near-field X-ray speckle tracking has been used in phase-contrast imaging and tomography as an emerging technique, providing higher contrast images than traditional absorption radiography. Most reported methods use sandpaper or membrane filters as speckle generators and digital image cross-correlation for phase reconstruction, which has either limited resolution or requires a large number of position scanning steps. Recently, we have proposed a novel coded-mask-based multi-contrast imaging (CMMI) technique for single-shot measurement with superior performance in efficiency and resolution compared with other single-shot methods. We present here a scanning CMMI method for the ultimate imaging resolution and phase sensitivity by using a coded mask as a high-contrast speckle generator, the flexible scanning mode, the adaption of advanced maximum-likelihood optimization to scanning data, and the multi-resolution analysis. Scanning CMMI can outperform other speckle-based imaging methods, such as X-ray speckle vector tracking, providing higher quality absorption, phase, and dark-field images with fewer scanning steps. Scanning CMMI is also successfully demonstrated in multi-contrast tomography, showing great potentials in high-resolution full-field imaging applications, such as in vivo biomedical imaging.

Qiao, Zhi (ORCID:0000000233928732)↗

MEASURING RISK IMPORTANCE IN A DYNAMIC PRA FRAMEWORK

Risk importance measures are indexes that are used to rank systems, structures and components (SSCs) using risk-informed methods. The most used/known measures are: Risk Reduction Worth (RRW), Risk Achievement Worth (RAW), Birnbaum (B) and Fussell-Vesely (FV). Once obtained from classical Probabilistic Risk Analysis (PRA) analyses, these risk measures can be effectively employed to optimize component testing and maintenance. In contrast to classical PRA methods, Dynamic PRA methods couple stochastic methods with safety analysis codes to determine risk associate to complex systems such as nuclear plants. Compared to classical PRA methods, they can evaluate with higher resolution the safety impact of timing and sequencing of events on the accident progression. The objective of this paper is to present a series of algorithms that can be used to determine classical risk importance measures (RRW, RAW, B and FV) along with newly developed ones from a Dynamic PRA analysis.

97 MATHEMATICS AND COMPUTING↗

Experimental validation of CASMO-4E and CASMO-5M for radial fission rate distributions in a westinghouse SVEA-96 Optima2 BWR fuel assembly

Measured and calculated radial total fission rate distributions are compared for the three axial sections of a Westinghouse SVEA-96 Optima2 BWR fuel assembly, comprising 96, 92 and 84 fuel rods, respectively. The measurements were performed on a full-size fuel assembly in the PROTEUS zero-power experimental facility. The measured fission rates are compared to the results of the CASMO-4E and CASMO-5M fuel assembly codes. Detailed measured geometrical data were used in the models, and effects of the surrounding zones of the reactor were taken into account by correction factors derived from MCNPX calculations. The results of the calculations agree well with those of the experiments, with root-mean-square deviations between 1.2% and 1.5% and maximum deviations of 3-4%. The quality of the predictions by CASMO-4E and CASMO-5M is comparable. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Effective use of DXTRAN in MCNP - 25480

The DXTRAN variance reduction method enables Monte Carlo radiation transport calculations to deterministically place particle tracks on spheres surrounding geo-metric regions of interest. For many problems DXTRAN is the best way to transport particles to small distant regions or to angle bias particles exiting collisions. We provide guidance for optimal selection of parameters when using both single and nested DXTRAN spheres in Monte Carlo N-Particle radiation transport code (MCNP) calculations. Our recommendations are based upon both the underlying mathematics of DXTRAN and two demonstration MCNP simulations. (authors)

61 RADIATION PROTECTION AND DOSIMETRY↗

Linac_Gen: integrating machine learning and particle-in-cell methods for enhanced beam dynamics at Fermilab

Here, we introduce Linac_Gen, a tool developed at Fermilab, which combines machine learning algorithms with Particle-in-Cell methods to advance beam dynamics in linacs. Linac_Gen employs techniques such as Random Forest, Genetic Algorithms, Support Vector Machines, and Neural Networks, achieving a tenfold increase in speed for phase-space matching in linacs over traditional methods through the use of genetic algorithms. Crucially, Linac_Gen's adept handling of 3D field maps elevates the precision and realism in simulating beam instabilities and resonances, marking a key advancement in the field. Benchmarked against established codes, Linac_Gen demonstrates not only improved efficiency and precision in beam dynamics studies but also in the design and optimization of linac systems, as evidenced in its application to Fermilab's PIP-II linac project. This work represents a notable advancement in accelerator physics, marrying ML with PIC methods to set new standards for efficiency and accuracy in accelerator design and research. Linac_Gen exemplifies a novel approach in accelerator technology, offering substantial improvements in both theoretical and practical aspects of beam dynamics.

43 PARTICLE ACCELERATORS↗

RELAP-7 Progress Report. FY-2015 Optimization Activities Summary

This report summarily documents the optimization activities on RELAP-7 for FY-2015. It includes the migration from the analytical stiffened gas equation of state for both the vapor and liquid phases to accurate and efficient property evaluations for both equilibrium and metastable (nonequilibrium) states using the Spline-Based Table Look-up (SBTL) method with the IAPWS-95 properties for steam and water. It also includes the initiation of realistic closure models based, where appropriate, on the U.S. Nuclear Regulatory Commission’s TRACE code. It also describes an improved entropy viscosity numerical stabilization method for the nonequilibrium two-phase flow model of RELAP-7. For ease of presentation to the reader, the nonequilibrium two-phase flow model used in RELAP-7 is briefly presented, though for detailed explanation the reader is referred to RELAP-7 Theory Manual [R.A. Berry, J.W. Peterson, H. Zhang, R.C. Martineau, H. Zhao, L. Zou, D. Andrs, “RELAP-7 Theory Manual,” Idaho National Laboratory INL/EXT-14-31366(rev. 1), February 2014].

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Target Diagnostics Supports NIF's Path to Ignition

The physics requirements derived from the National Ignition Facility (NIF) experimental campaigns are leading to a wide variety of target diagnostics. Software development for the control and analysis of these diagnostics is included in the NIF Integrated Computer Control System, Diagnostic Control System and Data Visualization. These projects implement the configuration, controls, data analysis and visual representation of most of these diagnostics. To date, over 40 target diagnostics have been developed to support NIF experiments. In 2011 diagnostics were developed or enhanced to measure Ignition performance in a high neutron yield environment. Performance is optimized around four key variables: Adiabat (a) which is the strength and timing of four shocks delivered to the target, Velocity (V) of the imploding target, Mix (M) is the uniformity of the burn, and the Shape (S) of the imploding Deuterium Tritium (DT) hot spot. The diagnostics used to measure each of these parameters is shown in figure 1. Adiabat is measured using the Velocity Interferometer System for Any Reflector (VISAR) diagnostic consisting of three streak cameras. To provide for more accurate adiabat measurements the VISAR streak cameras were enhanced in FY11 with a ten comb fiducial signal controller to allow for post shot correction of the streak camera sweep non-linearity. Mix is measured by the Neutron Time of Flight (NTOF) and Radiochemical Analysis of Gaseous Samples (RAGS) diagnostics. To accommodate high neutron yield shots, NTOF diagnostic controls are being modified to use Mach Zehnder interferometer signals to allow the digitizers to be moved from near the target chamber to the neutron shielded diagnostic mezzanine. In December 2011 the first phase of RAGS diagnostic commissioning will be completed. This diagnostic will analyze the tracers that are added to NIF target capsules that undergo nuclear reactions during the shot. These gases are collected and purified for nuclear counting by the RAGS system. Three new instrument controllers were developed and commissioned to support this diagnostic. A residual-gas analyzer (RGA) instrument measures the gas content at various points in the system. The Digital Gamma Spectrometer instrument measures the radiological spectrum of the decaying gas isotopes. A final instrument controller was developed to interface to a PLC based Gas collection system. In order to support the implosion velocity measurements an additional Gated X-ray Detector (GXD) diagnostic was tested and commissioned. This third GXD views the target through a slit contained in its snout and allows the other GXD diagnostics to be used for measuring the shape on the same shot. In order to measure the implosion shape in a high neutron environment, Actide Readout In A Neutron Environment (ARIANE) and Neutron Imaging (NI) diagnostics were commissioned. The controls for ARIANE, a fixed port gated x-ray imager, contain a neutron shielded camera and micro channel plate pulser with its neutron sensitive electronics located in the diagnostic mezzanine. The NI diagnostic is composed of two Spectral Instruments SI-1000 cameras located 20M from the target and provides neutron images of the DT hot spot for high yield shots. The development and commissioning of these new or enhanced diagnostics in FY11 have provided meaningful insight that facilitates the optimization of the four key Ignition variables. In FY12 they will be adding three new diagnostics and enhancing four existing diagnostics in support of the continuing optimization series of campaigns.

42 ENGINEERING↗

PVDeg: Enhancing Usability and AI-Driven Multi-Mechanism Degradation Modeling

PVDeg version 0.7.0, released in December 2025, introduced major enhancements to improve usability and performance. This update reorganized tutorials and tool notebooks to create a more intuitive experience, enabling users to easily follow and adapt workflows for their specific analyses. In addition to structural improvements, both the notebooks and core logic underwent significant optimization for efficiency, robustness, and style. These refinements were supported by new testing frameworks built on nbval and pytest, adherence to PEP8 standards, and extensive code refactoring, which collectively simplify onboarding for new developers. Looking ahead, version 0.8.0 will deliver advanced AI-driven capabilities. The primary focus is to further develop and automate the degradation workflow, designed to analyze PV module degradation across diverse locations and system configurations. By integrating large language models (LLMs) to scan literature and compile a comprehensive database of materials and degradation rates, this feature will enable modeling of multiple materials and mechanisms within a single, streamlined workflow. Users will be able to evaluate degradation impacts on different system architectures under varying environmental conditions, facilitating informed decisions on bill-of-materials optimization for specific deployment scenarios. These advancements position PVDeg as a powerful, user-friendly tool for accelerating PV reliability research and system design.

14 SOLAR ENERGY↗

A Comparison of GoldSim, RESRAD-Onsite, and NORMALYSA Modeling Tools at Radioactive Waste Sites - 19480

Radioactive waste disposal and associated decision making is a challenging problem around the world. A strong performance assessment model plays a crucial role in making good management and remediation decisions and in optimizing the performance of a site. The International Atomic Energy Agency (IAEA) MODARIA II Working Group 1 (WG1) is comparing the performance of various modeling platforms used at Naturally Occurring Radioactive Material (NORM) and legacy waste sites to support risk-informed decision making. Neptune and Company, Inc. (Neptune) has developed probabilistic performance assessment models using the GoldSim system modeling software at a variety of radioactive waste sites. This paper presents a comparison between GoldSim and two other tools used to evaluate radiation exposure and their associated risks: the NORM And Legacy Site Assessment (NORMALYSA) tool used to assess risk at the Zapadnoe mill tailings site, and the residual radioactivity (RESRAD-Onsite) computer program used to calculate Authorized Limits at the Los Alamos National Laboratory (LANL). The International Atomic Energy Agency (IAEA) supported development of NORMALYSA based off of Ecolego 6.0, in which the user connects several universal modules, representing various environmental transport and exposure pathways, and enters in site-specific data. Further work with NORMALYSA has continued under the MODARIA II WG 1. A radionuclide transport and dose calculation model of the Zapadnoe uranium mill tailings site at the Pridneprovsky Chemical Plant in the Ukraine has been configured by MODARIA II WG1 to test the capabilities of NORMALYSA. Under this test case, contaminant transport and effective dose calculations were performed for two exposure scenarios. The onsite worker is exposed via external ground irradiation and radon and radioactive dust inhalation. The offsite resident defines a residence established 300 years after institutional control has ended, 800 meters downstream from the site with exposure pathways including: ingestion of garden vegetables irrigated by contaminated ground water, ingestion of fish from the Konoplyanka River and agricultural activities in the contaminated garden. GoldSim modeling software is a dynamic probabilistic modeling platform that evaluates uncertainty in a robust and transparent manner. Although GoldSim provides contaminant and radionuclide transport modules to facilitate integrated modeling of radionuclide migration in the environment, these features are not embedded in an existing modeling framework, except as created by the user. Neptune developed a GoldSim model for the two exposure scenarios of the Zapadnoe test case. Neptune's Generic PA Model was used as a starting point for the Zapadnoe site. Input parameters for the GoldSim model include site-specific parameters from the MODARIA Working Group as well as parameters from the Generic PA Model and other PA models created by Neptune. For the other comparison, Version 7.0 of RESRAD-Onsite, developed by Argonne National Laboratory for the U.S. Department of Energy (DOE), was used to calculate Authorized Limits for LANL. Authorized Limits are concentrations of radionuclides in soil that support the evaluation process to clear land for release under different uses. The RESRAD-Onsite computer code was used to calculate Authorized Limits because this program was specifically designed to derive radionuclide soil guidelines corresponding to a specific dose criterion. The scope of the RESRAD dose or risk evaluation is constrained to the transport and exposure pathways that have been included in the computer code. To assist in illustrating the capability of GoldSim modeling software, a GoldSim model was created to replicate the calculation of LANL's Authorized Limits for soil. The main exposure pathways in this model are inhalation of dust and gas, plant ingestion, soil ingestion, and external ground irradiation. All of the processes and outputs of RESRAD-Onsite and NORMALYSA can be created in a GoldSim model, but the value of GoldSim lies in its flexibility for application to any of a wide variety of environmental modeling problems. GoldSim allows development of site-specific inventory, transport mechanisms and risk assessment scenarios. If all potentially complete release, transport, and exposure pathways are addressed in an existing dose and risk assessment computer code, and if the code's capabilities fulfill the project modeling objectives, then expending resources to create a GoldSim model may not be necessary. Site optimization and good decision making about site management are often best when supported with the flexibility of GoldSim as a modeling tool. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗