Search NASA⌕ Search

SEARCH · Search NASA

Results for “Source Code Analysis”

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 577 records · Page 32

BPM Button Optimization to Minimize Distortion Due to Trapped Mode Heating

The outer circumference of a BPM button and the inner circumference of the button housing comprise a transmission line. This transmission line typically presents an impedance of a few tens of ohms to the beam, and couples very weakly to the 50 ohm coaxial transmission line that comprises the signal path out of the button. The modes which are consequently excited and trapped often have quality factors of several hundred, permitting resonant excitation by the beam. The thermal distortion resulting from trapped mode heating is potentially problematic for achieving the high precision beam position measurements needed to provide the sub-micron beam position stability required by light source users. We present a button design that has been optimized via material selection and component geometry to minimize both the trapped mode heating and the resulting thermal distortion.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Aerosol Deposition Inside a Spent Fuel Transportation and Storage Canister (Interim Report)

This report documents the progress in preparing the ANSYS/Fluent ® and MELCOR models to perform characterization studies of aerosols dispersal and deposition within a select spent fuel cask system. Steady state thermal-hydraulic cask response is modeled with both codes, at present, while the MELCOR source code is being modified to allow imposed thermal-hydraulic conditions with aerosol physics calculations. This will allow the MELCOR model to assume the thermal-hydraulic calculation from the ANSYS/Fluent ® , while only computing the aerosol physics. Detailed results are presented on the thermal-hydraulic analysis of the MAGNASTOR ® cask for the current ANSYS/Fluent ® model, with convergent conditions observed over two fidelities. While the MELCOR computation computes the steady state conditions, they differ sufficiently from that computed with ANSYS/Fluent ® . The MELCOR analysis include a set of UO 2 sources to investigate system response for interim reporting. The airborne concentrations and evolving distributions are presented. Model development is anticipated to continue as additional components impacting flow conditions or aerosol deposition within the MAGNASTOR ® cask and Westinghouse fuel assemblies are identified.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Methodology and Determination of Field of View of Neutron and Gamma Detectors in the Atucha Spent Fuel Storage Pool

In this paper we seek to create a model by determining the field of view (FOV) of a detector (i.e. which assemblies contribute to the detector response) in the Atucha-I spent fuel pool. The FOV is determined by solving the adjoint transport equation using the 3-D, parallel PENTRAN (Parallel Environment Neutral-particle TRANsport) Sn code, with the detector cross section as the adjoint source. If this adjoint function is coupled with the source spectrum, then the contribution to the detector from each assembly can be determined. First, the reactor criticality was modeled using the MCNP5 (Monte Carlo N-Particle) Monte Carlo code in order to determine the power distribution in each assembly. Using the power distribution data, the assemblies were divided and homogenized into 8 axial and 3 radial zones for burnup analysis. Depletion calculations were performed for each zone using the ORIGEN-ARP (Automatic Rapid Processing) utility from the SCALE 5.1 (Standardized Computer Analyses for Licensing Evaluation) code package. Spent fuel pool and detector were modeled in 2-D in PENTRAN as the detector plus 3 fuel assemblies along both x and y axes. Using the resulting adjoint function combined with the source spectrum, they have determined the FOVs of the fission chamber neutron detector that was used at Atucha, and concluded that 2 assemblies along x and y axes are needed for both cases (i.e. the 4 adjacent assemblies plus the next surrounding 12). For the neutron detector, 88% of the response comes from the nearest 4 assemblies, with 99% from the nearest 16. Results for a uniformly sensitive gamma detector indicate that 2 assemblies in both directions are also needed, with 89% of the response coming from the adjacent assemblies. A Monte Carlo calculation using MCNP was performed to benchmark the neutron result, giving a similar result (87% MCNP vs. 88% PENTRAN). Based on these studies, we have developed a database of FOVs as a function of burnup and decay conditions for different detector types, and a methodology/algorithm which uses this database to analyze the response of a detector placed in a spent fuel pool with the aim of detecting gross defects.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Laser beam-profile impression and target thickness impact on laser-accelerated protons

Experimental results on the influence of the laser focal spot shape onto the beam profile of laser-accelerated protons from gold foils are reported. The targets' microgrooved rear side, together with a stack of radiochromic films, allowed us to deduce the energy-dependent proton source-shape and size, respectively. The experiments show, that shape and size of the proton source depend only weakly on target thickness as well as shape of the laser focus, although they strongly influence the proton's intensity distribution. It was shown that the laser creates an electron beam that closely follows the laser beam topology, which is maintained during the propagation through the target. Protons are then accelerated from the rear side with an electron created electric field of a similar shape. Simulations with the Sheath-Accelerated Beam Ray-tracing for IoN Analysis code SABRINA, which calculates the proton distribution in the detector for a given laser-beam profile, show that the electron distribution during the transport through a thick target (50 {mu}m Au) is only modified due to multiple small angle scattering. Thin targets (10 {mu}m) show large source sizes of over 100 {mu}m diameter for 5 MeV protons, which cannot be explained by multiple scattering only and are most likely the result of refluxing electrons.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Testing and error analysis of a real-time controller

Inexpensive ways to organize and conduct system testing that were used on a real-time satellite network control system are outlined. This system contains roughly 50,000 lines of executable source code developed by a team of eight people. For a small investment of staff, the system was thoroughly tested, including automated regression testing, before field release. Detailed records were kept for fourteen months, during which several versions of the system were written. A separate testing group was not established, but testing itself was structured apart from the development process. The errors found during testing are examined by frequency per subsystem by size and complexity as well as by type. The code was released to the user in March, 1983. To date, only a few minor problems found with the system during its pre-service testing and user acceptance has been good.

Savolaine, C. G.↗

A Monte Carlo analysis of the liquid xenon TPC as gamma ray telescope

Extensive Monte Carlo modeling of a coded aperture x ray telescope based on a high resolution liquid xenon TPC has been performed. Results on efficiency, background reduction capability and source flux sensitivity are presented. We discuss in particular the development of a reconstruction algorithm for events with multiple interaction points. From the energy and spatial information, the kinematics of Compton scattering is used to identify and reduce background events, as well as to improve the detector response in the few MeV region. Assuming a spatial resolution of 1 mm RMS and an energy resolution of 4.5 percent FWHM at 1 MeV, the algorithm is capable of reducing by an order of magnitude the background rate expected at balloon altitude, thus significantly improving the telescope sensitivity.

Aprile, E.↗

Decay Dose Shielding Analysis with Hybrid Unstructured Mesh/Constructive Solid Geometry Monte Carlo Calculation and ADVANTG Acceleration

The Oak Ridge National Laboratory (ORNL) Second Target Station (STS) neutron production facility is an accelerator driven pulsed neutron source that is currently being actively developed at ORNL. The neutrons are produced by proton-induced spallation reactions. A proton beam of 700 kW power is delivered to a spallation target in short, less than 1 µs long pulses, with 15 Hz repetition rate. The spallation target of ORNL STS is a rotating water-cooled tungsten target with tantalum cladding housed in a stainless-steel shroud. It is divided into 21 segments. These segments become highly activated due to spallation reactions or nuclei transmutation by the emitted neutrons. The radioactive nuclides continue to decay after ceasing operation. The decay dose rates generated from the target segments once they are removed from their operational location within the core vessel must be accurately quantified to determine the shielding configurations of remote handling tools and transport casks and to aid in planning maintenance events. To determine the shielding configurations needed for an activated target segment after ceasing operation, both the hybrid unstructured mesh (UM)/constructive solid geometry (CSG) approach that was previously utilized for STS analyses [1] and the ADVANTG code [2] were used. Even though the ADVANTG code does not include UM capability, the utilization of its advanced variance reduction technique was crucial to accelerate the extremely difficult final photon transport calculation in this analysis. This paper also describes the procedures taken to mitigate the convergence issues that occur when ADVANTG uses a source definition that does not match the source of the final Monte Carlo (MC) calculation. These convergence issues often occur because of inconsistencies between source and transport biasing parameters.

Ibrahim, Ahmad↗

Using Numba for GPU acceleration of Neutron Beamline Digital Twins

Digital twins of neutron instruments using Monte Carlo ray tracing have proven to be useful in neutron data analysis and verifying instrument and sample designs. However, these simulations can become quite complex and computationally demanding with tens of billions of neutrons. In this paper, we present a GPU accelerated version of MCViNE using Python and Numba to balance user extensibility with performance. Numba is an open-source just-in-time (JIT) compiler for Python using LLVM to generate efficient machine code for CPUs and GPUs with NVIDIA CUDA. The JIT nature of Numba allowed complex instrument kernels to be generated easily. Initial simulations have shown a speedup between 200-1000x over the original CPU implementation. The performance gain with Numba enables more sophisticated data analysis and impacts neutron scattering science and instrument design.

Kendrick, Coleman↗

Radiation shielding for the Fermilab Vertical Cavity Test Facility

The results of radiation shielding studies for the vertical test cryostat VTS1 at Fermilab performed with the codes FISHPACT and MARS15 are presented and discussed. The analysis is focused on operations with two RF cavities in the cryostat. The vertical cavity test facility (VCTF) for superconducting RF cavities in Industrial Building 1 at Fermilab has been in operation since 2007. The facility currently consists of a single vertical test cryostat VTS1. Radiation shielding for VTS1 was designed for operations with single 9-cell 1.3 GHz cavities, and the shielding calculations were performed using a simplified model of field emission as the radiation source. The operations are proposed to be extended in such a way that two RF cavities will be in VTS1 at a time, one above the other, with tests for each cavity performed sequentially. In such a case the radiation emitted during the tests from the lower cavity can, in part, bypass the initially designed shielding which can lead to a higher dose in the building. Space for additional shielding, either internal or external to VTS1, is limited. Therefore, a re-evaluation of the radiation shielding was performed. An essential part of the present analysis is in using realistic models for cavity geometry and spatial, angular and energy distributions of field-emitted electrons inside the cavities. The calculations were performed with the computer codes FISHPACT and MARS15.

43 PARTICLE ACCELERATORS↗

Detection with Enhanced Energy Windowing Phase I Report

This document reviews the progress of Phase I of the Detection with Enhanced Energy Windowing (DEEW) project. The DEEW project is the implementation of software incorporating an algorithm which reviews data generated by radiation portal monitors and utilizes advanced and novel techniques for detecting radiological and fissile material while not alarming on Naturally Occurring Radioactive Material. Independent testing indicated that the Enhanced Energy Windowing algorithm showed promise at reducing the probability of alarm in the stream of commerce compared to existing algorithms and other developmental algorithms, while still maintaining adequate sensitivity to threats. This document contains a brief description of the project, instructions for setting up and running the applications, and guidance to help make reviewing the output files and source code easier.

97 MATHEMATICS AND COMPUTING↗

Developing an Automated Uncertainty Quantification Tool to Improve Watershed-Scale Predictions of Water and Nutrient Cycling

Managing the flow of water, nutrients, and contaminants in watersheds is vital to addressing pressing issues related to water scarcity, access to clean drinking water, energy production, resilience to natural and anthropogenic perturbations, and ecological restoration. Decisions about the management of watersheds critically depend on the accuracy with which the flow of water and chemicals through the watershed can be predicted by computer models. Prediction uncertainty can be reduced by matching the model to data, which are collected in the field at great expense. The contribution of watershed characterization data to reducing uncertainty of relevant model predictions can be evaluated in a so-called data-worth analysis, which provides transparent, quantitative metrics about a data set’s value for the support of relevant watershed management objectives. To achieve this goal, we developed a software package that implements the data-worth analysis approach for use with state-of-the-art watershed models. The purpose of the proposed data-worth analysis is to help decision-makers allocate resources for watershed characterization such that the uncertainty in model predictions can be significantly reduced, which leads to better, more effective management decisions. At the same time, watershed characterization costs can be reduced. The specific technical objectives of this SBIR/STTR Phase II project were to develop a framework and associated software toolsets that implement the uncertainty quantification and data-worth analysis approach for use with state-of-the-art watershed models. This goal was achieved by (A) developing a user-friendly, robust software package that is accessible to a wide audience, including watershed managers, policy-makers, and public stakeholders; (B) by demonstrating application of the prototype on several use cases that are representative of complex watershed management challenges spanning a range of scales and that consider different open-source, DOE-based codes and other modeling platforms; and (C) by gathering information about the needs and requirements from potential users to help guide future developments, ensuring that the final product will be commercially viable. The developed software consists of a graphical user interface that guides the user through a sequence of analysis steps, supported by toolsets that leverage state-of-the-art computational simulation-optimization capabilities. A prototype of the software runs on multiple platforms (PC, Mac, multi-processor Linux environment), is linked to diverse watershed simulators (e.g., ECOSYS, TOUGH2, TOUGHREACT, Amanzi-ATS), performs multiple analysis tasks (predictive simulations, sensitivity analysis, uncertainty analysis, automatic parameter estimation, and data-worth analysis, multicomponent geothermometry), and is readily extensible to include external simulators and analysis tools. The software is being commercialized and will be continually updated to address user needs.

58 GEOSCIENCES↗

Higher Order Modes Damping Analysis for the SPX Deflecting Cavity Cyromodule

A single-cell superconducting deflecting cavity operating at 2.815 GHz has been proposed and designed for the Short Pulse X-ray (SPX) project for the Advanced Photon Source (APS) upgrade. A cryomodule of 4 such cavities will be needed to produce the required 2-MV deflecting voltage. Each deflecting cavity is equipped with one fundamental power coupler (FPC), one lower order mode (LOM) coupler, and two higher order mode (HOM) couplers to achieve the stringent damping requirements for the unwanted modes. The damping of the LOM/HOM below the beampipe cutoff has been analyzed in the single cavity geometry and shown to meet the design requirements. The HOM above the beampipe cutoff in the 4-cavity cyromodule, however, may result in cross coupling which may affect the HOM damping and potentially be trapped between the cavities which could produce RF heating to the beamline bellows. We have evaluated the HOM damping in the 4-cavity cryomodule using the parallel finite element EM code suite ACE3P developed at SLAC. We will present the results of the cryomodule analysis in this paper.

43 PARTICLE ACCELERATORS↗

Multi-Bunch Stability Analysis of the Advanced Photon Source Upgrade Including the Higher-Harmonic Cavity

Multi-bunch stability simulations were done for the very-low-emittance hybrid seven-bend-achromat (H7BA) lattice proposed for the Advanced Photon Source (APS) upgrade. The simulations, performed using tracking code elegant, were meant to determine whether the long-term wakefields of the higher-order modes (HOMs) of the main 352-MHz cavities will produce an instability. The multi-particle simulations include the important effects of the Higher-Harmonic Cavity (HHC) and the longitudinal impedance of the new vacuum chamber. These realistic simulations show that the HHC provides additional damping in the form of the Landau damping. Still, the HOMs may likely produce a multi-bunch instability which can be cured with more effective HOM damping or a longitudinal feedback system.

Emery, L.↗

Fast automated analysis of strong gravitational lenses with convolutional neural networks

Quantifying image distortions caused by strong gravitational lensing—the formation of multiple images of distant sources due to the deflection of their light by the gravity of intervening structures—and estimating the corresponding matter distribution of these structures (the ‘gravitational lens’) has primarily been performed using maximum likelihood modelling of observations. Our procedure is typically time- and resource-consuming, requiring sophisticated lensing codes, several data preparation steps, and finding the maximum likelihood model parameters in a computationally expensive process with downhill optimizers. Accurate analysis of a single gravitational lens can take up to a few weeks and requires expert knowledge of the physical processes and methods involved. Tens of thousands of new lenses are expected to be discovered with the upcoming generation of ground and space surveys. We report the use of deep convolutional neural networks to estimate lensing parameters in an extremely fast and automated way, circumventing the difficulties that are faced by maximum likelihood methods. We also show that the removal of lens light can be made fast and automated using independent component analysis of multi-filter imaging data. Our networks can recover the parameters of the ‘singular isothermal ellipsoid’ density profile, which is commonly used to model strong lensing systems, with an accuracy comparable to the uncertainties of sophisticated models but about ten million times faster: 100 systems in approximately one second on a single graphics processing unit. These networks can provide a way for non-experts to obtain estimates of lensing parameters for large samples of data.

79 ASTRONOMY AND ASTROPHYSICS↗

Geographic Information System Mapping Tool for Rainwater Harvesting in the United States

The Rainwater Harvesting Tool is a publicly available web-based geographic information system tool developed using geospatial analysis in combination with historic ZIP Code level monthly average precipitation and evapotranspiration data across the United States to help select potential locations for harvesting rainwater. Rainwater harvesting can provide a key source of alternative water for a variety of uses including landscape irrigation, vehicle wash, cooling tower makeup, dust suppression, and toilet flushing. Rainwater harvesting can help support institutional, commercial, and residential buildings in diversifying water sources and offset the use of freshwater. This tool aims to help organizations strategically target locations to implement rainwater harvesting systems. The metric used in the tool is called the rainwater harvesting potential, which is a normalized metric, measured in inches per year. The rainwater harvesting potential describes the amount of rainwater that can be reasonably collected and stored at a specific location. This metric was used to rank areas delineated by ZIP Codes across the US, from lowest to highest to show the relative availability of rainwater for harvesting. Two mapping layers are included in the tool that show the general rainwater harvesting potential for all applications and a layer that specifically shows the potential for harvesting rainwater to supply irrigation The Rainwater Harvesting Tool allows users to view overall trends across the United States, while also allowing the user to zoom in to a scale where ZIP Code boundaries are clearly delineated. The tool can be used to help organizations with buildings located in multiple regions to strategically identify where to install rainwater harvesting systems and prioritize locations that may be optimal for rainwater harvesting.

47 OTHER INSTRUMENTATION↗

Effect of energy relaxation of H{sup 0} atoms at the wall on the production profile of H{sup -} ions in large negative ion sources

Production and transport processes of the H{sup 0} atoms are numerically simulated using a three-dimensional Monte Carlo transport code. The code is applied to the large JAEA 10 ampere negative ion source under a Cs-seeded condition to obtain a spatial distribution of surface-produced H{sup -} ions. In this analysis, we focus on the effect of the energy relaxation of the H{sup 0} atoms at the wall on the H{sup -} ion production from the H{sup 0} atoms. The result indicates that, by considering the energy relaxation of the H{sup 0} atoms at the wall, the production profile of the surface-produced H{sup -} ion is well reflected in the production profile of the H{sup 0} atom production.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

A software package for plasma facing component analysis and design: the Heat flux Engineering Analysis Toolkit (HEAT)

The engineering limits of plasma facing components (PFCs) constrain the allowable operational space of tokamaks. Poorly managed heat fluxes that push the PFCs beyond their limits not only degrade core plasma performance via elevated impurities, but can also result in PFC failure due to thermal stresses or melting. Simple axisymmetric assumptions fail to capture the complex interaction between 3D PFC geometry and 2D or 3D plasmas. This results in fusion systems that must either operate with increased risk or reduce PFC loads, potentially through lower core plasma performance, to maintain a nominal safety factor. High precision 3D heat flux predictions are necessary to accurately ascertain the state of a PFC given the evolution of the magnetic equilibrium. A new code, the Heat flux Engineering Analysis Toolkit (HEAT), has been developed to provide high precision 3D predictions and analysis for PFCs. HEAT couples many otherwise disparate computational tools together into a single open source python package. Magnetic equilibrium, engineering CAD, finite volume solvers, scrape off layer plasma physics, visualization, high performace computing, and more, are connected in a single web-based user interface. Linux users may use HEAT without any software prerequisites via an appImage. This manuscript introduces HEAT, discusses the software architecture, presents first HEAT results, and outlines physics modules in development.

divertor physics↗

FABLE - automatic Fortran to C++ conversion

FABLE is a Fortran to C++ source-to-source conversion tool. This enables the continued development of new methods even while switching programming languages. FABLE is available under a nonrestrictive open source license. In FABLE the analysis of the Fortran source is separated from the generation of the C++ source. Therefore parts of FABLE could be reused for other target languages. Hardware req.: Multi-platform; types of files: source code, sample problem Input data, sample problem output, installation instructions, user guide.

Grosse-Kunstleve, RalfW.↗