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 109 records · Page 6

Mads.jl

Mads.jl (Model analysis and decision support in Julia) is a code that streamlines the process of using data and models for analysis and decision support. It is based on another open-source code developed at LANL and written in C/C++ (MADS; http://mads.lanl.gov; LA-CC-11- 035). Mads.jl can work with external models of arbitrary complexity as well as built-in models of flow and transport in porous media. It enables a number of data- and model-based analyses including model calibration, sensitivity analysis, uncertainty quantification, and decision analysis. The code also can use a series of alternative adaptive computational techniques for Bayesian sampling, Monte Carlo, and Bayesian Information-Gap Decision Theory. The code is implemented in the Julia programming language, and has high-performance (parallel) and memory management capabilities. The code uses a series of third party modules developed by others. The code development will also include contributions to the existing third party modules written in Julia; this contributions will be important for the efficient implementation of the algorithm used by Mads.jl. The code also uses a series of LANL developed modules that are developed by Dan O'Malley; these modules will be also a part of the Mads.jl release. Mads.jl will be released under GPL V3 license. The code will be distributed as a Git repo at gitlab.com and github.com. Mads.jl manual and documentation will be posted at madsjulia.lanl.gov.

Vesselinov, Velimir↗

LSAFE: a Lightweight Static Analysis Framework for binary Executables

Static analysis is a widely used technique for analyzing various aspects of programs. However, as programs become more complex, static analysis tools require larger resources, such as CPU time and memory, to perform the same tasks. Moreover, the source code of programs may not always be accessible, requiring static analysis to be performed on the binary executable code directly. To overcome these challenges, we propose a lightweight static analysis framework called LSAFE, which constructs control flow graphs (CFGs) and data dependency graphs (DDGs) of target programs with optimized performance in terms of CPU and memory usage. We evaluated the proposed framework using both Spec benchmark programs and real-world industrial applications, and found that it outperformed Angr, an existing state-of-the-art static analysis tool. Additionally, we demonstrate a case study that utilizes the CFG generated by LSAFE to detect memory leaks.

Qu, Guangzhi↗

Static analysis techniques for semiautomatic synthesis of message passing software skeletons

The design of high-performance computing architectures demands performance analysis of large-scale parallel applications to derive various parameters concerning hardware design and software development. The process of performance analysis and benchmarking an application can be done in several ways with varying degrees of fidelity. One of the most cost-effective ways is to do a coarse-grained study of large-scale parallel applications through the use of program skeletons. The concept of a “program skeleton” that we discuss in this article is an abstracted program that is derived from a larger program where source code that is determined to be irrelevant is removed for the purposes of the skeleton. In this work, we develop a semiautomatic approach for extracting program skeletons based on compiler program analysis. Finally, we demonstrate correctness of our skeleton extraction process by comparing details from communication traces, as well as show the performance speedup of using skeletons by running simulations in the SST/macro simulator.

97 MATHEMATICS AND COMPUTING↗

SCALE Code System 6.2.1

The SCALE Code System is a widely-used modeling and simulation suite for nuclear safety analysis and design that is developed, maintained, tested, and managed by the Reactor and Nuclear Systems Division (RNSD) of Oak Ridge National Laboratory (ORNL). SCALE provides a comprehensive, verified and validated, user-friendly tool set for criticality safety, reactor and lattice physics, radiation shielding, spent fuel and radioactive source term characterization, and sensitivity and uncertainty analysis. Since 1980, regulators, licensees, and research institutions around the world have used SCALE for safety analysis and design. SCALE provides an integrated framework with dozens of computational modules including three deterministic and three Monte Carlo radiation transport solvers that are selected based on the desired solution strategy. SCALE includes current nuclear data libraries and problem-dependent processing tools for continuous-energy (CE) and multigroup (MG) neutronics and coupled neutron-gamma calculations, as well as activation, depletion, and decay calculations. SCALE includes unique capabilities for automated variance reduction for shielding calculations, as well as sensitivity and uncertainty analysis. SCALE’s graphical user interfaces assist with accurate system modeling, visualization of nuclear data, and convenient access to desired results.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Online Analysis of {gamma}-ray Sources with H.E.S.S

Some of the {gamma}-ray sources detected by the H.E.S.S. experiment display irregular, often flare-like emission behaviour. A method to detect these outbursts as fast as possible is highly desirable. At H.E.S.S., first results from an offline analysis of pre-calibrated data can be obtained on-site approximately one hour after run end. We present a development and implementation of online analysis software that performs calibration and analysis of data at the time they are being taken allowing for a fast confirmation of observational results and appropriate reaction by the on-site shift crew.

79 ASTRONOMY AND ASTROPHYSICS↗

Harnessing the predicted maize pan-interactome for putative gene function prediction and prioritization of candidate genes for important traits

Abstract The recent assembly and annotation of the 26 maize nested association mapping population founder inbreds have enabled large-scale pan-genomic comparative studies. These studies have expanded our understanding of agronomically important traits by integrating pan-transcriptomic data with trait-specific gene candidates from previous association mapping results. In contrast to the availability of pan-transcriptomic data, obtaining reliable protein–protein interaction (PPI) data has remained a challenge due to its high cost and complexity. We generated predicted PPI networks for each of the 26 genomes using the established STRING database. The individual genome-interactomes were then integrated to generate core- and pan-interactomes. We deployed the PPI clustering algorithm ClusterONE to identify numerous PPI clusters that were functionally annotated using gene ontology (GO) functional enrichment, demonstrating a diverse range of enriched GO terms across different clusters. Additional cluster annotations were generated by integrating gene coexpression data and gene description annotations, providing additional useful information. We show that the functionally annotated PPI clusters establish a useful framework for protein function prediction and prioritization of candidate genes of interest. Our study not only provides a comprehensive resource of predicted PPI networks for 26 maize genomes but also offers annotated interactome clusters for predicting protein functions and prioritizing gene candidates. The source code for the Python implementation of the analysis workflow and a standalone web application for accessing the analysis results are available at https://github.com/eporetsky/PanPPI.

Genetics & Heredity↗

Palm: Easing the Burden of Analytical Performance Modeling

Analytical (predictive) application performance models are critical for diagnosing performance-limiting resources, optimizing systems, and designing machines. Creating models, however, is difficult because they must be both accurate and concise. To ease the burden of performance modeling, we developed Palm, a modeling tool that combines top-down (human-provided) semantic insight with bottom-up static and dynamic analysis. To express insight, Palm defines a source code modeling annotation language. By coordinating models and source code, Palm's models are `first-class' and reproducible. Unlike prior work, Palm formally links models, functions, and measurements. As a result, Palm (a) uses functions to either abstract or express complexity (b) generates hierarchical models (representing an application's static and dynamic structure); and (c) automatically incorporates measurements to focus attention, represent constant behavior, and validate models. We discuss generating models for three different applications.

annotation languages↗

Nuclear Safety [Vol. 30, No. 3, July-September 1989]

Nuclear Safety is a review journal that covers significant developments in the field of nuclear safety. Its scope includes the analysis and control of hazards associated with nuclear energy, operations involving fissionable materials, and the products of nuclear fission and their effects on the environment. Primary emphasis is on safety in reactor design, construction, and operation; however, the safety aspects of the entire fuel cycle, including fuel fabrication, spent-fuel processing, nuclear waste disposal, handling of radioisotopes, and environmental effects of these operations, are also treated. Table of Contents for this issue follows. GENERAL SAFETY CONSIDERATIONS: 325 Safety of Framatome Advanced Nuclear Steam Supply Systems Designs by J. A. Charles and D. Lange, 333 Book Review of Nuclear Accidents: Intervention Levels for the Protection of the Public by H. B. Piper; ACCIDENT ANALYSIS: 335 Living PRA Computer Systems by S. C. Dinsmore and H.-P. Balfanz, 343 Summary of ICAP Assessments of RELAP5/MOD2 by W. E. Driskell and R. G. Hanson; CONTROL AND INSTRUMENTATION: 352 Thermal Performance Monitoring System at Maanshan Nuclear Power Plant by H.-J. Chao, Y.-P. Lin, G.-H. Jou, L.-Y. Liao, and Y.-B. Chen; DESIGN FEATURES: 358 Warning Systems for Nuclear Power Plant Emergencies by J. H. Sorensen and D. S. Mileti; WASTE AND SPENT FUEL MANAGEMENT: 371 Activities Related to Waste Management Compiled by E G. Silver; OPERATING EXPERIENCES: 382 Steam Generator Tube Performance: Experience with Water-Cooled Nuclear Power Reactors During 1985 by O. S. Tatone and R. L. Tapping, 400 Systems Interaction Analyses: Concepts and Techniques (Part II) by M. D. Muhlheim and G. A. Murphy, 413 Reactor Shutdown Experience Compiled by J. W. Cletcher, 416 Operating U.S. Power Reactors Compiled by E G. Silver; RECENT DEVELOPMENTS: 440 General Administrative Activities Compiled by E G. Silver, 460 Reports, Standards, and Safety Guides by D. S. Queener, 466 Status of Power-Reactor Licensing Activities Compiled by E G. Silver, 470 Proposed Rule Changes as of Mar. 31, 1989; ANNOUNCEMENTS: 334 Proceedings Published, 351 CEC Seminar on Methods and Codes for Assessing the Off-Site Consequences of Nuclear Accidents, 357 Short Course on Multiphase Flow and Heat Transfer: Bases and Applications in A: The Nuclear Power Industry B: The Process Industries, 357 International Conference on Probabilistic Safety Assessment and Management, 478 International Topical Meeting on the Safety, Status, and Future of Non-Commercial Reactors and Irradiation Facilities, 475 The Authors.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Quasiclassical Computations of Compton-Scattered Spectra

Quality X-ray sources are crucial to fundamental physics research, medical radiology, humanities research, and materials science. While synchrotron radiation (SR) facilities produce the state-of-the-art emissions with respect to brilliance and frequency tunability, the great expense required to build, maintain, and operate these structures greatly limits their accessibility to researchers. Much of the research conducted at SR facilities, however, may be conducted with inverse Compton sources (ICS). Accelerator-based Compton scattering light sources generate high-energy, high-brilliance emissions. Compton scattering is the process by which a photon scatters o? an electron. ICS offer an affordable, in-lab alternative to SR facilities. Even though SR facilities produce greater intensity emissions, Compton sources provide the same frequency tunability at the intensities suitable for the purposes of many researchers currently fighting for time at SR facilities, i.e., ICS provides intensities suitable for contrast imaging, X-ray fluorescence, X-ray-diffraction, and X-ray spectroscopy. The focus of this work is to create computational models to simulate Compton-scattered spectra. These models have been used to build a theoretical basis for methods of improving the quality of future Compton sources and to preform diagnostic analysis of existing light sources. The theoretical basis of each model is derived from first principles. The numerical methods employed by each model are defined. A full description of the various functionalities of each code will be addressed. Furthermore, an in-depth analysis of spectral bandwidth sources is discussed. The complex physics arising from an extremely high-intensity, nonlinear laser pulse is explored in detail. Methods of frequency modulation of the incident laser, i.e., a method for correcting the nonlinear broadening effects on the scattered spectrum, will also be discussed. The work will conclude with a an exploration of the ongoing research efforts regarding regimes of operation outside of the limits of these current models.

Johnson, Erik↗

Development of an Integrated Mechanistic Source Term Assessment Capability for Lead- and Sodium-Cooled Fast Reactors

The scope of this project entails development of mechanistic source term assessment capabilities to inform and guide plant design activities and to support license applications. The main objective of this project is to couple NL’s SAS4A safety analysis code with the FAI’s FATE facility modeling code for mechanistic source term assessments in liquid-metal-cooled fast reactors. The end product is a coupled SAS4A-FATE code system for integrated mechanistic source term assessments and Level-2 PRA as the precursor for off-site dispersion analyses (Level-3 PRA). The SAS4A code is used to model system transients with fuel failures and its results are linked to the FATE code to predict radionuclide transport through the reactor vessel cover gas and containment system. The integrated code package offers a state-of-the-art radionuclide tracking capability for a spectrum of accident scenarios consistent with the plant dynamic response including the reactivity feedback to support Probabilistic Risk Assessments (PRA).

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Sensitivity Analysis of Hardwired Parameters in GALE Codes

The U.S. Nuclear Regulatory Commission asked Pacific Northwest National Laboratory to provide a data-gathering plan for updating the hardwired data tables and parameters of the Gaseous and Liquid Effluents (GALE) codes to reflect current nuclear reactor performance. This would enable the GALE codes to make more accurate predictions about the normal radioactive release source term applicable to currently operating reactors and to the cohort of reactors planned for construction in the next few years. A sensitivity analysis was conducted to define the importance of hardwired parameters in terms of each parameter’s effect on the emission rate of the nuclides that are most important in computing potential exposures. The results of this study were used to compile a list of parameters that should be updated based on the sensitivity of these parameters to outputs of interest.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Development of an Automated J-R Curve Analysis Software Based on the ASTM E1820-18 Normalization Method

The J-integral versus crack-growth resistance curve (J-R curve) is a useful tool for evaluating material fracture toughness in the ductile region. A widely accepted practice for conducting J-R curve testing is ASTM standard E1820, which introduces the normalization method. This method does not require compliance measurements during testing, significantly simplifying J-R curve testing compared with the conventional elastic unloading compliance (EUC) method. Despite the advantage in testing, analysis procedures for the normalization method are very complicated. Also, there is no open source software currently available to perform such analysis.The authors developed an open source automated J-R curve-analysis software based on the normalization method in ASTM E1820-18. Source codes were written in MATLAB and the compiled software, in the form of a stand-alone executable, has a user-friendly graphic interface and is readily compatible with modern Windows operating systems. Both source codes and the compiled executable file are available for download at https://code.ornl.gov/xc8/ANJR.git. Comparisons between resulting J-R curves from the software and manual analysis procedures show essentially identical results, indicating the suitability of applying the automated software for J-R curve analysis.

36 MATERIALS SCIENCE↗

Selected Profiles of Burnup and Isotopic Concentrations in Pebble Bed High Temperature Reactor Fuel

Pebble Bed High Temperature Reactors (PB-HTRs) feature a unique fuel loading, burnup, and discharge process that is markedly different that a light water reactor or any other batch-loaded reactor that uses fixed fuel elements. During PB-HTR operation, small spherical fuel elements are dropped onto the top of the bed at small and regular intervals, 'trickle' through the core, and pass out of the core via a discharge chute at the bottom. Partially burnt pebbles are circulated back to the top of the core for another pass through the flux field. The process continues until the pebble achieves a specified discharge burnup. This results in high fuel utilization relative to a comparable batch-loaded fuel assembly which may or may not achieve full burnup depending upon where it is placed in the core. On the other hand, the radial and axial variation in the flux field and the random placement of each element on top of the bed mean that there will be a distribution of the final burnup and isotopic concentrations in spent fuel. This leads to some uncertainty in burnup analysis that has consequences for burnup monitoring (and thus efficient operation), source term quantification, and material accountability. The PEBBED code was developed specifically for the design and analysis of PB-HTRs. Although it is still under development, the code captures the important physics of cores fueled by dropping in, and if so configured, recirculating small graphite spheres in which the Tri-Isotropic (TRISO) coated particle fuel is embedded. In this study, the capabilities of the code for computing the isotopic contents of PBR fuel were exploited to examine and compare the variability of selected isotopes, in this case U-235, Pu-239, and Cs-137, in the fuel discharged from different PBR concepts. Results indicate the sensitivity of certain isotopes to the core geometry, mainly the presence of an inner reflector. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Goal-oriented sensitivity analysis for lattice kinetic Monte Carlo simulations

In this paper we propose a new class of coupling methods for the sensitivity analysis of high dimensional stochastic systems and in particular for lattice Kinetic Monte Carlo (KMC). Sensitivity analysis for stochastic systems is typically based on approximating continuous derivatives with respect to model parameters by the mean value of samples from a finite difference scheme. Instead of using independent samples the proposed algorithm reduces the variance of the estimator by developing a strongly correlated-“coupled”- stochastic process for both the perturbed and unperturbed stochastic processes, defined in a common state space. The novelty of our construction is that the new coupled process depends on the targeted observables, e.g., coverage, Hamiltonian, spatial correlations, surface roughness, etc., hence we refer to the proposed method as goal-oriented sensitivity analysis. In particular, the rates of the coupled Continuous Time Markov Chain are obtained as solutions to a goal-oriented optimization problem, depending on the observable of interest, by considering the minimization functional of the corresponding variance. We show that this functional can be used as a diagnostic tool for the design and evaluation of different classes of couplings. Furthermore, the resulting KMC sensitivity algorithm has an easy implementation that is based on the Bortz–Kalos–Lebowitz algorithm's philosophy, where events are divided in classes depending on level sets of the observable of interest. Finally, we demonstrate in several examples including adsorption, desorption, and diffusion Kinetic Monte Carlo that for the same confidence interval and observable, the proposed goal-oriented algorithm can be two orders of magnitude faster than existing coupling algorithms for spatial KMC such as the Common Random Number approach. We also provide a complete implementation of the proposed sensitivity analysis algorithms, including various spatial KMC examples, in a supplementary MATLAB source code.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

(α,n) nuclear data scoping study

Neutrons from the (α,n) reaction are an important component of nondestructive assay techniques to determine enriched uranium and other actinide inventories in a variety of critical points in the nuclear fuel cycle. However, uncertainties in the cross section, total neutron yield and neutron spectrum, and gamma emissions from these reactions, such as 19 F(α,n) and 17,18 O(α,n), introduce large uncertainties in the determination of mass of actinides of interest and can represent several significant quantities in unaccounted material in certain facility processes. Calculations and measurements depend on accurate nuclear data; however, much of the relevant data in use today was measured in the 1980s and earlier and has not been updated. Thus, the current uncertainties in the cross sections and neutron emission spectra are unacceptably large. This report documents the results of a scoping study of (α,n) reaction data that considered the current state of the data and recommends areas of improvement. It also addresses the codes use to calculate the (α,n) neutron and gamma source terms and recommends code improvements to support required analysis.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Collection And Analysis Of Telemetry For The Cyote Heuristic

CATCH CLI focuses on gathering telemetry data, storing it in the Neo4j database, querying for Mitre ATT&CK patterns, and creating STIX 2.1 reports. Key Components: Analysis Modules: Analyze data to detect attack patterns. GoSTOTS Collection Engines: Collect telemetry data. These tools can be used together or individually. Analysis modules rely on data from specific engines to identify attack patterns. Source Code Organization: Engines: CATCH/catch/cmd/collection Modules: CATCH/catch/cmd/analysis CGUI Overview CATCH Graphical User Interface (CGUI) offers a graphical shell to execute CATCH CLI, allowing easy editing of: Analysis Modules Database configurations Profiles (collection and device settings) Neo4j Overview Neo4j is a graph database using the Cypher query language, storing data in JSON. It seamlessly integrates with STIX 2.1 data for: Data Submission: CATCH Collection Engines Data Querying: Analysis Modules CATCH modifies STIX 2.1 data for Neo4j submission and reverts it back during querying. STIG Overview Structured Threat Intelligence Graph (STIG) is a tool for creating, editing, querying, analyzing, and visualizing threat intelligence using STIX 2.1 and storing data in Neo4j. Usage Tools can be run: Manually (CLI): Refer to CATCH documentation User Interface: Run ./cgui/CGUI or go run ./cgui/ Additional Information Logging System: Detailed in the config documentation Further Documentation: Available for CATCH and CGUI

Madsen, MichaelJ. [Idaho National Laboratory (INL)↗

Add-a-Source Analysis Method for Neutron Coincidence Counting of Waste: Laboratory Exercises

In this session you will setup the INCC code to perform calibration and verification measurements on simulated waste drums using the Waste Drum Assay System (WDAS) detector, which uses the add-a-source (AAS) method. The basis of the AAS method is to measure the change in the counting rate from a small 252 Cf source (~3x10 4 n/s) located outside of the drum and to use this information to correct the count rate from material inside the drum for any changes caused by the matrix inside the drum. The count rate of the material inside the drum is corrected to the empty drum case so that only a single mass calibration curve has to be measured (for the empty drum configuration). In the WDAS system, the AAS neutron source has one location, centered beneath the waste drum. The sample matrix has two primary effects on the neutrons: (1) energy reduction by scattering reactions and (2) neutron absorption of the low-energy neutrons. In general, the counter is designed with an optimum moderator (CH 2 ) thickness to be relatively insensitive to the energy reduction; however, as the hydrogen density in the drum increases, the adsorption process significantly reduces the measured neutron signal.

98 NUCLEAR DISARMAMENT, SAFEGUARDS, AND PHYSICAL P↗

OpenAD/F : a modular, open-source tool for automatic differentiation of Fortran codes.

The OpenAD/F tool allows the evaluation of derivatives of functions defined by a Fortran program. The derivative evaluation is performed by a Fortran code resulting from the analysis and transformation of the original program that defines the function of interest. OpenAD/F has been designed with a particular emphasis on modularity, flexibility, and the use of open source components. While the code transformation follows the basic principles of automatic differentiation, the tool implements new algorithmic approaches at various levels, for example, for basic block preaccumulation and call graph reversal. Unlike most other automatic differentiation tools, OpenAD/F uses components provided by the OpenAD framework, which supports a comparatively easy extension of the code transformations in a language-independent fashion. It uses code analysis results implemented in the OpenAnalysis component. The interface to the language-independent transformation engine is an XML-based format, specified through an XML schema. The implemented transformation algorithms allow efficient derivative computations utilizing locally optimized cross-country sequences of vertex, edge, and face elimination steps. Specifically, for the generation of adjoint codes, OpenAD/F supports various code reversal schemes with hierarchical checkpointing at the subroutine level. As an example from geophysical fluid dynamics a nonlinear time-dependent scalable, yet simple, barotropic ocean model is considered. OpenAD/F's reverse mode is applied to compute sensitivities of some of the model's transport properties with respect to gridded fields such as bottom topography as independent (control) variables.

54 ENVIRONMENTAL SCIENCES↗