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,243 records · Page 69

Massively parallel modeling and inversion of electrical resistivity tomography data using PFLOTRAN

Abstract. Electrical resistivity tomography (ERT) is a broadly accepted geophysical method for subsurface investigations. Interpretation of field ERT data usually requires the application of computationally intensive forward modeling and inversion algorithms. For large-scale ERT data, the efficiency of these algorithms depends on the robustness, accuracy, and scalability on high-performance computing resources. In this regard, we present a robust and highly scalable implementation of forward modeling and inversion algorithms for ERT data. The implementation is publicly available and developed within the framework of PFLOTRAN, an open-source, state-of-the-art massively parallel subsurface flow and transport simulation code. The forward modeling is based on a finite-volume discretization of the governing differential equations, and the inversion uses a Gauss–Newton optimization scheme. To evaluate the accuracy of the forward modeling, two examples are first presented by considering layered (1D) and 3D earth conductivity models. The computed numerical results show good agreement with the analytical solutions for the layered earth model and results from a well-established code for the 3D model. Inversion of ERT data, simulated for a 3D model, is then performed to demonstrate the inversion capability by recovering the conductivity of the model. To demonstrate the parallel performance of PFLOTRAN's ERT process model and inversion capabilities, large-scale scalability tests are performed by using up to 131 072 processes on a leadership class supercomputer. These tests are performed for the two most computationally intensive steps of the ERT inversion: forward modeling and Jacobian computation. For the forward modeling, we consider models with up to 122 ×106 degrees of freedom (DOFs) in the resulting system of linear equations and demonstrate that the code exhibits almost linear scalability on up to 10 000 DOFs per process. On the other hand, the code shows superlinear scalability for the Jacobian computation, mainly because all computations are fairly evenly distributed over each process with no parallel communication.

58 GEOSCIENCES↗

A holey cavity for single-transducer 3D ultrasound imaging with physical optimization

Within the compressive sensing (CS) framework, one effective way to increase the likelihood of successful signal reconstruction is to employ random processes in the construction of the sensing matrix. This work presents a 3D holey cavity, with diverse frequency modes, to spectrally code, that is, randomize, the ultrasound wave fields. The simulated results show that the use of such a cavity enables imaging simple or complex targets, such as spheres or the letter E, by only a single transceiver—something that is not possible without the use of a coding structure like the cavity. The effect of noise on imaging results and the size of the targets on the first-order Born approximation (BA) are also investigated. Moreover, this study attempts to optimize the cavity, based on a single numerical metric, such as the sum of singular values (SSV) or mutual coherence (MC). Yet, it will be shown that neither of these metrics can consistently compare the norm-one imaging performance between two cavities of different materials or hole sizes. This leaves finding a quantitative metric for these kinds of optimizations an open problem.

42 ENGINEERING↗

Enhancing Operational Performance and Productivity Benefits in Breweries through Smart Manufacturing Technologies

This article uses case studies to demonstrate the potential of smart manufacturing (SM) and Internet of Things (IoT) technologies to enhance operational performance and productivity in industry. The analysis highlights benefits such as cost reduction, production flexibility, shorter product time-to-market, energy/water efficiency and environmental impact reduction, and increased productivity. To illustrate the effectiveness of SM and IoT approaches, the authors sought out manufacturers currently implementing or seeking to implement SM and IoT technologies. The authors identified beer brewing (NAICS Code 312120) as a rapidly expanding industry whose members appear eager to implement SM technologies to optimize production lines by revealing bottlenecks and identifying performance-reducing nodes. This article presents two case studies based on SM and IoT technologies in breweries. It briefly describes a systematic framework introduced elsewhere by the authors and uses it to assess the energy productivity and competitiveness of SM applications in breweries. This article addresses questions concerning the information and communications technology infrastructure needed to build smart breweries and how corporations simplify the installation and deployment of SM and IoT components. This article was originally published in the Proceedings of the 2019 ACEEE Summer Study on Energy Efficiency in Industry.

42 ENGINEERING↗

Energy flexibility of residential buildings: A systematic review of characterization and quantification methods and applications

With building electric demand becoming increasingly dynamic, and a growing percentage of intermittent renewable power generation from solar photovoltaics and wind turbines, the power grid is facing increasing challenge to manage the real time balance between the supply and demand. With advancements in smart sensing and metering, smart appliances, electric vehicles, and energy storage technologies, demand side management of residential buildings can help the grid to improve stability by optimizing flexible loads. This paper reviews recent studies on residential building demand side management, with a focus on characterization and quantification of energy flexibility covering various types of flexible loads, metrics, methods, and applications. The reviewed studies showed four levels of applications: building level (45%), district or community level (29%), system level (19%), and building sector level (7%). Shifting loads is the dominant flexibility type in 60% of applications, followed by shedding (19%), generation (16%), and modulating (6%). Depending on the technology and application scope, flexible operations have a wide range of performance, with peak power reductions of 1%~65%, energy savings up to 60%, operational cost reduction of 1%~48%, and greenhouse gas emission reductions of up to29%. More than half (51%) of the studies employed control strategies to achieve flexibility; among those 72% used optimal controls, while 28% used rule-based controls. About 58% of the studies used mathematical formulation to quantify energy flexibility. Most studies were based on simulation, while less than 15% of the studies had measurements from experiments or field tests. The review reveals research opportunities to address significant gaps in the existing literature: (1) establishing a common definition and performance metrics for energy flexibility of buildings that are technology and application agnostic, (2) developing an ontology to standardize representation of flexibility resources for interoperability, (3) integrating occupant impacts into the quantification and optimization of energy flexibility, and (4) developing requirements and credits of energy flexibility in building energy codes and standards. Findings from the review can inform future research and development of energy flexible buildings which are essential to a reliable and resilient power grid.

Li, H↗

External circuit integration with electromagnetic particle in cell modeling of plasma focus devices

The pinch performance of a plasma focus (PF) device is sensitive to the physical conditions of the breakdown phase. It is therefore essential to model and study the initial phase in order to optimize device performance. An external circuit is self consistently coupled to the electromagnetic particle in cell code to model the breakdown and initial lift phase of the United Nations University/International Centre for Theoretical Physics (UNU-ICTP) plasma focus device. Gas breakdown during the breakdown phase is simulated successfully, following a drop in the applied voltage across the device and a concurrent substantial rise in the circuit current. As a result, the plasma becomes magnetized, with the growing value of the magnetic field over time leading to the gradual lift off of the well formed current sheath into the axial acceleration phase. This lifting off, with simultaneous outward sheath motion along the anode and vertical cathode, and the strong magnetic fields in the current sheath region, was demonstrated in this work, and hence validates our method of coupling the external circuit to PF devices. Our method produces voltage waveforms that are qualitatively similar to the observed experimental voltage profiles of the UNU-ICTP device. Values of the mean electron energy before and after voltage breakdown turned out to be different, with the values after breakdown being much lower. In both cases, the electron energy density function turned out to be non-Maxwellian.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Improved transfer efficiencies in radio-frequency-driven recoupling solid-state NMR by adiabatic sweep through the dipolar recoupling condition

The homonuclear radio-frequency driven recoupling (RFDR) experiment is commonly used in solid-state NMR spectroscopy to gain insight into the structure of biological samples due to its ease of implementation, stability towards fluctuations/missetting of radio-frequency (rf) field strength, and in general low rf requirements. A theoretical operator-based Floquet description is presented to appreciate the effect of having a temporal displacement of the π-pulses in the RFDR experiment. From this description, we demonstrate improved transfer efficiency for the RFDR experiment by generating an adiabatic passage through the zero-quantum recoupling condition. We have compared the performances of RFDR and the improved sequence to mediate efficient {sup 13}CO to {sup 13}C{sub α} polarization transfer for uniformly {sup 13}C,{sup 15}N-labeled glycine and for the fibril forming peptide SNNFGAILSS (one-letter amino acid codes) uniformly {sup 13}C,{sup 15}N-labeled at the FGAIL residues. Using numerically optimized sweeps, we get experimental gains of approximately 20% for glycine where numerical simulations predict an improvement of 25% relative to the standard implementation. For the fibril forming peptide, using the same sweep parameters as found for glycine, we have gains in the order of 10%–20% depending on the spectral regions of interest.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Benchmarking and validation of global model code for negative hydrogen ion sources

Benchmarking and validation are prerequisites for using simulation codes as predictive tools. In this work, we have developed a Global Model for Negative Hydrogen Ion Source (GMNHIS) and performed benchmarking of the GMNHIS against another independently developed code, Global Enhanced Vibrational Kinetic Model (GEVKM). This is the first study to propose a quite comprehensive benchmarking test of this kind for models of negative hydrogen ion sources (NHIS), and excellent agreements have been achieved for collisional energy loss per electron-ion pair created, electron number density, electron temperature, densities of H$^{+}_{3}$ and H$^{+}_{2}$ ions, and densities of H(n = 1–3) atoms. Very small discrepancies in number densities of H - ions and H + ions, as well as the vibrational distribution function of hydrogen molecules, can be attributed to the differences in the chemical reactions datasets. The GEVKM includes additional chemical reactions that are more important at high pressures. Moreover, we validated the GMNHIS against experimental data obtained in an electron cyclotron resonance discharge used for H - production. The model qualitatively (and even quantitatively for certain conditions) reproduces the experimental H - number density. The H - number density as a function of pressure first increases at pressures below 1.6 Pa and then saturates for higher pressures. This dependence was analyzed by evaluating contributions from different reaction pathways to the creation and loss of the H - ions. The developed codes can be used for predicting the H - production, improving the performance of NHIS, and ultimately optimizing the parameters of negative ion beams for fusion reactors.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Development of ITER non-activation phase operation scenarios

Non-activation phase operations in ITER in hydrogen (H) and helium (He) will be important for commissioning of tokamak systems, such as diagnostics, heating and current drive (HCD) systems, coils and plasma control systems, and for validation of techniques necessary for establishing operations in DT. The assessment of feasible HCD schemes at various toroidal fields (2.65–5.3 T) has revealed that the previously applied assumptions need to be refined for the ITER non-activation phase H/He operations. A study of the ranges of plasma density and profile shape using the JINTRAC suite of codes has indicated that the hydrogen pellet fuelling into He plasmas should be utilized taking the optimization of IC power absorption, neutral beam shine-through density limit and H-mode access into account. The EPED1 estimation of the edge pedestal parameters has been extended to various H operation conditions, and the combined EPED1 and SOLPS estimation has provided guidance for modelling the edge pedestal in H/He operations. The availability of ITER HCD schemes, ranges of achievable plasma density and profile shape, and estimation of the edge pedestal parameters for H/He plasmas have been integrated into various time-dependent tokamak discharge simulations. In this paper, various H/He scenarios at a wide range of plasma current (7.5–15 MA) and field (2.65–5.3 T) have been developed for the ITER non-activation phase operation, and the sensitivity of the developed scenarios to the used assumptions has been investigated to provide guidance for further development.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Design workflow of a symmetric traveling wave antenna for fast ion production on DD tokamaks

Initial computational plasma physics scoping and a finite element method antenna modeling design workflow for a symmetric center-fed high-field side high harmonic fast wave traveling wave array (TWA) antenna are reported here. The TWA is designed to generate a test population of fast deuterium ions in an existing D–D tokamak by heating neutral beam deuterium ions, accelerating them from 80 keV to several hundred keV. The resulting fast particles are tailored to mimic key reactor energetic particle parameters with regards to exciting Alfven eigenmode instabilities, allowing for a D–D tokamak like DIII-D or ASDEX-U to replicate reactor-relevant conditions experimentally. Initial scenario scoping for high single-pass absorption as well as good preferential fast ion damping relative to electron damping was completed using the ray-tracing/Fokker–Planck codes GENRAY and CQL3D. Python RF network analysis packages were used to create a custom TWA optimization tool to inform a COMSOL flat antenna design, and Petra-M was used to study cold plasma effects. The TWA produced by this workflow has several novel features when compared to previous TWA studies, including symmetric center feeding, and passive end straps for image current cancellation for reduced impurity production. We show here that the antenna design workflow can readily produce TWA antennas optimized for reflection coefficient, image current cancellation, and launched power spectrum shape; and that a population of fast ions can be generated in the correct region of parameter space, warranting future more detailed studies.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

End-to-end learning of multiple sequence alignments with differentiable Smith–Waterman

Abstract Motivation Multiple sequence alignments (MSAs) of homologous sequences contain information on structural and functional constraints and their evolutionary histories. Despite their importance for many downstream tasks, such as structure prediction, MSA generation is often treated as a separate pre-processing step, without any guidance from the application it will be used for. Results Here, we implement a smooth and differentiable version of the Smith–Waterman pairwise alignment algorithm that enables jointly learning an MSA and a downstream machine learning system in an end-to-end fashion. To demonstrate its utility, we introduce SMURF (Smooth Markov Unaligned Random Field), a new method that jointly learns an alignment and the parameters of a Markov Random Field for unsupervised contact prediction. We find that SMURF learns MSAs that mildly improve contact prediction on a diverse set of protein and RNA families. As a proof of concept, we demonstrate that by connecting our differentiable alignment module to AlphaFold2 and maximizing predicted confidence, we can learn MSAs that improve structure predictions over the initial MSAs. Interestingly, the alignments that improve AlphaFold predictions are self-inconsistent and can be viewed as adversarial. This work highlights the potential of differentiable dynamic programming to improve neural network pipelines that rely on an alignment and the potential dangers of optimizing predictions of protein sequences with methods that are not fully understood. Availability and implementation Our code and examples are available at: https://github.com/spetti/SMURF. Supplementary information Supplementary data are available at Bioinformatics online.

59 BASIC BIOLOGICAL SCIENCES↗

Steepest-descent algorithm for simulating plasma-wave caustics via metaplectic geometrical optics

The design and optimization of radiofrequency-wave systems for fusion applications is often performed using ray-tracing codes, which rely on the geometrical-optics (GO) approximation. However, GO fails at wave cutoffs and caustics. To accurately model the wave behavior in these regions, more advanced and computationally expensive “full-wave” simulations are typically used, but this is not strictly necessary. A new generalized formulation called metaplectic geometrical optics (MGO) has been proposed that reinstates GO near caustics. The MGO framework yields an integral representation of the wavefield that must be evaluated numerically in general. We present an algorithm for computing these integrals using Gauss-Freud quadrature along the steepest-descent contours. Benchmarking is performed on the standard Airy problem, for which the exact solution is known analytically. Furthermore, the numerical MGO solution provided by the new algorithm agrees remarkably well with the exact solution and significantly improves on previously derived analytical approximations of the MGO integral.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Modeling Cooperative Threads to Project GPU Performance for Adaptive Parallelism

Most accelerators, such as graphics processing units (GPUs) and vector processors, are particularly suitable for accelerating massively parallel workloads. On the other hand, conventional workloads are developed for multi-core parallelism, which often scale to only a few dozen OpenMP threads. When hardware threads significantly outnumber the degree of parallelism in the outer loop, programmers are challenged with efficient hardware utilization. A common solution is to further exploit the parallelism hidden deep in the code structure. Such parallelism is less structured: parallel and sequential loops may be imperfectly nested within each other, neigh boring inner loops may exhibit different concurrency patterns (e.g. Reduction vs. Forall), yet have to be parallelized in the same parallel section. Many input-dependent transformations have to be explored. A programmer often employs a larger group of hardware threads to cooperatively walk through a smaller outer loop partition and adaptively exploit any encountered parallelism. This process is time-consuming and error-prone, yet the risk of gaining little or no performance remains high for such workloads. To reduce risk and guide implementation, we propose a technique to model workloads with limited parallelism that can automatically explore and evaluate transformations involving cooperative threads. Eventually, our framework projects the best achievable performance and the most promising transformations without implementing GPU code or using physical hardware. We envision our technique to be integrated into future compilers or optimization frameworks for autotuning.

Meng, Jiayuan↗

Prediction of radiation doses during the dismantling of the pressurized tank from emergency core cooling system of RBMK- 1500 reactor

Preparation for the decommissioning of the Ignalina Nuclear Power Plant involves multiple problems. Personnel radiation safety during the performance of dismantling activities is one of them. In order to assess the optimal personnel radiation safety, the modelling is performed for large components by the means of computer code 'VISIPLAN 3D ALARA Planning tool' developed by SCK CEN (Belgium). Modelling results of radiation doses during the dismantling of the pressurized tank from the emergency core cooling system (ECCS PT) of RBMK-1500 reactor are presented in this paper. The mass of one ECCS PT is approximately 47.6 tons. The radiological surveys indicate that the inner surface of the ECCS PT is contaminated with radioactive products of corrosion and sediments due to the radioactive water. The assessment of workers exposure was performed to comply with ALARA. The effective doses to the workers were modeled for different strategies of ECCS PT dismantling. The impact of dismantling tools and shielding types and extract ventilation flow rate during the dismantling of ECCS PT on effective doses were analyzed. The total effective personnel doses were obtained by summarizing the effective personnel doses from various sources of exposure, i. e., direct radiation from radioactive equipment, internal radiation due to inhalation of radioactive aerosols, and direct radiation from radioactive aerosols arising during hot cutting in premises. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

WPGNN and PLayGen (Wind Plant Graph Neural Network and Plant Layout Generator) [SWR-21-90]

WPGNN is the graph neural network machine learning based surrogate model and software that provides a streamlined approximation of wind plant wake models. It can rapidly estimate the energy production of the plant and turbines for any arbitrarily sized wind plant and layout under any inflow condition. Associated tools include graphing and visualization capabilities as well as a wind plant generator capable of creating randomized realizations of canonical wind plant layouts. The WPGNN architecture and application is extendable to multiple wake models, turbine technologies and features, and supports downstream optimizations of wind plant layouts and control strategies. In addition to the WPGNN, we include the code for the plant layout generator (PLayGen) playgen.py. This generator can produce random realizations of realistic wind plant layouts from one of the four canonical styles: cluster, single string, multiple string, or parallel string. The PLayGen_demo.ipynb notebook provides a demonstration of how to use the generator tool.

Harrison-Atlas, Dylan↗

Development of fast-running eighth core nodal solution

A fast-running, eighth-core solution technique has been developed for the quick core calculations in ANC, the Westinghouse core analysis code based on the nodal expansion method, and the BEACON{sup TM} Core Monitoring System (BEACON). This technique, referred to as 'Fast Eighth' (Fast8), enables users to obtain satisfactory macroscopic core calculation results such as reactivity, axial offset and assembly power much more quickly than calculations performed in the standard full-core or quarter-core geometry. Fast8 uses three techniques: folding the radial geometry into eighth-core geometry, reducing the axial geometry into a coarse axial mesh geometry, and smearing the spacer grids into nodes on-the-fly after the first calculation in the standard geometry. These geometry adjustments in Fast8 contribute to the reduction of the number of neutronic and material nodes while maintaining the reaction rates in each node. The axial mesh condition dependency in Fast8 is investigated in a xenon transient calculation in single assembly geometry, and the Fast8 maximum axial mesh size is determined based on these results. Fast8 is then applied to the load swing calculation, and the results are compared with the reference, full-core geometry, solution. The critical boron concentration and axial offset of Fast8 show good agreement with the reference solutions, and that Fast8 is a good technique for obtaining macroscopic core calculation results in significantly shorter time. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Consistent Adjoint Driven Importance Sampling using Space, Energy and Angle

For challenging radiation transport problems, hybrid methods combine the accuracy of Monte Carlo methods with the global information present in deterministic methods. One of the most successful hybrid methods is CADIS Consistent Adjoint Driven Importance Sampling. This method uses a deterministic adjoint solution to construct a biased source distribution and consistent weight windows to optimize a specific tally in a Monte Carlo calculation. The method has been implemented into transport codes using just the spatial and energy information from the deterministic adjoint and has been used in many applications to compute tallies with much higher figures-of-merit than analog calculations. CADIS also outperforms user-supplied importance values, which usually take long periods of user time to develop. This work extends CADIS to develop weight windows that are a function of the position, energy, and direction of the Monte Carlo particle. Two types of consistent source biasing are presented: one method that biases the source in space and energy while preserving the original directional distribution and one method that biases the source in space, energy, and direction. Seven simple example problems are presented which compare the use of the standard space/energy CADIS with the new space/energy/angle treatments.

Peplow, Douglas E.↗

Advanced Design Studies. Final report

The ARIES-CS project was a multi-year multi-institutional project to assess the feasibility of a compact stellarator as a fusion power plant. The work herein describes efforts to help design one aspect of the device, the divertor, which is responsible for the removal of particle and heat flux from the system, acting as the first point of contact between the magnetically confined hot plasma and the outside world. Specifically, its location and topology are explored, extending previous work on the sub ject. An optimized design is determined for the thermal particle flux using a suite of 3D stellarator design codes which trace magnetic field lines from just inside the confined plasma edge to their strike points on divertor plates. These divertor plates are specified with a newly developed plate design code. It is found that a satisfactory thermal design exists which maintains the plate temperature and heat load distribution below tolerable engineering limits.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Performance House -- A Cold Climate Challenge Home

Working with builder partners on a test homes allows for vetting of whole-house building strategies to eliminate any potential unintended consequences prior to implementing these solution packages on a production scale. To support this research, CARB partnered with Preferred Builders Inc. on a high-performance test home in Old Greenwich, CT. The philosophy and science behind the 2,700 ft2 'Performance House' was based on the premise that homes should be safe, healthy, comfortable, durable, efficient, and adapt with the homeowners. The technologies and strategies used in the 'Performance House' were not cutting-edge, but simply 'best practices practiced'. The focus was on simplicity in construction, maintenance, and operation. When seeking a 30% source energy savings targets over a comparable 2009 IECC code-built home in the cold climate zone, nearly all components of a home must be optimized. Careful planning and design are critical. To help builders and architects seeking to match the performance of this home, a step-by-step guide through the building shell components of DOE's Challenge Home are provided in a pictorial story book. The end result was a DOE Challenge Home that achieved a HERS Index Score of 20 (43 without PV, the minimum target was 55 for compliance). This home was also awarded the 2012 HOBI for Best Green Energy Efficient Home from the Home Builders & Remodelers Association of Connecticut.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗