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,567 records · Page 87

Extended Simulations of Graphene Growth with Updated Rate Coefficients

New simulations of graphene growth in flame environments are presented. The simulations employ a kinetic Monte Carlo (KMC) algorithm coupled to molecular mechanics (MM) geometry optimization to track individual graphenic species as they evolve. Focus is given to incorporation of five-member rings and resulting curvature and edge defects. The model code has been re-written to be more computationally efficient enabling a larger set of simulations to be run, decreasing stochastic fluctuations in the averaged results. The model also includes updated rate coefficients for graphene edge reactions recently published in the literature. The new simulations are compared to results from the previous model as well as to hydrogen to carbon ratios recorded in experiment and calculated with alternate models.

30 DIRECT ENERGY CONVERSION↗

3D modeling of the electron energy distribution function in negative hydrogen ion sources

For optimization and accurate prediction of the amount of H-ion production in negative ion sources, analysis of electron energy distribution function (EEDF) is necessary. We are developing a numerical code which analyzes EEDF in the tandem-type arc-discharge source. It is a three-dimensional Monte Carlo simulation code with realistic geometry and magnetic configuration. Coulomb collision between electrons is treated with the ''binary collision'' model and collisions with hydrogen species are treated with the ''null-collision'' method. We applied this code to the analysis of the JAEA 10 A negative ion source. The numerical result shows that the obtained EEDF is in good agreement with experimental results.

43 PARTICLE ACCELERATORS↗

Bayesian Optimization for Anything (BOA): An open-source framework for accessible, user-friendly Bayesian optimization

We introduce Bayesian Optimization for Anything (BOA), a high-level Bayesian Optimization (BO) framework and model wrapping toolkit, which presents a novel approach to simplifying BO, with the goal of making it more accessible and user-friendly, particularly for those with limited expertise in the field. BOA addresses common barriers in implementing BO, focusing on ease of use, reducing the need for deep domain knowledge, and cutting down on extensive coding requirements. A notable feature of BOA is its language-agnostic architecture, which facilitates broader application in various fields and to a wider audience. We showcase BOA's application through three examples: a high-dimensional optimization with parameters of the SWAT+ watershed model, a highly parallelized optimization of this intrinsically non-parallel model, and a multi-objective optimization of the FETCH Tree-Crown Hydrodynamics model. Furthermore, these test cases illustrate BOA's effectiveness in addressing complex optimization challenges in diverse scenarios.

54 ENVIRONMENTAL SCIENCES↗

Provably optimal parallel transport sweeps on regular grids

We have found provably optimal algorithms for full-domain discrete-ordinate transport sweeps on regular grids in 3D Cartesian geometry. We describe these algorithms and sketch a 'proof that they always execute the full eight-octant sweep in the minimum possible number of stages for a given P{sub x} x P{sub y} x P{sub z} partitioning. Computational results demonstrate that our optimal scheduling algorithms execute sweeps in the minimum possible stage count. Observed parallel efficiencies agree well with our performance model. An older version of our PDT transport code achieves almost 80% parallel efficiency on 131,072 cores, on a weak-scaling problem with only one energy group, 80 directions, and 4096 cells/core. A newer version is less efficient at present-we are still improving its implementation - but achieves almost 60% parallel efficiency on 393,216 cores. These results conclusively demonstrate that sweeps can perform with high efficiency on core counts approaching 10{sup 6}. (authors)

97 MATHEMATICS AND COMPUTING↗

Facets of hydro power and future trends in a Nordic Context

Hydropower technologies bolster high penetration of variable renewable energies (VREs) in the net zero emissions scenarios. Nevertheless, there are various challenges to meeting the ambitious goal, such as stability, reliability, resiliency, security, lack of reactive power, voltage support and inertia, large-scale storage deployment and coordination, interconnectedness, demand-side response, higher thermal cycles with increased start/stops, and inadequate Levelized Cost of Energy (LCOE) for system-wise VRE integration and profitability. This survey conducts a bottom-up analysis to unveil the opportunities to utilize hydropower facilities and disentangle the nested problem for intertwining design features, control algorithms, operation, optimization approaches, incentives, services, and market mechanisms using a three-pillar framework perspective: grid owners, power producers, and machine designers. The survey identified emerging trends in real-time and capacity markets, flexible power systems, and enhanced grid capabilities, including advanced voltage support and updated grid codes. These developments present significant opportunities for hydropower, such as achieving super-flexibility through hybridization, expanded reactive power capabilities, and advanced operational modes like a synchronous condenser and power adequator functionalities. These opportunities require novel design philosophies — including new winding, stator, and rotor configurations, optimized ventilation, and active cooling systems — to enhance performance under stressed grid and climate conditions. Finally, integrating climate and energy models for multi-basin optimization with finer spatial and temporal granularity enhances the planning accuracy for water management of hydropower while addressing environmental challenges. The review delivers helpful prospective suggestions and tools that would serve researchers, power engineers, and stakeholders in making decisions about hydropower technologies and services in 2050 and beyond.

13 HYDRO ENERGY↗

Experiences in porting mini-applications to OpenACC and OpenMP on heterogeneous systems

This article studies mini-applications—Minisweep, GenASiS , GPP, and FF—that use computational methods commonly encountered in HPC. We have ported these applications to develop OpenACC and OpenMP versions, and evaluated their performance on Titan (Cray XK7 with K20x GPUs), Cori (Cray XC40 with Intel KNL), Summit (IBM AC922 with Volta GPUs), and Cori-GPU (Cray CS-Storm 500NX with Intel Skylake and Volta GPUs). Our goals are for these new ports to be useful to both application and compiler developers, to document and describe the lessons learned and the methodology to create optimized OpenMP and OpenACC versions, and to provide a description of possible migration paths between the two specifications. Cases where specific directives or code patterns result in improved performance for a given architecture are highlighted. Here, we also include discussions of the functionality and maturity of the latest compilers available on the above platforms with respect to OpenACC or OpenMP implementations.

97 MATHEMATICS AND COMPUTING↗

Fast plane wave density functional theory molecular dynamics calculations on multi-GPU machines

Plane wave pseudopotential (PWP) density functional theory (DFT) calculation is the most widely used method for material simulations, but its absolute speed stagnated due to the inability to use large scale CPU based computers. By a drastic redesign of the algorithm, and moving all the major computation parts into GPU, we have reached a speed of 12 s per molecular dynamics (MD) step for a 512 atom system using 256 GPU cards. This is about 20 times faster than the CPU version of the code regardless of the number of CPU cores used. Our tests and analysis on different GPU platforms and configurations shed lights on the optimal GPU deployments for PWP-DFT calculations. An 1800 step MD simulation is used to study the liquid phase properties of GaInP.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Finite element modeling of electropolishing of radio frequency dipole Nb crab cavity in hydrofluoric-sulfuric acid electrolyte

The superior performance of niobium superconducting radio frequency (SRF) cavities is achieved through meticulous surface treatment, notably via chemical electropolishing, ensuring exceptionally smooth surfaces. While this technique has been extensively employed for cylindrically symmetric structures, addressing more intricate geometries poses significant challenges in achieving uniform polishing and controlled material removal, especially when moving away from retractable cathodes. This presents a multifaceted electrochemical, thermal, and fluid dynamics conundrum. A prime example is the 197 MHz radio frequency dipole (RFD) crabbing cavity proposed for the Electron Ion Collider (EIC) project, exemplifying such complex structures. Our groundbreaking work integrates the localized oxide thickness variation, considering its impact on current distribution and Joule heating, within the framework of multi-physics modeling using the COMSOL® simulation suite. This approach was applied to a comprehensive model of the RFD cavity, allowing us to investigate optimal external cooling water flow conditions necessary for achieving desirable outcomes. In conclusion, this illustrates the increasing utility of such multi-physics codes to greatly aid in designing solutions to challenging processing requirements for increasingly complex accelerator cavities.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Geometry-complete diffusion for 3D molecule generation and optimization

Abstract Generative deep learning methods have recently been proposed for generating 3D molecules using equivariant graph neural networks (GNNs) within a denoising diffusion framework. However, such methods are unable to learn important geometric properties of 3D molecules, as they adopt molecule-agnostic and non-geometric GNNs as their 3D graph denoising networks, which notably hinders their ability to generate valid large 3D molecules. In this work, we address these gaps by introducing the Geometry-Complete Diffusion Model (GCDM) for 3D molecule generation, which outperforms existing 3D molecular diffusion models by significant margins across conditional and unconditional settings for the QM9 dataset and the larger GEOM-Drugs dataset, respectively. Importantly, we demonstrate that GCDM’s generative denoising process enables the model to generate a significant proportion of valid and energetically-stable large molecules at the scale of GEOM-Drugs, whereas previous methods fail to do so with the features they learn. Additionally, we show that extensions of GCDM can not only effectively design 3D molecules for specific protein pockets but can be repurposed to consistently optimize the geometry and chemical composition of existing 3D molecules for molecular stability and property specificity, demonstrating new versatility of molecular diffusion models. Code and data are freely available on GitHub .

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Collinear Cluster Tripartition as a Neutron Source--Evaluation of the Setup Parameters

Forthcoming experiments aimed at studying the mechanism of collinear cluster tripartition are planning to be performed with the new facility. Charged products will be registered with the double arm time-of-flight spectrometer composed of mosaics of PIN -diodes and MCP (micro channel plates) based timing detectors. Several tens of {sup 3}He-filled counters will be gathered round the {sup 252}Cf source. In order to choose an optimal configuration of the neutron detector and other parameters of the experiment special modeling has performed using both 'neutron barrel' and known MCNP code. The first test run of the new facility is in progress also its 'neutron skin' in under construction.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Monte Carlo code G3sim for simulation of plastic scintillator detectors with wavelength shifter fiber readout

A detailed description of a compact Monte Carlo simulation code ''G3sim'' for studying the performance of a plastic scintillator detector with wavelength shifter (WLS) fiber readout is presented. G3sim was developed for optimizing the design of new scintillator detectors used in the GRAPES-3 extensive air shower experiment. Propagation of the blue photons produced by the passage of relativistic charged particles in the scintillator is treated by incorporating the absorption, total internal, and diffuse reflections. Capture of blue photons by the WLS fibers and subsequent re-emission of longer wavelength green photons is appropriately treated. The trapping and propagation of green photons inside the WLS fiber is treated using the laws of optics for meridional and skew rays. Propagation time of each photon is taken into account for the generation of the electrical signal at the photomultiplier. A comparison of the results from G3sim with the performance of a prototype scintillator detector showed an excellent agreement between the simulated and measured properties. The simulation results can be parametrized in terms of exponential functions providing a deeper insight into the functioning of these versatile detectors. G3sim can be used to aid the design and optimize the performance of scintillator detectors prior to actual fabrication that may result in a considerable saving of time, labor, and money spent.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Transport and spatial energy deposition of relativistic electrons in copper-doped fast ignition plasmas

Fast electron transport and spatial energy deposition are investigated in integrated cone-guided Fast Ignition experiments by measuring fast electron induced copper K-shell emission using a copper tracer added to deuterated plastic shells with a geometrically reentrant gold cone. Experiments were carried out at the Laboratory for Laser Energetics on the OMEGA/OMEGA-EP Laser where the plastic shells were imploded using 54 of the 60 OMEGA60 beams (3ω, 20 kJ), while the high intensity OMEGA-EP (BL2) beam (1 ω, 10 ps, 500 J, I peak > 10 19 W/cm 2 ) was focused onto the inner cone tip. Here, a retrograde analysis using the hybrid-PIC electron transport code, ZUMA, is performed to examine the sensitivity of the copper Kα spatial profile on the laser-produced fast electrons, facilitating the optimization of new target point designs and laser configurations to improve the compressed core areal density by a factor of 4 and the fast electron energy coupling by a factor of 3.5.

42 ENGINEERING↗

STATISTICAL MECHANICS OF COLLISIONLESS ORBITS. II. STRUCTURE OF HALOS

In this paper, we present the density, {rho}, velocity dispersion, {sigma}, and {rho}/{sigma}{sup 3} profiles of isotropic systems which have the energy distribution, N({epsilon}) {proportional_to} [exp({phi}{sub 0} - {epsilon}) - 1], derived in Paper I. This distribution, dubbed {sup D}ARKexp{sup ,} is the most probable final state of a collisionless self-gravitating system, which is relaxed in terms of particle energies, but not necessarily in terms of angular momentum. We compare the DARKexp predictions with the results obtained using the extended secondary infall model (ESIM). The ESIM numerical scheme is optimally suited for this purpose because (1) it relaxes only through energy redistribution, leaving shell/particle angular momenta unaltered and (2) being a shell code with radially increasing shell thickness, it has very good mass resolution in the inner halo, where the various theoretical treatments give different predictions. The ESIM halo properties, and especially their energy distributions, are very well fit by DARKexp, implying that the techniques of statistical mechanics can be used to explain the structure of relaxed self-gravitating systems.

79 ASTRONOMY AND ASTROPHYSICS↗

ExaSat: An Exascale Static Analysis Tool (ExaSat) v1.0

The ExaSAT framework automates the extraction of parameterized performance models directly from source code using compiler analysis. Its parameterized analytic model enables quantitative evaluation of a broad range of hardware design trade-offs and software optimizations on a variety of different performance metrics, with a primary focus on data movement as a metric. ExaSAT analysis provides insights in the hardware and software tradeoffs and lays the groundwork for exploring a more targeted set of design points using cycle-accurate architectural simulators and emulators.

Chan, Cy↗

Enabling Advanced Modeling and Simulations for Fuel-Flexible Combustors

The overall goal of the present project is to enable advanced modeling and simulations for the design and optimization of fuel-flexible turbine combustors. For this purpose we use a high fidelity, extensively-tested large-eddy simulation (LES) code and state-of-the-art models for premixed/partially-premixed turbulent combustion developed in the PI's group. In the frame of the present project, these techniques are applied, assessed, and improved for hydrogen enriched premixed and partially premixed gas-turbine combustion. Our innovative approaches include a completely consistent description of flame propagation; a coupled progress variable/level set method to resolve the detailed flame structure, and incorporation of thermal-diffusion (non-unity Lewis number) effects. In addition, we have developed a general flamelet-type transformation holding in the limits of both non-premixed and premixed burning. As a result, a model for partially premixed combustion has been derived. The coupled progress variable/level method and the general flamelet transformation were validated by LES of a lean-premixed low-swirl burner that has been studied experimentally at Lawrence Berkeley National Laboratory. The model is extended to include the non-unity Lewis number effects, which play a critical role in fuel-flexible combustor with high hydrogen content fuel. More specifically, a two-scalar model for lean hydrogen and hydrogen-enriched combustion is developed and validated against experimental and direct numerical simulation (DNS) data. Results are presented to emphasize the importance of non-unity Lewis number effects in the lean-premixed low-swirl burner of interest in this project. The proposed model gives improved results, which shows that the inclusion of the non-unity Lewis number effects is essential for accurate prediction of the lean-premixed low-swirl flame.

01 COAL, LIGNITE, AND PEAT↗

Optimal focusing for a linac-based hard x-ray source

In spite of having a small average beam current limit, a linac can have features that make it attractive as an x-ray source: high energy, ultralow emittance and energy spread, and flexible beamline optics. Unlike a storage ring, in which an (undulator) radiation source is necessarily short and positioned at an electron beam waist, in a linac the undulator can be long and the electron beam can be adjusted to have a (virtual) waist far downstream toward the x-ray target. Using a planned CEBAF beamline as an example, this paper shows that a factor of 2000 in beam current can be overcome to produce a monochromatic hard x-ray source comparable with, or even exceeding, the performance of an x-ray line at a third generation storage ring. Optimal electron beam focusing conditions for x-ray flux density and brilliance are derived, and are verified by simulations using the SRW code.

43 PARTICLE ACCELERATORS↗

Review of multi-dimensional large-scale kinetic simulation and physics validation of ion acceleration in relativistic laser-matter interaction

Two new experimental technologies enabled realization of Break-out afterburner (BOA) - High quality Trident laser and free-standing C nm-targets. VPIC is an powerful tool for fundamental research of relativistic laser-matter interaction. Predictions from VPIC are validated - Novel BOA and Solitary ion acceleration mechanisms. VPIC is a fully explicit Particle In Cell (PIC) code: models plasma as billions of macro-particles moving on a computational mesh. VPIC particle advance (which typically dominates computation) has been optimized extensively for many different supercomputers. Laser-driven ions lead to realization promising applications - Ion-based fast ignition; active interrogation, hadron therapy.

ACCELERATION↗

MICROX-2 cross section library based on ENDF/B-VII

New cross section libraries of a neutron transport code MICROX-2 have been generated for advanced reactor design and fuel cycle analyses. A total of 386 nuclides were processed, including 10 thermal scattering nuclides, which are available in ENDF/B-VII release 0 nuclear data. The NJOY system and MICROR code were used to process nuclear data and convert them into MICROX-2 format. The energy group structure of the new library was optimized for both the thermal and fast neutron spectrum reactors based on Contributon and Point-wise Cross Section Driven (CPXSD) method, resulting in a total of 1173 energy groups. A series of lattice cell level benchmark calculations have been performed against both experimental measurements and Monte Carlo calculations for the effective/infinite multiplication factor and reaction rate ratios. The results of MICROX-2 calculation with the new library were consistent with those of 15 reference cases. The average errors of the infinite multiplication factor and reaction rate ratio were 0.31% {delta}k and 1.9%, respectively. The maximum error of reaction rate ratio was 8% for {sup 238}U-to-{sup 235}U fission of ZEBRA lattice against the reference calculation done by MCNP5. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗