Search NASA⌕ Search

SEARCH · Search NASA

Results for “code review”

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 145 records · Page 8

Review of HAYNES® 282® alloy for supercritical CO2 structural applications

In this paper, HAYNES® 282® alloy (282® alloy) properties, microstructure, high temperature oxidation resistance, weldability, and American Society of Mechanical Engineers (ASME) code case highlights are reviewed. The long term performance of high temperature, high strength, creep resistant alloys is critical to the success of supercritical carbon dioxide equipment. Several modern power generation technologies require alloys that can operate continuously at or above 700oC. 282® alloy is a precipitation strengthened nickel based super alloy that meets these requirements. The results of 282® alloy research reviewed in this paper include longterm cyclic oxidation behavior in air and sCO2, independent research and validation of 100k hour creep life, and successful welding of the alloy in the age hardened condition. The latter is critical for joining of hardened components (flanges, piping, heat exchanger internal, etc.) and field repair. Several highlights from the code case for this ASMEapproved material are also presented.

Tossey, Brett↗

AmeriFlux BASE Flux/Met Data QA/QC and Processing (AMF-BASE-QAQC) v1.0.0

The AmeriFlux BASE Flux/Met Data QA/QC and Processing (AMF-BASE-QAQC) code provides tools to review and prepare continuous flux/met data submitted to the AmeriFlux Management Project for publication as the AmeriFlux BASE data product. The code provides 3 core functionalities: Format QA/QC assesses submitted data files for compliance with the required submission format; Data QA/QC assesses the data quality; BASE Publish prepares the data for publication.

Christianson, Danielle↗

Best practices in software development for robust and reproducible geoscientific models based on insights from the Global Carbon Budget's dynamic vegetation models

Computational models play an increasingly vital role in scientific research by enabling the numerical simulation of complex processes. Such models are also fundamental in geosciences. For instance, they offer critical insights into the impacts of global change on the Earth system today and in the future. Beyond their value as research tools, models are also software products and should therefore adhere to certain established software engineering standards. However, scientists are rarely trained as software developers, which can lead to potential deficiencies in software quality like unreadable, inefficient, or erroneous code. The complexity of models, coupled with their integration into broader workflows, also often makes it challenging to reproduce results, evaluate processes, and build upon them. In this paper, we review the state and current practices of the development processes of the state-of-the-art land surface models used by the Global Carbon Budget. We combine the experience of modelers from the respective research groups with the expertise of software engineers from tech companies to outline key principles and tools for improving software quality in research. We explore four main areas: (1) model testing and validation, (2) scientific, technical, and user documentation, (3) version control, continuous integration, and code review, and (4) the portability and reproducibility of workflows. Our review reveals that while modeling communities are incorporating many best practices, significant room for improvement remains in areas such as automated testing, automated documentation, and reproducibility. Therefore, we here identify and promote essential software engineering practices, including numerous examples of practices from within the community that can serve as guidelines for other models and could help streamline processes across the entire community. We conclude with an open-source example implementation of these principles, demonstrating portable and reproducible data flows, a continuous integration setup, and web-based visualizations. This example may serve as a practical resource for model developers, users, and all scientists engaged in scientific programming.

Gregor, Konstantin [Technical Univ. of Munich (Ger↗

Existing evidence on the effects of climate variability and climate change on ungulates in North America: a systematic map

Abstract Background Climate is an important driver of ungulate life-histories, population dynamics, and migratory behaviors. Climate conditions can directly impact ungulates via changes in the costs of thermoregulation and locomotion, or indirectly, via changes in habitat and forage availability, predation, and species interactions. Many studies have documented the effects of climate variability and climate change on North America’s ungulates, recording impacts to population demographics, physiology, foraging behavior, migratory patterns, and more. However, ungulate responses are not uniform and vary by species and geography. Here, we present a systematic map describing the abundance and distribution of evidence on the effects of climate variability and climate change on native ungulates in North America. Methods We searched for all evidence documenting or projecting how climate variability and climate change affect the 15 ungulate species native to the U.S., Canada, Mexico, and Greenland. We searched Web of Science, Scopus, and the websites of 62 wildlife management agencies to identify relevant academic and grey literature. We screened English-language documents for inclusion at both the title and abstract and full-text levels. Data from all articles that passed full-text review were extracted and coded in a database. We identified knowledge clusters and gaps related to the species, locations, climate variables, and outcome variables measured in the literature. Review findings We identified a total of 674 relevant articles published from 1947 until September 2020. Caribou ( Rangifer tarandus ), elk ( Cervus canadensis ), and white-tailed deer ( Odocoileus virginianus ) were the most frequently studied species. Geographically, more research has been conducted in the western U.S. and western Canada, though a notable concentration of research is also located in the Great Lakes region. Nearly 75% more articles examined the effects of precipitation on ungulates compared to temperature, with variables related to snow being the most commonly measured climate variables. Most studies examined the effects of climate on ungulate population demographics, habitat and forage, and physiology and condition, with far fewer examining the effects on disturbances, migratory behavior, and seasonal range and corridor habitat. Conclusions The effects of climate change, and its interactions with stressors such as land-use change, predation, and disease, is of increasing concern to wildlife managers. With its broad scope, this systematic map can help ungulate managers identify relevant climate impacts and prepare for future changes to the populations they manage. Decisions regarding population control measures, supplemental feeding, translocation, and the application of habitat treatments are just some of the management decisions that can be informed by an improved understanding of climate impacts. This systematic map also identified several gaps in the literature that would benefit from additional research, including climate effects on ungulate migratory patterns, on species that are relatively understudied yet known to be sensitive to changes in climate, such as pronghorn ( Antilocapra americana ) and mountain goats ( Oreamnos americanus ), and on ungulates in the eastern U.S. and Mexico.

Malpeli, Katherine C. (ORCID:000000030780918X)↗

Monte Carlo neutronics benchmarks on nuclear fuel depletion: A review

Monte Carlo (MC) neutronics codes are used widely for academic and industrial needs. Several schemes of coupling MC neutronics code with isotope generation and depletion code exist, which are used for performing nuclear fuel depletion simulations. These simulations can estimate the inventory of isotopes in neutron irradiated nuclear reactor fuel. However, the accuracy of these simulations shall be validated through experiments. MC codes are seldom validated by isotopic benchmarks compared to criticality benchmarks. This work compiles and analyzes the fuel depletion benchmarks and validations used to analyze the performance of MC-based fuel depletion neutronics codes. Analyses of these benchmarks and validations showed that the computed concentrations of 133 Cs, 135 Cs, 137 Cs, 148 Nd, 239 Pu, 240 Pu, and 241 Pu in the irradiated fuel by the depletion codes agreed with the measured values within 10% error. However, the computed concentrations of 125 Sb, 242 Cm, 243 Cm, 244 Cm, 245 Cm, and 246 Cm had errors more than 15% compared to the measured values. As a result, Ventina depletion code showed the most accurate predictions for the greatest number of isotope concentrations compared to ORIGEN2 and CINDER90.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Building Energy Codes and Grid-Interactive Efficient Buildings: How building energy codes can enable a more dynamic and energy-efficient built environment

This report considers the role of national model codes to promote grid-interactive efficient buildings (GEBs) as part of the modernization of the U.S. electricity grid. It introduces GEBs, describes their ability to support a clean, resilient grid, and considers challenges and approaches for incorporating GEB measures into national model energy codes and standards. Desirable traits of GEB include being low energy, low peaking, and responsive to grid needs, and minimizing the curtailment of renewable energy resources. In addition, the future grid incurs a time and locational value on these types of building services. Accounting for these considerations in future code development requires a continuation and expansion of code-minimum energy efficiency requirements and inclusion of demand responsive and load flexibility measures while ensuring annual use and cost reductions. Also, efforts to include GEB measures in codes will be limited until they are fully developed into an American National Standards Institute (ANSI)-approved standard. Then it would be straightforward to address GEB measures through points or packages and/or scoring requirements. Otherwise, the building code would have to describe each specific grid responsive strategy. This document reviews topics pertinent to considering codes in this context. Specifically, the study presents the status and direction of current building energy codes, the future smart grid, low-energy buildings, and grid-integrated buildings. The report concludes with recommendations for future code development activities to support low-energy, grid-interactive buildings in order to provide added value to building owners, the grid, and society.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Commercial Energy Code Compliance – Just the Facts, Ma’am

What percent of newly constructed commercial buildings comply with the energy code? How much energy and cost could be saved if the compliance increased? Which code requirements have both low compliance rates and high savings potential? These are the questions U.S. Department of Energy (DOE) is trying to answer through its Commercial Energy Code Field Study. Previous commercial studies have been very limited and did not result in a widely accepted and tested methodology. DOE’s goal is to create a standardized methodology that can produce actionable results at a reasonable study cost, that can be used by state and local governments and utilities and provides valuable information to policy makers. This paper builds on the methodology presented at the 2016 Summer Study and provides a first glimpse of the results as seen in the field. The field study team has implemented the pilot methodology, compiling a data set of over 200 office and retail buildings in climate zones 2A and 5A. The approach is based on identifying lost savings on a total energy cost basis rather than simply counting the quantity of measures that do not meet code. This paper will review the findings of that analysis, discuss critical aspects of the methodology, such as sampling and recruitment strategies, and identify areas where the greatest return—bang for the buck—exists in improving compliance with codes in commercial buildings. In addition, the team will make specific recommendations for jurisdictions looking to use the methodology to maximize energy code savings achieved in the field.

Cheslak, Kimberly↗

Protograph LDPC Codes for the Erasure Channel

This viewgraph presentation reviews the use of protograph Low Density Parity Check (LDPC) codes for erasure channels. A protograph is a Tanner graph with a relatively small number of nodes. A "copy-and-permute" operation can be applied to the protograph to obtain larger derived graphs of various sizes. For very high code rates and short block sizes, a low asymptotic threshold criterion is not the best approach to designing LDPC codes. Simple protographs with much regularity and low maximum node degrees appear to be the best choices Quantized-rateless protograph LDPC codes can be built by careful design of the protograph such that multiple puncturing patterns will still permit message passing decoding to proceed

long erasure codes↗

Review of the second charged-particle transport coefficient code comparison workshop

We report the results of the second charged-particle transport coefficient code comparison workshop, which was held in Livermore, California on 24–27 July 2023. This workshop gathered theoretical, computational, and experimental scientists to assess the state of computational and experimental techniques for understanding charged-particle transport coefficients relevant to high-energy-density plasma science. Data for electronic and ionic transport coefficients, namely, the direct current electrical conductivity, electron thermal conductivity, ion shear viscosity, and ion thermal conductivity were computed and compared for multiple plasma conditions. Additional comparisons were carried out for electron–ion properties such as the electron–ion equilibration time and alpha particle stopping power. Overall, 39 participants submitted calculated results from 18 independent approaches, spanning methods from parameterized semi-empirical models to time-dependent density functional theory. In the cases studied here, we find significant differences—several orders of magnitude—between approaches, particularly at lower temperatures, and smaller differences—roughly a factor of five—among first-principles models. We investigate the origins of these differences through comparisons of underlying predictions of ionic and electronic structure. The results of this workshop help to identify plasma conditions where computationally inexpensive approaches are accurate, where computationally expensive models are required, and where experimental measurements will have high impact.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Review and verification of CARE 3 mathematical model and code

The CARE-III mathematical model and code verification performed by Boeing Computer Services were documented. The mathematical model was verified for permanent and intermittent faults. The transient fault model was not addressed. The code verification was performed on CARE-III, Version 3. A CARE III Version 4, which corrects deficiencies identified in Version 3, is being developed.

Rose, D. M.↗

Verification of a Viscous Computational Aeroacoustics Code Using External Verification Analysis

The External Verification Analysis approach to code verification is extended to solve the three-dimensional Navier-Stokes equations with constant properties, and is used to verify a high-order computational aeroacoustics (CAA) code. After a brief review of the relevant literature, the details of the EVA approach are presented and compared to the similar Method of Manufactured Solutions (MMS). Pseudocode representations of EVA's algorithms are included, along with the recurrence relations needed to construct the EVA solution. The code verification results show that EVA was able to convincingly verify a high-order, viscous CAA code without the addition of MMS-style source terms, or any other modifications to the code.

Computational↗

Verification of a Viscous Computational Aeroacoustics Code using External Verification Analysis

The External Verification Analysis approach to code verification is extended to solve the three-dimensional Navier-Stokes equations with constant properties, and is used to verify a high-order computational aeroacoustics (CAA) code. After a brief review of the relevant literature, the details of the EVA approach are presented and compared to the similar Method of Manufactured Solutions (MMS). Pseudocode representations of EVA's algorithms are included, along with the recurrence relations needed to construct the EVA solution. The code verification results show that EVA was able to convincingly verify a high-order, viscous CAA code without the addition of MMS-style source terms, or any other modifications to the code.

Computational↗

ASME Code Activities

U.S. Nuclear Regulatory Commission (NRC) is currently assessing ASME Section III, Division 5 (2017 Edition) and accompanying Code Cases for endorsement Draft Regulatory Guide (DG-1380) and draft NUREG (2245) on the endorsement of Division 5 were issued and public comment phase completed DG-1380 places conditions in the areas of general requirements, mechanical design, metallic materials allowable stresses, and graphite materials/design of Division 5 DG-1380 is a revision to Regulatory Guide 1.87, Revision 1, 1975 (which endorsed the 159X series of ASME Code Cases, with conditions) NRC staff is currently reviewing the low-temperature and elevated temperature Alloy 617 code cases for endorsement Results of the review will be incorporated into DG-1380 and changes will be announced publicly The formal endorsement of Section III, Division 5 and accompanying code cases, with conditions, will be made through Regulatory Guide 1.87, Revision 2

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Quicklook overview of model changes in Melcor 2.2: Rev 6342 to Rev 9496

MELCOR 2.2 is a significant official release of the MELCOR code with many new models and model improvements. This report provides the code user with a quick review and characterization of new models added, changes to existing models, the effect of code changes during this code development cycle (rev 6342 to rev 9496), a preview of validation results with this code version. More detailed information is found in the code Subversion logs as well as the User Guide and Reference Manuals.

97 MATHEMATICS AND COMPUTING↗

Developing a GUM Compliant Uncertainty Approach for NDA Gamma Analysis Using FRAM

The Fixed-Energy Response-Function Analysis with Multiple Efficiency (FRAM) code was developed at Los Alamos National Laboratory (LANL) to analyze gamma-ray spectra for the isotopic composition of plutonium or uranium. This software provides means to easily process gamma-ray spectra to obtain isotopic information and is used globally for international safeguards applications. In a recent review of the FRAM code for the use in nuclear forensics applications, it was determined that a more complete understanding and definition of the various sources of uncertainty that contribute to the overall uncertainty of the FRAM measurement process is required. As one of the ISO 17025 accredited Bulk Special Nuclear Materials Analysis Program (BSAP) laboratories, LANL is required to perform an accurate and transparent uncertainty calculation on every analysis it performs. This paper describes a new approach to calculate a Guide to the Expression of Uncertainty in Measurement (GUM) compliant FRAM uncertainty to support nuclear forensics applications.

38 RADIATION CHEMISTRY, RADIOCHEMISTRY, AND NUCLEA↗

Fostering Better Collaboration in Software Development Cycles Between Scientists and Programmers to Ensure the Integrity of and Promote the Development of New Scientific Data Products.

Misaligned incentives lead to reduced interaction between scientists and programmers on modern NASA science data-product development teams. Typically, situations arise where the scientist is not incentivized to learn modern coding practices and the programmer does not understand the science algorithms in the code. A programmer is responsible for the deliverable code thus setting a tradeoff between the desire for code improvement versus fear of compromising the integrity of data-product while the scientist continues to rely on their legacy codebases owing to the complexity of using the delivered code outside the processing environment and lack of validation modules. The NASA/CERES-TISA project has adopted a collaborative approach, with scientists and programmers both utilizing the same software repository with multiple branches, some optimized for delivery to a processing datacenter and others for scientific product development and validation. A team of scientists and programmers jointly review any new science code updates for integration into the codebase and strive to improve practices through promoting algorithm understanding, better institutional knowledge exchange and documentation, modularization, and developing data processing flow-dictated validation and debugging methods. This leads to a reduction in the personnel single point failures and reduced development time for creation of new science data-products.

CERES↗

Structural reliability assessment capability in NESSUS

The principal capabilities of NESSUS (Numerical Evaluation of Stochastic Structures Under Stress), an advanced computer code developed for probabilistic structural response analysis, are reviewed, and its structural reliability assessed. The code combines flexible structural modeling tools with advanced probabilistic algorithms in order to compute probabilistic structural response and resistance, component reliability and risk, and system reliability and risk. An illustrative numerical example is presented.

Millwater, H.↗

A Verification-Driven Approach to Traceability and Documentation for Auto-Generated Mathematical Software

Model-based development and automated code generation are increasingly used for production code in safety-critical applications, but since code generators are typically not qualified, the generated code must still be fully tested, reviewed, and certified. This is particularly arduous for mathematical and control engineering software which requires reviewers to trace subtle details of textbook formulas and algorithms to the code, and to match requirements (e.g., physical units or coordinate frames) not represented explicitly in models or code. Both tasks are complicated by the often opaque nature of auto-generated code. We address these problems by developing a verification-driven approach to traceability and documentation. We apply the AUTOCERT verification system to identify and then verify mathematical concepts in the code, based on a mathematical domain theory, and then use these verified traceability links between concepts, code, and verification conditions to construct a natural language report that provides a high-level structured argument explaining why and how the code uses the assumptions and complies with the requirements. We have applied our approach to generate review documents for several sub-systems of NASA s Project Constellation.

Denney, Ewen W.↗