Search NASA⌕ Search

SEARCH · Search NASA

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,549 records · Page 86

Muon Borehole Detector Design for Use in 4-D Density Overburden Monitoring

The increase of atmospheric CO2 concentrations has initiated research into carbon sequestration methods. One possibility is to store CO2 in subsurface porous reservoirs. The monitoring of the injected CO2 plume is vital because escaping CO2 poses health and environmental risks. Typically, seismic reflection methods are used to determine the change in density due to the replacement of brine by CO2 in the reservoir, but this is expensive and not continuous. A potential alternative is to use cosmic muon tomography to measure density changes in the reservoir as a function of time. This paper describes the development of a muon detector that will be capable of being deployed in boreholes. The detector has the required dimensions, an angular resolution of approximately 2 degrees, and is robust. The design is based on alternating layers of scintillating rods, which can provide 4-D tomographic data to detect small changes in density at depths up to approximately 2 km. Geant4, a Monte Carlo simulation code, is being used to develop models to guide the design of the physical configuration. Preliminary testing and measurements have been performed to validate the simulation predictions and optimize the performance of the system. The simulation and preliminary experimental results are presented here.

Borehole Detector, CO¬2 Sequestration, Geant4, Muo↗

Optimizing PCM-integrated walls for potential energy savings in U.S. Buildings

Buildings in the United States account for nearly half of total U.S. energy use. The energy used for space conditioning can be reduced by utilizing thermal energy storage, such as phase change materials (PCMs), into building envelopes; however, the energy savings of PCM-integrated building envelopes reported in the literature vary widely. In the absence of established guidelines, thermophysical requirements of an optimal PCM, its method of application into the building envelope, and the corresponding energy savings under various climates remain unknown. Here, we perform an extensive numerical investigation on the integration of PCM into building walls to establish the key conditions required for effective utilization of PCM in reducing heat gains in the cooling season and heat losses in the heating season. We also determine the optimal transition temperature, optimal PCM location in the wall, and the energy-saving potential of the PCM-integrated building walls in five U.S. cities located in different International Energy Conservation Code climate zones. Results show that employing PCMs in building walls does not always lead to an improvement; in fact, incorrect applications of PCMs can substantially increase energy use in the buildings. In the climates we studied, PCMs were found effective in reducing heat gains during the cooling season while mostly ineffective in managing heat losses during heating season. Depending on the climate, optimized PCMs in U.S. building walls can provide reduction in the annual heat gain in the range of 3.5% to 47.2% and the annual heat loss in the range of -2.8% to 8.3%. Future consideration of buildings with substantial solar gains in winter may lead to more reduction in heat losses by PCMs.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

SCALE Enhancements for Detailed Cask Dose Rate Analysis - Paper 37

The Nuclear Fuels Storage and Transportation Planning Project and the Used Fuel Disposition Campaign, both under the US Department of Energy (DOE) Office of Nuclear Energy, require the ability to predict k{sub eff}, heat generation and temperature distributions, and external dose rates from any combination of commercial spent nuclear fuel assemblies loaded into any type of licensed cask. Work in the Reactor and Nuclear Systems Division at Oak Ridge National Laboratory has begun to develop the UNF-ST[and]DARDS system (Used Nuclear Fuel Storage, Transportation and Disposal Analysis Resource and Data System) that uses many of the nuclear analysis codes from the SCALE package, a comprehensive database of used nuclear fuel inventories from utilities, and a library of model template files to produce complete input files for the various types of UNF computational analyses. UNF-ST[and]DARDS uses the template files and input parameters that are applicable to a safety analysis to assemble and execute a complete input file, collect the output files and relevant information for subsequent calculations, and illustrate calculation results as a function of decay time and other relevant analysis parameters. This paper will focus on the shielding aspects and the ability to predict external dose rates from as-loaded casks. Realistic dose rate values based on actual canister fuel contents may be used in developing appropriate plans, procedures, and methods to keep personnel radiation exposures as low as reasonably achievable during cask repackaging and transportation operations, as well as in performing total system analyses and transportation risk evaluations. The MAVRIC shielding sequence of the SCALE package was created for the US Nuclear Regulatory Commission for analyzing dose rates outside of storage, transfer, or transportation casks loaded with spent nuclear fuel. MAVRIC contains automated variance reduction capabilities based on the CADIS and FW-CADIS methods that are effective for optimizing deep penetration Monte Carlo shielding problems for achieving low relative uncertainties in short computing times. MAVRIC uses the Denovo discrete ordinates code to compute importance maps and biased source terms for the Monaco fixed-source Monte Carlo code, which can use multi-group or continuous-energy cross section data. ORIGEN (Oak Ridge Isotope Generation and Depletion) is the SCALE computer code for calculating time-dependent isotopic concentrations during irradiation and decay for more than 2,200 nuclides that can be produced by nuclear fuel irradiation and activation. A series of SCALE enhancements was implemented to enable automatic decay heat and radiation source term generation and shielding safety analysis of as-loaded casks. The enhancements to SCALE made under this project will be a part of the SCALE 6.2 release expected in fall 2014. (authors)

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Region-oriented CT image representation for reducing computing time of Monte Carlo simulations

Purpose. We propose a new method for efficient particle transportation in voxelized geometry for Monte Carlo simulations. We describe its use for calculating dose distribution in CT images for radiation therapy. Material and methods. The proposed approach, based on an implicit volume representation named segmented volume, coupled with an adapted segmentation procedure and a distance map, allows us to minimize the number of boundary crossings, which slows down simulation. The method was implemented with the GEANT4 toolkit and compared to four other methods: One box per voxel, parameterized volumes, octree-based volumes, and nested parameterized volumes. For each representation, we compared dose distribution, time, and memory consumption. Results. The proposed method allows us to decrease computational time by up to a factor of 15, while keeping memory consumption low, and without any modification of the transportation engine. Speeding up is related to the geometry complexity and the number of different materials used. We obtained an optimal number of steps with removal of all unnecessary steps between adjacent voxels sharing a similar material. However, the cost of each step is increased. When the number of steps cannot be decreased enough, due for example, to the large number of material boundaries, such a method is not considered suitable. Conclusion. This feasibility study shows that optimizing the representation of an image in memory potentially increases computing efficiency. We used the GEANT4 toolkit, but we could potentially use other Monte Carlo simulation codes. The method introduces a tradeoff between speed and geometry accuracy, allowing computational time gain. However, simulations with GEANT4 remain slow and further work is needed to speed up the procedure while preserving the desired accuracy.

62 RADIOLOGY AND NUCLEAR MEDICINE↗

Designing stellarators using perpendicular permanent magnets

We have developed a fast method to design perpendicular permanent magnets for simplifying stellarator coils based on existing codes. Coil complexity is one of the main challenges for stellarators. To date, only electromagnetic coils have been used to generate 3D fields for stellarators. Permanent magnets provide an alternative way to produce the desired magnetic field for optimized stellarators. In this paper, we revisit the concept of representing surface current using magnetic dipoles and carry out numerical validations. A surface magnetization is proven to be equivalent to the surface current that can be linearly solved by existing coil design codes. An incremental multi-layer method has been developed to obtain a practical solution that is attainable with present permanent magnets. With this method, we can reproduce a half-Tesla NCSX configuration using specially designed neodymium magnets together with simple planar coils. It shows that stellarator coils could be substantially simplified by adopting permanent magnets.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Progress made on the University of Missouri research reactor HEU to LEU fuel conversion feasibility study

The University of Missouri Research Reactor (MURR), the highest-powered University-owned research reactor in the U.S. designed to operate at a maximum steady-state power level of 10 MW{sub th}, is one of five U.S. high performance research reactors that use HEU fuel that is actively th collaborating with the U.S. Department of Energy to find a suitable LEU fuel replacement. A conversion feasibility study, using U-10Mo monolithic LEU fuel, is currently being performed at MURR. At first, broad scoping studies where conducted using the transport code MCNP, where the core water-to-metal ratio was varied by altering the thickness or width of the plate cladding, fuel meat, and coolant channel gaps, and varying the number of fuel plates. From these studies, an optimal LEU core design was chosen based on the following calculated parameters: power peaking factors, excess reactivity, and the fast and thermal fluxes available to the experimental facilities. Fuel burnup calculations are now being performed using the 3-D diffusion theory code REBUS. Also included in this paper are some preliminary safety analyses, including parametric studies using the reactivity transient code PARET-ANL and hydraulic calculations using the light- and heavy-water thermal-hydraulic transient code RELAP5/MOD3.3. (author)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

SCALE/AMPX multigroup libraries for sodium-cooled fast reactor systems

New multigroup cross section libraries and associated covariance files that are optimized for the analysis of sodium-cooled fast reactors were generated with the AMPX tools distributed with the SCALE code system. These new libraries account for the fast neutron flux spectrum with sufficient resolution of resonances in the higher energy range to reproduce continuous-energy reference results and to provide the basis for sensitivity and uncertainty analyses of fast spectrum systems with the SCALE code system. The performance of the new libraries was investigated in terms of the eigenvalue, the neutron flux and reaction rates in criticality calculations, and the generation of group constants. A library using 302 energy groups and a fast neutron flux spectrum as the weighting function led to very good agreement with reference continuous-energy results. As a result, the performance of the new library was demonstrated in calculations of experiments from the International Criticality Safety Benchmark Evaluation Project handbook.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

A scalable framework for efficient coupling of thermal and microstructural simulations in additive manufacturing

Predicting microstructure evolution in metal additive manufacturing (AM) is important for process optimization, but spatiotemporal scale disparities between thermal transport and microstructure evolution create significant challenges for efficient data transfer between simulation codes. To address this, we present Stork, a scalable framework for coupling thermal and microstructural simulations. Stork uses a sparse data representation to identify and store active solidification sub-volumes, enabling highly parallel quad-linear interpolation from coarse thermal grids to fine microstructure grids without large intermediate storage. We demonstrate the framework by coupling the semi-analytic heat transfer code 3DThesis with the time-parallel cellular automata code Toucan. This approach achieves over two orders of magnitude reduction in data generation time and file size compared to prior workflows. Numerical studies show that quad-linear interpolation preserves grain morphology and crystallographic texture in laser powder bed fusion (LPBF) simulations for coarsening ratios up to 16. Overall, Stork provides a scalable pathway for high-throughput, component-scale AM simulations on modern high-performance computing systems.

36 MATERIALS SCIENCE↗

Radiation sources with planar wire arrays and planar foils for inertial confinement fusion and high energy density physics research

This article reports on the joint success of two independent lines of research, each of them being a multi-year international effort. One of these is the development of innovative sources, such as planar wire arrays (PWAs). PWAs turned out to be a prolific radiator, which act mainly as a resistor, even though the physical mechanism of efficient magnetic energy conversion into radiation still remains unclear. We review the results of our extensive studies of PWAs. We also report the new results of the experimental comparison PWAs with planar foil liners (another promising alternative to wire array loads at multi-mega-ampere generators). Pioneered at UNR, the PWA Z-pinch loads have later been tested at the Sandia National Laboratories (SNL) on the Saturn generator, on GIT-12 machine in Russia, and on the QiangGuang-1 generator in China, always successfully. Another of these is the drastic improvement in energy efficiency of pulsed-power systems, which started in early 1980s with Zucker's experiments at Naval Research Laboratory (NRL). Successful continuation of this approach was the Load Current Multiplier (LCM) proposed by Chuvatin in collaboration with Rudakov and Weber from NRL. The 100 ns LCM was integrated into the Zebra generator, which almost doubled the plasma load current, from 0.9 to 1.7 MA. The two above-mentioned innovative approaches were used in combination to produce a new compact hohlraum radiation source for ICF, as jointly proposed by SNL and UNR [Jones et al., Phys. Rev. Lett. 104, 125001 (2010)]. The first successful proof-of-the-principle experimental implementation of new hohlraum concept at university-scale generator Zebra/LCM is demonstrated. A numerical simulation capability with VisRaD code (from PRISM Co.) established at UNR allowed for the study of hohlraum coupling physics and provides the possibility of optimization of a new hohlraum. Future studies are discussed.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

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↗