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 811 records · Page 45

TriKota v 1.0

The TriKota software is a library that allows the Dakota Optimization Toolkit to be easily accessed from a computer code that is already interfaced to the solution algorithms in the Trilinos framework. It is a class of code known as an adapter. TriKota also supplies examples so that new applications can quickly make use of it’s capabilities.The TriKota package is meant to enable more rapid development and a broader use of optimization and uncertainty quantification algorithms. As a general-purpose mathematical software, the uses will span many application areas that seek to perform computational design and analysis.

SALINGER, ANDREW↗

SU-E-J-113: The Influence of Optimizing Pediatric CT Simulator Protocols On the Treatment Dose Calculation in Radiotherapy

Purpose: To investigate the possibility of applying optimized scanning protocols for pediatric CT simulation by quantifying the dosimetric inaccuracy introduced by using a fixed HU to density conversion. Methods: The images of a CIRS electron density reference phantom (Model 062) were acquired by a Siemens CT simulator (Sensation Open) using the following settings of tube voltage and beam current: 120 kV/190mA (the reference protocol used to calibrate CT for our treatment planning system (TPS)); Fixed 190mA combined with all available kV: 80, 100, and 140; fixed 120 kV and various current from 37 to 444 mA (scanner extremes) with interval of 30 mA. To avoid the HU uncertainty of point sampling in the various inserts of known electron densities, the mean CT numbers of the central cylindrical volume were calculated using DICOMan software. The doses per 100 MU to the reference point (SAD=100cm, Depth=10cm, Field=10X10cm, 6MV photon beam) in a virtual cubic phantom (30X30X30cm) were calculated using Eclipse TPS (calculation model: AcurosXB-11031) by assigning the CT numbers to HU of typical materials acquired by various protocols. Results: For the inserts of densities less than muscle, CT number fluctuations of all protocols were within the tolerance of 10 HU as accepted by AAPM-TG66. For more condensed materials, fixed kV yielded stable HU with any mA combination where largest disparities were found in 1750mg/cc insert: HU{sub reference}=1801(106.6cGy), HU{sub minimum}=1799 (106.6cGy, error{sub dose}=0.00%), HU{sub maximum}=1815 (106.8cGy, error{sub dose}=0.19%). Yet greater disagreements were observed with increasing density when kV was modified: HU{sub minimum}=1646 (104.5cGy, error{sub dose}=- 1.97%), HU{sub maximum}=2487 (116.4cGy, error{sub dose}=9.19%) in 1750mg/cc insert. Conclusion: Without affecting treatment dose calculation, personalized mA optimization of CT simulator can be conducted by fixing kV for a better cost-effectiveness of imaging dose and quality especially for children. Unless recalibrated, kV should be constant for all anatomical sites if diagnostic CT scanner is used as a simulator. This work was partially supported by Capital Medical Development Scientific Research Fund of China.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Optimization studies of the ITER low field side reflectometer

Microwave reflectometry will be used on ITER to measure the electron density profile, density fluctuations due to MHD/turbulence, ELM density transients, and as a L-H transition monitor. The ITER low field side (LFS) reflectometer system will measure both core and edge quantities using multiple antenna arrays spanning frequency ranges of 15-155 GHz for the O-mode system and 55-220 GHz for the X-mode system. Optimization studies using the GENRAY ray-tracing code have been done for edge and core measurements. The reflectometer launchers will utilize the HE11 mode launched from circular corrugated waveguide. The launched beams are assumed to be Gaussian with a beam waist diameter of 0.643 times the waveguide diameter. Optimum launcher size and placement are investigated by computing the antenna coupling between launchers, assuming the launched and received beams have a Gaussian beam pattern.

47 OTHER INSTRUMENTATION↗

A Framework for International Collaboration on ITER Using Large-Scale Data Transfer to Enable Near-Real-Time Analysis

The global nature of the ITER project along with its projected ~ petabyte per day data generation presents a unique challenge, but also an opportunity for the fusion community to rethink, optimize, and enhance our scientific discovery process. Recognizing this, collaborative research with computational scientists was undertaken over the past several years to create a framework for large-scale data movement across wide-area networks (WANs), to enable global near-real time analysis of fusion data. This would broaden the available computational resources for analysis/simulation, and increase the number of researchers actively participating in experiments. An official demonstration of this framework for fast, large data transfer and real-time analysis was carried out between the KSTAR tokamak in Daejeon, Korea and PPPL in Princeton, USA. Streaming large data transfer, with near real-time movie creation and analysis of the KSTAR Electron Cyclotron Emission imaging (ECEI) data, was performed using the I/O framework ADIOS, and comparisons made at PPPL with simulation results from the XGC1 code. These demonstrations were made possible utilizing an optimized network configuration at PPPL, which achieved over 8.8 Gbps (88% utilization) in throughput tests from NFRI to PPPL. This demonstration showed the feasibility for large-scale data analysis of KSTAR data, and provides a nascent framework to enable use of globally distributed computational and personnel resources in pursuit of scientific knowledge from the ITER experiment.

43 PARTICLE ACCELERATORS↗

Inertial Confinement Fusion Design Search Using Bayesian Optimization

Inertial confinement fusion (ICF) experiments rely on complex multi-physics simulation codes such as the Lawrence Livermore National Laboratory-developed HYDRA to guide design work. However, these simulations have several dozen tunable parameters and can be computationally expensive. This makes searching the parameter space challenging and time-consuming. Recently developed automated tools utilize Bayesian optimization to search these high-dimensional parameter spaces for optimal designs. The optimization tools run 2D integrated simulations in HYDRA to converge on a design that produces specified scalar or vector outputs. In this paper, we apply the Bayesian optimization tools to two common tuning scenarios. First, we tune simulation inputs to match measurements of a well-characterized experiment at the National Ignition Facility. This type of tuning is commonly performed to compensate for the use of simplified simulation settings (e.g. reduced resolution) or to account for missing physics in the simulations. Second, we search for an ICF simulation design that has a particular radiation drive profile. These optimizations replicate the kinds of tuning researchers routinely perform, but do so with significantly reduced manual effort. This approach demonstrates a powerful and efficient pathway toward autonomous, high-fidelity design optimization for future ICF experiments.

Bayesian optimization↗

TRANSP integrated modeling code for interpretive and predictive analysis of tokamak plasmas

This paper provides a comprehensive review of the TRANSP code, a sophisticated tool for interpretive and predictive analysis of tokamak plasmas, detailing its major capabilities and features. It describes the equations for particle, power, and momentum balance analysis, as well as the poloidal field diffusion equations. The paper outlines the spatial and time grids used in TRANSP and details the equilibrium assumptions and solvers. Various models for heating and current drive and radiation, including updates to the NUBEAM model, are discussed. The handling of large-scale events such as sawtooth crashes and pellet injections is examined, along with the predictive capabilities for advancing plasma profiles. The integration of TRANSP with the ITER Integrated Modeling and Analysis Suite (IMAS) is highlighted, demonstrating enhanced data access and analysis capabilities. Additionally, the paper discusses best practices and continuous integration techniques to enhance TRANSP's robustness. The suite of TRANSP tools, designed for efficient data analysis and simulation, further supports the optimization of tokamak operations and coupling with other tokamak codes. Continuous development and support ensure that TRANSP remains a major code for the analysis of experimental data for controlled thermonuclear fusion, maintaining its critical role in supporting the optimization of tokamak operations and advancing fusion research.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Grad–Shafranov equilibria via data-free physics informed neural networks

A large number of magnetohydrodynamic (MHD) equilibrium calculations are often required for uncertainty quantification, optimization, and real-time diagnostic information, making MHD equilibrium codes vital to the field of plasma physics. In this paper, we explore a method for solving the Grad–Shafranov equation by using physics-informed neural networks (PINNs). For PINNs, we optimize neural networks by directly minimizing the residual of the partial differential equation as a loss function. We show that PINNs can accurately and effectively solve the Grad–Shafranov equation with several different boundary conditions, making it more flexible than traditional solvers. This method is flexible as it does not require any mesh and basis choice, thereby streamlining the computational process. We also explore the parameter space by varying the size of the model, the learning rate, and boundary conditions to map various tradeoffs such as between reconstruction error and computational speed. Additionally, we introduce a parameterized PINN framework, expanding the input space to include variables such as pressure, aspect ratio, elongation, and triangularity in order to handle a broader range of plasma scenarios within a single network. Parameterized PINNs could be used in future work to solve inverse problems such as shape optimization.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Optimization studies of the ITER low field side reflectometer

Microwave reflectometry will be used on ITER to measure the electron density profile, density fluctuations due to MHD/turbulence, edge localized mode (ELM) density transients, and as an L-H transition monitor. The ITER low field side reflectometer system will measure both core and edge quantities using multiple antenna arrays spanning frequency ranges of 15-155 GHz for the O-mode system and 55-220 GHz for the X-mode system. Optimization studies using the GENRAY ray-tracing code have been done for edge and core measurements. The reflectometer launchers will utilize the HE11 mode launched from circular corrugated waveguide. The launched beams are assumed to be Gaussian with a beam waist diameter of 0.643 times the waveguide diameter. Optimum launcher size and placement are investigated by computing the antenna coupling between launchers, assuming the launched and received beams have a Gaussian beam pattern.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

PICSAR-QED: a Monte Carlo module to simulate strong-field quantum electrodynamics in particle-in-cell codes for exascale architectures

Abstract Physical scenarios where the electromagnetic fields are so strong that quantum electrodynamics (QED) plays a substantial role are one of the frontiers of contemporary plasma physics research. Investigating those scenarios requires state-of-the-art particle-in-cell (PIC) codes able to run on top high-performance computing (HPC) machines and, at the same time, able to simulate strong-field QED processes. This work presents the PICSAR-QED library, an open-source, portable implementation of a Monte Carlo module designed to provide modern PIC codes with the capability to simulate such processes, and optimized for HPC. Detailed tests and benchmarks are carried out to validate the physical models in PICSAR-QED, to study how numerical parameters affect such models, and to demonstrate its capability to run on different architectures (CPUs and GPUs). Its integration with WarpX, a state-of-the-art PIC code designed to deliver scalable performance on upcoming exascale supercomputers, is also discussed and validated against results from the existing literature.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Exploring code portability solutions for HEP with a particle tracking test code

Traditionally, high energy physics (HEP) experiments have relied on x86 CPUs for the majority of their significant computing needs. As the field looks ahead to the next generation of experiments such as DUNE and the High-Luminosity LHC, the computing demands are expected to increase dramatically. To cope with this increase, it will be necessary to take advantage of all available computing resources, including GPUs from different vendors. A broad landscape of code portability tools—including compiler pragma-based approaches, abstraction libraries, and other tools—allow the same source code to run efficiently on multiple architectures. In this paper, we use a test code taken from a HEP tracking algorithm to compare the performance and experience of implementing different portability solutions. While in several cases portable implementations perform close to the reference code version, we find that the performance varies significantly depending on the details of the implementation. Achieving optimal performance is not easy, even for relatively simple applications such as the test codes considered in this work. Several factors can affect the performance, such as the choice of the memory layout, the memory pinning strategy, and the compiler used. The compilers and tools are being actively developed, so future developments may be critical for their deployment in HEP experiments.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Additive manufacturing system and method having toolpath analysis

An additive manufacturing (AM) system is disclosed for constructing a three dimensional (3D) part with optimized orthotropy. The system combines an electronic processor which calculates an optimal set of physically achievable toolpaths to meet a given design objective, and a 3D printing direct ink write machine capable of printing inks with reinforcing particles that result in orthotropic materials. The electronic processor may combine a Domain of Interest subsystem that transforms a mathematical description of a desired part orthotropy to a plurality of guidepaths, a toolpath generate subsystem that develops a plurality of physically realizable toolpaths from those guidepaths with a minimum number of starts and stops, a finite element subsystem that computes spatially varying material orthotropy from those toolpaths and then solves a boundary value problem to determine a figure of merit for the design, and an optimization subsystem that uses that figure of merit to update the mathematical description of the part orthotropy to iteratively develop an improved part. The optimization subsystem also includes convergence criteria to indicate when toolpaths have been achieved that yield a sufficiently optimal part has been achieved. The toolpath generate can then output the final toolpaths, which are converted to suitable code that controls the motion of the 3D printer toolhead and allows the optimized 3D part to be manufactured.

King, Michael J.↗

Nonlinear kinetic description of Raman growth using an envelope code, and comparisons with Vlasov simulations

In this paper, we present our nonlinear kinetic modeling of stimulated Raman scattering in a uniform and collisionless plasma using envelope equations. We recall the derivation of these equations, as well as our theoretical predictions for each of the nonlinear kinetic terms, the precision of which having been carefully checked against Vlasov simulations. We particularly focus here on the numerical resolution of these equations, which requires the additional concept of ''self-optimization'' that we explain, and we describe the envelope code BRAMA that we used. As an application of our modeling, we present one-dimensional BRAMA simulations of stimulated Raman scattering which predict threshold intensities, as well as time scales for Raman growth above threshold, in very good agreement with those inferred from Vlasov simulations. Finally, we discuss the differences between our modeling and other published ones.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Techniques for Automated Performance Analysis

The performance of a particular HPC code depends on a multitude of variables, including compiler selection, optimization flags, OpenMP pool size, file system load, memory usage, MPI configuration, etc. As a result of this complexity, current predictive models have limited applicability, especially at scale. We present a formulation of scientific codes, nodes, and clusters that reduces complex performance analysis to well-known mathematical techniques. Building accurate predictive models and enhancing our understanding of scientific codes at scale is an important step towards exascale computing.

97 MATHEMATICS AND COMPUTING↗

Condensation in horizontal heat exchanger tubes

Many innovative reactor concepts for Generation III nuclear power plants use passive safety equipment for residual heat removal. These systems use two phase natural circulation. Heat transfer to the coolant results in a density difference providing the driving head for the required mass flow. By balancing the pressure drop the system finds its operational mode. Therefore the systems depend on a strong link between heat transfer and pressure drop determining the mass flow through the system. In order to be able to analyze these kind of systems with the help of state of the art computer codes the implemented numerical models for heat transfer, pressure drop or two phase flow structure must be able to predict the system performance in a wide parameter range. Goal of the program is to optimize the numerical models and therefore the performance of computer codes analyzing passive systems. Within the project the heat transfer capacity of a heat exchanger tube will be investigated. Therefore the tube will be equipped with detectors, both temperature and pressure, in several directions perpendicular to the tube axis to be able to resolve the angular heat transfer. In parallel the flow structure of a two phase flow inside and along the tube will be detected with the help of x-ray tomography. The water cooling outside of the tube will be realized by forced convection. It will be possible to combine the flow structure measurement with an angular resolved heat transfer for a wide parameter range. The test rig is set up at the TOPLFOW facility at the Helmholtz-Zentrum Dresden-Rossendorf (HZDR), so that it will be possible to vary the pressure between 5 and 70 bar. The steam mass content will be varied between 0 and 100 percent. The results will be compared to the large scaled Emergency Condenser Tests performed at the INKA test facility in Karlstein (Germany). The paper will explain the test setup and the status of the project will be presented. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Parallelization and Performance Portability in Hydrodynamics Codes

With the eve of Exascale computing, performance and portability are at the forefront of all scientific codes. Adding more cores and more energy to a system is no longer a sustainable way to achieve performance, and extra effort must now be made to improve performance in all areas of code and code development. Using hydrodynamic codes as a basis, this work explores numerous techniques to achieve performance in different ways. Adaptive mesh refinement (AMR) is a necessary technique to improve memory optimization in mesh-based simulations. However it is invasive and conventionally difficult to integrate into existing applications, so we present a new branch of AMR to create a smooth transition to these optimizations, which not only improves performance, but also greatly reduces developer effort. We introduce the concept of this improvement as Phantom-Cell AMR, and assess theoretically the improvements, as well as present an application of its use. Other work included involves and investigation into an efficient data structure that ensures optimal memory layout for cache performance, with a target of making codes performant and portable across all architectures. All of the work targets both performance and portability, not just on CPU hardware, but specifically across GPU architectures. Parallel performance is key to all of the methods presented, but the research makes a great effort to improve the portability of all applications to prepare for current high performance computing systems and those on the horizon.

97 MATHEMATICS AND COMPUTING↗

TH-CD-209-06: LET-Based Adjustment of IMPT Plans Using Prioritized Optimization

Purpose: In-vitro experiments suggest an increase in proton relative biological effectiveness (RBE) towards the end of range. However, proton treatment planning and dose reporting for clinical outcome assessment has been based on physical dose and constant RBE. Therefore, treatment planning for intensity-modulated proton therapy (IMPT) is unlikely to transition radically to pure RBE-based planning. We suggest a hybrid approach where treatment plans are initially created based on physical dose constraints and prescriptions, and are subsequently altered to avoid high linear energy transfer (LET) in critical structures while limiting the degradation of the physical dose distribution. Methods: To allow fast optimization based on dose and LET we extended a GPU-based Monte-Carlo code towards providing dose-averaged LET in addition to dose for all pencil beams. After optimizing an initial IMPT plan based on physical dose, a prioritized optimization scheme is used to modify the LET distribution while constraining the physical dose objectives to values close to the initial plan. The LET optimization step is performed based on objective functions evaluated for the product of physical dose and LET (LETxD). To first approximation, LETxD represents a measure of the additional biological dose that is caused by high LET. Regarding optimization techniques, LETxD has the advantage of being a linear function of the pencil beam intensities. Results: The method is applicable to treatments where serial critical structures with maximum dose constraint are located in or near the target. We studied intra-cranial tumors (high-grade meningiomas, base-of-skull chordomas) where the target (CTV) overlaps with the brainstem and optic structures. Often, high LETxD in critical structures can be avoided while minimally compromising physical dose planning objectives. Conclusion: LET-based re-optimization of IMPT plans represents a pragmatic approach to bridge the gap between purely physical dose-based and RBE-based planning. It can be realized with fast GPU-based Monte-Carlo dose calculation. The project was in part supported by NIH grants U19 CA 021239-36 and C06 CA 059267.

60 APPLIED LIFE SCIENCES↗

Design of a prototypical natural circulation water-based reactor cavity cooling system (RCCS) for a pebble-bed generic FHR

A prototypical natural circulation water-based reactor cavity cooling system (RCCS) for the UC Berkeley Mark-1 pebble-bed gFHR is designed based on one-dimensional thermal hydraulics modeling and optimization implemented in an in-house MATLAB code. The model employs a lumped core consisting of fuel pebble and graphite pebble regions, while the graphite reflector, vessel, and RCCS are represented as separate but energy-coupled regions. The model is derived based on steady state energy balance equations accounting for conductive heat transfer from the lumped core to the vessel and subsequent radiative heat transfer to the RCCS and convective heat transfer in the water. Further, mass flow rate is calculated based on momentum and thermal energy balance in the RCCS. Starting with ANL’s water NSTF as baseline, effects of RCCS design parameters such as size of the plate between pipes, pipe diameter, source-to-sink distance, surface emissivity, and pitch from the core are examined in an integral effects framework which accounts for subsequent variation of the mass flow rate, number of pipes, convection coefficient, mean region and surface temperatures, radiative view factors, and water outlet temperature. The importance of including a prototypical reactor design in RCCS design calculations is emphasized as the calculations show that temperature drops from the core to the RCCS fluid to transfer the heat tend to be the limitation not the heat removal capacity of the fluid. A closed-loop design is obtained with capability to safely remove up to 0.72% of the nominal reactor power at maximum estimated peak conditions and 0.40% at shutdown. The design is based on physics calculations and does not account for economic optimization.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Concept and realization of unmanned aerial system with different modes of operation

In this paper we describe the development process of unmanned aerial system, its mechanical components, electronics and software solutions. During the stage of design, we have formulated some necessary requirements for the multirotor vehicle and ground control station in order to build an optimal system which can be used for the reconnaissance missions. Platform is controlled by use of the ground control station (GCS) and has possibility of accomplishing video based observation tasks. In order to fulfill this requirement the on-board payload consists of mechanically stabilized camera augmented with machine vision algorithms to enable object tracking tasks. Novelty of the system are four modes of flight, which give full functionality of the developed UAV system. Designed ground control station is consisted not only of the application itself, but also a built-in dedicated components located inside the chassis, which together creates an advanced UAV system supporting the control and management of the flight. Mechanical part of quadrotor is designed to ensure its robustness while meeting objectives of minimizing weight of the platform. Finally the designed electronics allows for implementation of control and estimation algorithms without the needs for their excessive computational optimization.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗