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 1,495 records · Page 83

Development of Improved Thermal Analysis Capabilities at the NASA Goddard Space Flight Center

Goddard Space Flight Center (GSFC) has been developing a framework of additional analysis capabilities to aid in the verification, development, and execution of thermal models using the OpenTD Application Programming Interface (API). This paper provides a brief overview of the data structures, properties, methods, and relationships between the objects accessible through the current API and describes some of the algorithms necessary to implement the desired functions at GSFC. Some example code snippets are also provided to aid potential users in the development of their own utilities. Following the overview are descriptions and algorithm methodologies of the new capabilities added to the GSFC framework, including: a new PI heater/controller approach for improved steady state predictions, selective copying of symbol over-rides from one source CaseSet to destination CaseSet(s), comparison of submodel object counts between a source and destination model to verify model integration, comparison of thermo-optical and thermo-physical properties between models, and improved display of extracted thermo-optical and thermo-physical properties for documentation.

ThermalDesktop, API, v6.2, OpenTD↗

Assembling large, complex environmental metagenomes

The large volumes of sequencing data required to sample complex environments deeply pose new challenges to sequence analysis approaches. De novo metagenomic assembly effectively reduces the total amount of data to be analyzed but requires significant computational resources. We apply two pre-assembly filtering approaches, digital normalization and partitioning, to make large metagenome assemblies more computationaly tractable. Using a human gut mock community dataset, we demonstrate that these methods result in assemblies nearly identical to assemblies from unprocessed data. We then assemble two large soil metagenomes from matched Iowa corn and native prairie soils. The predicted functional content and phylogenetic origin of the assembled contigs indicate significant taxonomic differences despite similar function. The assembly strategies presented are generic and can be extended to any metagenome; full source code is freely available under a BSD license.

54 ENVIRONMENTAL SCIENCES↗

An Automated Detection Methodology for Dry Well-Mixed Layers

The intense surface heating over arid land surfaces produces dry well-mixed layers (WML) via dry convection. These layers are characterized by nearly constant potential temperature and low, nearly constant water vapor mixing ratio. To further the study of dry WMLs, we created a detection methodology and supporting software to automate the identification and characterization of dry WMLs from multiple data sources including rawinsondes, remote sensing platforms, and model products. The software is a modular code written in Python, an open source language. Radiosondes from a network of synoptic stations in North Africa were used to develop and test the WML detection process. The detection involves an iterative decision tree that ingests a vertical profile from an input data file, performs a quality check for sufficient data density, and then searches upward through the column for successive points where the simultaneous changes in water vapor mixing ratio and potential temperature are less than the specified maxima. If points in the vertical profile meet the dry WML identification criteria, statistics are generated detailing the characteristics of each layer in the profile. At the end of the vertical profile analysis, there is an option to plot analyzed profiles in a variety of file formats. Initial results show that the detection methodology can be successfully applied across a wide variety of input data and North African environments and for all seasons. It is sensitive enough to identify dry WMLs from other types of isentropic phenomena such as subsidence layers and distinguish the current day’s dry WML from previous days.

Stephen D. Nicholls↗

Snow Property Inversion from Remote Sensing (SPIReS): A Generalized Multispectral Unmixing Approach with Examples from MODIS and Landsat 8 OLI

Spectral mixture analysis has a history in mappingsnow, especially where mixed pixels prevail. Using multiplespectral bands rather than band ratios or band indices, retrievalsof snow properties that affect its albedo lead to more accu-rate estimates than widely used age-based models of albedoevolution. Nevertheless, there is substantial room for improve-ment. We present the Snow Property Inversion from RemoteSensing (SPIReS) approach, offering the following improve-ments: 1) Solutions for grain size and concentrations of lightabsorbing particles are computed simultaneously; 2) Only snowand snow-free endmembers are employed; 3) Cloud-maskingand smoothing are integrated; 4) Similar spectra are groupedtogether and interpolants are used to reduce computation time.The source codes are available in an open repository. Com-putation is fast enough that users can process imagery ondemand. Validation of retrievals from Landsat 8 operational landimager (OLI) and moderate-resolution imaging spectroradiome-ter (MODIS) against WorldView-2/3 and the Airborne SnowObservatory shows accurate detection of snow and estimatesof fractional snow cover. Validation of albedo shows low errorsusing terrain-correctedin situmeasurements. We conclude bydiscussing the applicability of this approach to any airborne orspaceborne multispectral sensor and options to further improve retrievals.

Edward H Blair↗

Capturing and Analyzing Requirements with FRET

FRET is an open source tool, developed at NASA Ames, for writing, understanding, formalizing, and analyzing requirements. In practice, requirements are typically written in natural language, which is ambiguous and consequently not amenable to formal analysis. Since formal, mathematical notations are unintuitive, requirements in FRET are entered in a restricted, natural language, called FRETish with precise unambiguous meaning. FRET helps users write FRETish requirements both by providing grammar information and examples during editing, but also through English and diagrammatic explanations to clarify subtle semantic issues. For each requirement, FRET automatically produces formalizations and supports interactive simulation of produced formalizations to ensure that they capture user intentions. Through its analysis portal, FRET connects to analysis tools by exporting verification code. Currently FRET connects to (1) the CoCoSim automated analysis tool for the verification of Simulink and Stateflow models, and (2) the Copilot runtime monitoring tool for the analysis of C programs. FRET also supports the consistency/realizability analysis of requirements for identifying conflicting requirements. In this tutorial, we introduce FRET and learn to speak and analyze FRETish through several examples.

FRET↗

Analysis of Aeronet Extended Wavelength Retrievals of Aerosol Absorption Parameters Including 380 NM and 500 NM for Detection of Brown Carbon in Biomass Burning and Iron Oxides in Desert Dust

To investigate near UV aerosol absorbers, such as iron in mineral dust and brown carbon from biomass burning, AERONET spectral imaginary refractive index and size distributions retrievals were performed with the input of additional wavelength data. This includes adding both measured spectral AOD and sky radiances at 380 nm and 500 nm to the four channels (440, 675, 870 and 1020 nm) that are used in the standard retrieval data product. The vector radiative transfer code in the AERONET Version 3 retrievals enabled more accurate computations in the ultraviolet region (380 nm). Calibration of the 380 nm channel radiances was done by the vicarious method since the integrating sphere radiance source that is used for all other wavelengths does not produce sufficient energy at 380 nm. Spectral single scattering albedo, imaginary refractive indices and aerosol size distributions from these six wavelength retrievals are compared to the standard four wavelength retrieval values.

Aerosol↗

Development of a Consensus Standard for Verification and Validation of Nuclear System Thermal-Fluids Software

With the resurgence of nuclear power and increased interest in advanced nuclear reactors as an option to supply abundant energy without the associated greenhouse gas emissions of the more conventional fossil fuel energy sources, there is a need to establish internationally recognized standards for the verification and validation (V&V) of software used to calculate the thermal-hydraulic behavior of advanced reactor designs for both normal operation and hypothetical accident conditions. To address this need, ASME (American Society of Mechanical Engineers) Standards and Certification has established the V&V 30 Committee, under the jurisdiction of the V&V Standards Committee, to develop a consensus standard for verification and validation of software used for design and analysis of advanced reactor systems. The initial focus of this committee will be on the V&V of system analysis and computational fluid dynamics (CFD) software for nuclear applications. To limit the scope of the effort, the committee will further limit its focus to software to be used in the licensing of High-Temperature Gas-Cooled Reactors. In this framework, the Standard should conform to Nuclear Regulatory Commission (NRC) and other regulatory practices, procedures and methods for licensing of nuclear power plants as embodied in the United States (U.S.) Code of Federal Regulations and other pertinent documents such as Regulatory Guide 1.203, 'Transient and Accident Analysis Methods' and NUREG-0800, 'NRC Standard Review Plan'. In addition, the Standard should be consistent with applicable sections of ASME NQA-1-2008 'Quality Assurance Requirements for Nuclear Facility Applications (QA)'. This paper describes the general requirements for the proposed V&V 30 Standard, which includes; (a) applicable NRC and other regulatory requirements for defining the operational and accident domain of a nuclear system that must be considered if the system is to be licensed, (b) the corresponding calculation domain of the software that should encompass the nuclear operational and accident domain to be used to study the system behavior for licensing purposes, (c) the definition of the scaled experimental data set required to provide the basis for validating the software, (d) the ensemble of experimental data sets required to populate the validation matrix for the software in question, and (e) the practices and procedures to be used when applying a validation standard. Although this initial effort will focus on software for licensing of High-Temperature Gas-Cooled Reactors, it is anticipated that the practices and procedures developed for this Standard can eventually be extended to other nuclear and non-nuclear applications.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Design and Fabrication of Cherenkov Counters for the Detection of SNM

The need for large-size detectors for long-range active interrogation (AI) detection of SNM has generated interest in water-based detector technologies. Water Cherenkov Detectors (WCD) were selected for this research because of their transportability, scalability, and an inherent energy threshold. The detector design and analysis was completed using the Geant4 toolkit. It was demonstrated both computationally and experimentally that it is possible to use WCD to detect and characterize gamma rays. Absolute efficiency of the detector (with no energy cuts applied) was determined to be around 30% for a {sup 60}Co source.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Numerical Analysis of 2-D and 3-D MHD Flows Relevant to Fusion Applications

Here, the analysis of many fusion applications such as liquid-metal blankets requires application of computational fluid dynamics (CFD) methods for electrically conductive liquids in geometrically complex regions and in the presence of a strong magnetic field. A current state of the art general purpose CFD code allows modeling of the flow in complex geometric regions, with simultaneous conjugated heat transfer analysis in liquid and surrounding solid parts. Together with a magnetohydrodynamics (MHD) capability, the general purpose CFD code will be a valuable tool for the design and optimization of fusion devices. This paper describes an introduction of MHD capability into the general purpose CFD code CFX, part of the ANSYS Workbench. The code was adapted for MHD problems using a magnetic induction approach. CFX allows introduction of user-defined variables using transport or Poisson equations. For MHD adaptation of the code three additional transport equations were introduced for the components of the magnetic field, in addition to the Poisson equation for electric potential. The Lorentz force is included in the momentum transport equation as a source term. Fusion applications usually involve very strong magnetic fields, with values of the Hartmann number of up to tens of thousands. In this situation a system of MHD equations become very rigid with very large source terms and very strong variable gradients. To increase system robustness, special measures were introduced during the iterative convergence process, such as linearization using source coefficient for momentum equations. The MHD implementation in general purpose CFD code was tested against benchmarks, specifically selected for liquid-metal blanket applications. Results of numerical simulations using present implementation closely match analytical solutions for a Hartmann number of up to 1500 for a 2-D laminar flow in the duct of square cross section, with conducting and nonconducting walls. Results for a 3-D test case are also included.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Thermal and Nonthermal Contributions to the Solar Flare X-Ray Flux

The relative thermal and nonthermal contributions to the total energy budget of a solar flare are being determined through analysis of RHESSI X-ray imaging and spectral observations in the energy range from approx. 5 to approx. 50 keV. The classic ways of differentiating between the thermal and nonthermal components - exponential vs. sources - can now be combined for individual flares. In addition, RHESSI's sensitivity down to approx. 4 keV and energy resolution of approx. 1 keV FWHM allow the intensities and equivalent widths of the complex of highly ionized iron lines at approx. 6.7 keV and the complex of highly ionized iron and nickel lines at approx. 8 keV to be measured as a function of time. Using the spectral line and continuum intensities from the Chianti (version 4.2) atomic code, the thermal component of the total flare emission can be more reliably separated from the nonthermal component in the measured X-ray spectrum. The abundance of iron can also be determined from RHESSI line-to-continuum measurements as a function of time during larger flares. Results will be shown of the intensity and equivalent widths of these line complexes for several flares and the temperatures, emission measures, and iron abundances derived from them. Comparisons will be made with 6.7-keV Fe-line fluxes measured with the RESIK bent crystal spectrometer on the Coronas-F spacecraft operating in third order during the peak times of three flares (2002 May 31 at 00:12 UT, 2002 December 2 at 19:26 UT, and 2003 April 26 at 03:OO UT). During the rise and decay of these flares, RESIK was operating in first order allowing the continuum flux to be measured between 2.9 and 3.7 keV for comparison with RHESSI fluxes at its low-energy end.

Dennis, Brian R.↗

PLTEMP/ANL Verification for Assemblies Having Five-Layer Fuel Tubes

PLTEMP/ANL v4.2 is a steady-state single-phase (light or heavy water) code used by ANL and by research laboratories in several countries since 1980 in the analysis of various research reactors whose cores contain assemblies made of multiple fuel plates or nested fuel tubes. This analysis is typically needed in the conversion of cores from highly-enriched uranium to low-enriched uranium. PLTEMP calculates temperature distribution and safety margins, i.e., onset of nucleate boiling ratio (ONBR), onset of Ledinegg flow instability ratio (OFIR), and critical heat flux ratio (CHFR). The analytical method in the code for calculating radial and axial temperature distributions in fuel assemblies having multiple nested coaxial fuel tubes was recently extended and verified to allow each tube to have five layers instead of three. The method also works for fuel assemblies having flat fuel plates by setting the radii of curvature of plates to large values ({approx}50 m). The method models heat sources in all five layers and in the coolant channels. To verify the extended method, an Excel spreadsheet was developed using an alternative solution method to calculate the temperature distribution in a reactor of two fuel assemblies, each made of two five-layer flat fuel plates. The code and the spreadsheet solution methods are described and their solutions are compared.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Numerical benchmark for very high-temperature reactors based on the CNPS critical experiments.

An evaluation of the Compact Nuclear Power Source (CNPS) experiments conducted at Los Alamos National Laboratory in the 1980s has been done using information available in the open literature. The MCNP4C Monte Carlo results for critical test configurations are in good agreement with the experimental values; the k{sub eff} values are generally within 0.5% of the experimental values. The calculated total and differential rod worths and material worths were also found generally close to experimental values. These good results motivated the utilization of the experimental test data for the specification of two- and three-dimensional numerical benchmark cases that could be used for the verification and validation of core physics codes developed for Very High Temperature Reactor (VHTR) analysis, particularly the deterministic lattice and whole-core physics codes. To define the benchmark cases, the irregular arrangement of channels in the actual CNPS core was simplified to a regular Cartesian geometry arrangement in the benchmark cases, while preserving the important neutronics characteristics of the CNPS. The results of deterministic calculations using the HELIOS/DIF3D code package were compared to MCNP4C results to show the usefulness of the numerical benchmark cases.

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

Characteristics of the Neutron Irradiation Facilities of the PSI Calibration Laboratory

The neutron radiation fields of the Calibration Laboratory at Paul Scherrer Institute (PSI) are traceable to the national standards of the Physikalisch-Technische Bundesanstalt (PTB) in Germany. A Berthold LB6411 neutron dose rate meter for neutron radiation is used as a secondary standard. Recently, a thorough characterization of the neutron irradiation fields of the {sup 241}Am-Be and {sup 252}Cf sources by means of reference measurements and a detailed MCNPX simulation of the irradiation facility has been initiated. In this work, the characteristics of the neutron radiation fields are summarized and presented together with model equations and an uncertainty analysis. MCNPX results are shown for the {sup 241}Am-Be source. A comparison of measured and simulated data shows an excellent agreement. From the simulation, valuable information about the neutron fields like the contribution of scattered neutrons in the fields and the energy spectra could be obtained.

07 ISOTOPE AND RADIATION SOURCES↗

Effect of the space weather conditions on the Earth magnetosphere soft X-ray emissivity

The aim of the study is to model and characterize the soft X-ray emissivity on the Earth magnetosphere for different space weather conditions (SWC), providing information to interpret the soft X-ray measurements of the Solar wind Magnetosphere Ionosphere Link Explorer space mission. The MHD code pluto in spherical coordinates is used to perform parametric studies with respect to the solar wind (SW) dynamic pressure (considering density and velocity effects independently) as well as the IMF intensity and orientation, predicting the soft X-ray emissivity for different SWC. The integrated soft X-ray emissivity inside the magnetosheath is calculated as a proxy of the soft X-ray emission dependencies with the SWC independently of the satellite orbit and camera line of sight. The analysis indicates fluctuations of the interplanetary magnetic field (IMF) orientation and magnitude may significantly affect the measured soft X-ray emission although changes in the SW dynamic pressure should be the main source of variability. The southward IMF orientation leads to the configuration with the largest soft X-ray emissivity and northward to the lowest. Strongly distorted magnetospheres explored in configurations showing SW and IMF parameters comparable to the impact of interplanetary coronal mass ejections may show a decrease of the soft X-ray emissivity as the IMF magnitude increases, explained by the strong magnetosphere compression and constriction of the magnetosheath region where the soft X-ray emissivity maximum is located. The simulations also indicate large excursions of the soft X-ray emissivity maximum inside the magnetosheath as the IMF magnitude and SW dynamic pressure fluctuate particularly for radial and ecliptic IMF orientations.

Earth↗

User's Guide for RESRAD-OFFSITE

The RESRAD-OFFSITE code can be used to model the radiological dose or risk to an offsite receptor. This User’s Guide for RESRAD-OFFSITE Version 3.1 is an update of the User’s Guide for RESRAD-OFFSITE Version 2 contained in the Appendix A of the User’s Manual for RESRAD-OFFSITE Version 2 (ANL/EVS/TM/07-1, DOE/HS-0005, NUREG/CR-6937). This user’s guide presents the basic information necessary to use Version 3.1 of the code. It also points to the help file and other documents that provide more detailed information about the inputs, the input forms and features/tools in the code; two of the features (overriding the source term and computing area factors) are discussed in the appendices to this guide. Section 2 describes how to download and install the code and then verify the installation of the code. Section 3 shows ways to navigate through the input screens to simulate various exposure scenarios and to view the results in graphics and text reports. Section 4 has screen shots of each input form in the code and provides basic information about each parameter to increase the user’s understanding of the code. Section 5 outlines the contents of all the text reports and the graphical output. It also describes the commands in the two output viewers. Section 6 deals with the probabilistic and sensitivity analysis tools available in the code. Section 7 details the various ways of obtaining help in the code.

61 RADIATION PROTECTION AND DOSIMETRY↗

Methods Data Qualification Interim Report

The overall goal of the Next Generation Nuclear Plant (NGNP) Data Management and Analysis System (NDMAS) is to maintain data provenance for all NGNP data including the Methods component of NGNP data. Multiple means are available to access data stored in NDMAS. A web portal environment allows users to access data, view the results of qualification tests and view graphs and charts of various attributes of the data. NDMAS also has methods for the management of the data output from VHTR simulation models and data generated from experiments designed to verify and validate the simulation codes. These simulation models represent the outcome of mathematical representation of VHTR components and systems. The methods data management approaches described herein will handle data that arise from experiment, simulation, and external sources for the main purpose of facilitating parameter estimation and model verification and validation (V&V). A model integration environment entitled ModelCenter is used to automate the storing of data from simulation model runs to the NDMAS repository. This approach does not adversely change the why computational scientists conduct their work. The method is to be used mainly to store the results of model runs that need to be preserved for auditing purposes or for display to the NDMAS web portal. This interim report demonstrates the currently development of NDMAS for Methods data and discusses data and its qualification that is currently part of NDMAS.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Computing water flow through complex landscapes – Part 2: Finding hierarchies in depressions and morphological segmentations

Depressions – inwardly draining regions of digital elevation models – present difficulties for terrain analysis and hydrological modeling. Analogous “depressions” also arise in image processing and morphological segmentation, where they may represent noise, features of interest, or both. Here we provide a new data structure – the depression hierarchy – that captures the full topologic and topographic complexity of depressions in a region. We treat depressions as networks in a way that is analogous to surface-water flow paths, in which individual sub-depressions merge together to form meta-depressions in a process that continues until they begin to drain externally. This hierarchy can be used to selectively fill or breach depressions or to accelerate dynamic models of hydrological flow. Complete, well-commented, open-source code and correctness tests are available on GitHub and Zenodo.

54 ENVIRONMENTAL SCIENCES↗

MacPASCO - A Macintosh-based, interactive graphic preprocessor for structural analysis and sizing

MacPASCO, an interactive, graphic preprocessor for panel design is described. MacPASCO creates input for PASCO, an existing computer code for structural analysis and optimization of longitudinal stiffened composite panels. By using a graphical user interface, MacPASCO simplifies the specification of panel geometry and reduces user input errors, thus making the modeling and analysis of panel designs more efficient. The user draws the initial structural geometry on the computer screen, then uses a combination of graphic and text inputs to: refine the structural geometry, specify information required for analysis such as panel load conditions, and define design variables and constraints for minimum-mass optimization. Composite panel design is an ideal application because the graphical user interface can: serve as a visual aid, eliminate the tedious aspects of text-based input, and eliminate many sources of input errors.

Lucas, S. H.↗