Search NASA⌕ Search

SEARCH · Search NASA

Results for “Unit testing”

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 73 records · Page 4

UnitTesterSG

UnitTesterSG is a unit testing framework that is designed for nested and/or scientific/engineering data structures. It is designed primarily for testing the outputs if a single function or simulation run by storing the expected results file such that comparisons to the stored output can be made with unit tests after the function or software has been edited. This module is designed to be able to unit test arrays, strings, as well as nested and deeply nested objects (including arrays with tuples inside, arrays with strings inside, etc.). The module is compatable with nested objects, and thus has a dependency on the nestedObjectsFunctions module within. The module takes *calculated* results and then compares them to *expected* results. If no expected results are available (or they do not match the calculated results) the module then offers to store the calculated results as expected results for next time.

Savara, Aditya [Oak Ridge National Lab. (ORNL), Oa↗

Streamlined Approach for Environmental Restoration (SAFER) Plan for Corrective Action Unit 572: Test Cell C Ancillary Building and Structures - Nevada National Security Site, Nevada with ROTC 1

This Streamlined Approach for Environmental Restoration (SAFER) Plan addresses the actions needed to achieve closure for Corrective Action Unit (CAU) 572, Test Cell C Ancillary Building and Structures, identified in the Federal Facility Agreement and Consent Order (FFACO). CAU 572 comprises the following corrective action sites (CASs) located in Area 25 of the Nevada National Security Site: CAS 25-33-01, Building 3220, Equipment Building; CAS 25-33-02, Building 3230, Motor Drive Building; CAS 25-33-03, Building 3231, Pump House; CAS 25-33-04, Building 3232, Cryogenic Evaluation Lab; CAS 25-99-22, Ancillary Facilities. This plan provides the methodology for field activities needed to gather the necessary information for closing CAU 572. There is sufficient information and process knowledge from historical documentation and investigations of similar sites regarding the expected nature and extent of potential contaminants to recommend closure of CAU 572 using the SAFER process. Additional information will be obtained by conducting a field investigation before selecting the appropriate corrective action. It is anticipated that the results of the field investigation and implementation of corrective actions will support a defensible recommendation that no further corrective action is necessary. The purpose of the corrective action investigation (CAI) will be to document and verify the adequacy of existing information; to affirm the decision for either clean closure, closure in place, or no further action; and to provide sufficient data to implement the corrective action. The actual corrective action selected will be based on characterization activities implemented under this SAFER Plan. If it is determined that complete clean closure cannot be accomplished during the CAI, then a hold point will have been reached and the Nevada Division of Environmental Protection (NDEP) will be consulted to determine whether the remaining contamination will be closed under the alternative corrective action of closure in place. This will be presented in a closure report that will be prepared and submitted to NDEP for review and approval.

54 ENVIRONMENTAL SCIENCES↗

Thermal analysis of Test Divertor Unit Scraper Element for Wendelstein 7-X

The Wendelstein-7X stellarator will go through three operational phases, with successively more energy as more complex divertors are installed. The first operational phase operated without a divertor, instead using five limiters (one in each of the five field periods), the second phase uses ten uncooled test divertor units (TDU), and the third will include an actively cooled divertor. Simulations of plasma operation have shown that the evolution of a toroidal current can lead to significant heat fluxes sweeping across sensitive regions in the divertor, possibly exceeding their qualified limit. A “Scraper Element” (SE) has been proposed to protect these sensitive divertor regions. To examine the effectiveness of this high heat-flux SE, a TDU Scraper Element (TDU-SE) is scheduled to operate with the TDU. A thermal analysis has been performed to correlate to measurements to be obtained during operation to evaluate the location and intensity of the convective plasma flux. The analysis will give an understanding of what is occurring at the plasma edge. As a result, it will also allow for a quick evaluation of the safety margin during initial, low power pulses so that the experiment can nimbly move to higher power operation.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Laboratory Performance Evaluation of Residential Integrated Heat Pump Water Heaters

This paper explores the laboratory performance of five integrated Heat Pump Water Heaters (HPWHs) across a wide range of operating conditions representative of US climate regions. HPWHs are expected to provide significant energy savings in certain climate zones when compared to typical electric resistance water heaters. Results show that this technology is a viable option in most climates, but differences in control schemes and design features impact the performance of the units tested. Tests were conducted to map heat pump performance across the operating range and to determine the logic used to control the heat pump and the backup electric heaters. Other tests performed include two unique draw profile tests, reduced air flow performance tests and the standard DOE rating tests. The results from all these tests are presented here for all five units tested. The results of these tests will be used to improve the EnergyPlus heat pump water heater for use in BEopt(tm) whole-house building simulations.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Laboratory Performance Evaluation of Residential Integrated Heat Pump Water Heaters

This paper explores the laboratory performance of five integrated Heat Pump Water Heaters (HPWHs) across a wide range of operating conditions representative of U.S. climate regions. HPWHs are expected to provide significant energy savings in certain climate zones when compared to typical electric resistance water heaters. Results show that this technology is a viable option in most climates, but differences in control schemes and design features impact the performance of the units tested. Tests were conducted to map heat pump performance across the operating range and to determine the logic used to control the heat pump and the backup electric heaters. Other tests performed include two unique draw profile tests, reduced air flow performance tests and the standard DOE rating tests. The results from all these tests are presented here for all five units tested. The results of these tests will be used to improve the EnergyPlus heat pump water heater for use in BEopt™ whole-house building simulations.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Molten salt to supercritical CO2 diffusion-bonded heat exchanger testing to support component certification for advanced nuclear power systems

Commercial utilization of the diffusion-bonded heat exchanger (DBHE) for high-temperature applications has prompted an ASME Boiler and Pressure Vessel Code Case development effort to employ these components in Section III (nuclear plant) applications. As part of this effort, a series of DBHE have been fabricated. These heat exchangers will be among the first printed-circuit geometries to be tested for functionality in a molten salt environment. These 15-25kW test specimens will be evaluated under steady-state conditions to compare pressure drop and terminal temperatures measurements with those predicted by existing flow and heat transfer correlations. The test units will then be subjected to thermal transients similar to those expected in Generation IV reactor systems by varying the hot and cold fluid mass flow rates and by changing inlet temperatures. Data collected from these tests will narrow the technical gaps related to two-fluid PCHE and identify special design requirements of compact heat exchangers containing primary reactor coolant. Descriptions of one of two test units and the testing plan are discussed here.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Preliminary Investigation for Corrective Action Unit 572: Test Cell C Ancillary Building and Structures, Corrective Action Site 25-33-05: Building 3901, Engine Transport System Maintenance Building, Nevada National Security Site, Nevada, Revision 0

Navarro-Intera, LLC (N-I), personnel—assisted by National Security Technologies, LLC (NSTec), radiological control personnel—conducted a preliminary field investigation to obtain information about Corrective Action Unit (CAU) 572, Test Cell C Ancillary Building and Structures; Corrective Action Site (CAS) 25-33-05, Building 3901, Engine Transport System Maintenance (ETSM) building. The ETSM building is located in Area 25 of the Nevada National Security Site (NNSS). The information learned from the investigation will reduce uncertainty about the nature and scope of potential releases and, therefore, reduce management risk associated with the planning and scheduling of future corrective action investigation activities. Site reconnaissance efforts for CAS 25-33-05 were conducted on June 18 and September 10–11, 2012. Detailed site conditions, building contents, potential waste streams, photographic documentation as well as radiological and chemical survey results are contained within this preliminary investigation.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Advanced Nanostructured Molecular Sieves for Energy Efficient Industrial Separations

Due to the very small relative volatility difference between propane and propylene, current propane/propylene separation by distillation requires very tall distillation towers (150-250 theoretical plates) and large reflux ratios (up to 15), which is considered to be the most energy consuming large-scale separation process. Adsorptive separation processes are widely considered to be more energy-efficient alternatives to distillation. However, slow diffusion kinetics/mass transport rate through the adsorbent bed often limits the performance of such processes, so further improvements are possible if intra-particle mass transfer rates can be improved. Rive Technology, Inc. is developing and commercializing its proprietary mesoporous zeolite technology for catalysis and separation. With well-controlled intracrystalline mesoporosity, diffusion kinetics through such mesoporous zeolite based catalysts is much improved relative to conventional zeolites, leading to significantly better product selectivity. This 'proof-of-principle' project (DE-EE0003470) is intended to demonstrate that Rive mesoporous zeolite technology can be extended and applied in adsorptive propane/propylene separation and lead to significant energy saving compared to the current distillation process. In this project, the mesoporous zeolite Y synthesis technology was successfully extended to X and A zeolites that are more relevant to adsorbent applications. Mesoporosity was introduced to zeolite X and A for the first time while maintaining adequate adsorption capacity. Zeolite adsorbents were tested for liquid phase separation performance using a pulse flow test unit and the test results show that the separation selectivity of the mesoporous zeolite adsorbent is much closer to optimal for a Simulated Moving Bed (SMB) separation process and the enhanced mesoporosity lead to >100% increase of overall mass transport rate for propane and propylene. These improvements will significantly improve the performance of an adsorptive separation unit for propane/propylene separation compared with traditional zeolite adsorbents. The enhanced transport will allow for more efficient utilization of a given adsorbent inventory by reducing process cycle time, allowing a faster production rate with a fixed amount of adsorbent or smaller adsorbent inventory at a fixed production rate. Smaller adsorbent inventory would also lead to significant savings in the capital cost due to smaller footprint of the equipment. Energy consumption calculation, based on the pulse test results for rived NaX zeolite adsorbent, of a hypothetical moderate-scale SMB propane/propylene separation plant that processes 6000 BPSD refinery grade propylene (70% propylene) will consume about 60-80% less energy (both re-boiler and condenser duties) compared to a C3 splitter that process the same amount of feed. This energy saving also translates to a reduction of 30,000-35,000 tons of CO 2 emission per year at this moderate processing rate. The enhancement of mass transport achievable by introduction of controlled mesoporosity to the zeolite also opens the door for the technology to be applied to several other adsorption separation processes such as the separation of xylene isomers by SMB, small- and large scale production of O 2 /N 2 from air by pressure swing adsorption, the separation of CO 2 from natural gas at natural gas wellheads, and the purification of ultra-high purity H 2 from the off gas produced by steam-methane-reforming.

03 NATURAL GAS↗

Towards Ultra-high-resolution E3SM Land Modeling on Exascale Computers

Here we present an ultra-high-resolution E3SM land model (uELM) for high-fidelity land simulations targeting new Exascale computers. After considering modeling infrastructure compatibility and ELM software features, we designed a parallel model for the uELM development targeting hybrid architectures of new US Exascale computers. We also described a function unit test framework to expedite the piece-wise code porting (with compiler directives), verification, and global variable management. Furthermore, in this study, we report an early uELM model development using OpenACC within a function unit test framework on a pre-Exascale computer, demonstrate the performance of a uLEM submodel with a 3.0-time speedup, and summarize the code porting experience regarding global variable handling, deepcopy, memory reduction, and parallel loop reconstruction.

97 MATHEMATICS AND COMPUTING↗

AI Model Benchmarking for Nonproliferation Applications: Steel Thread Benchmarking Task Force Technical Report (Rev. 2)

Steel Thread is a NA-22 venture that seeks to build trustworthy, reliable AI models that can be used in a wide variety of nonproliferation tasks. A key aspect of building these models is developing appropriate benchmarks and evaluation methods, which will enable the venture to identify and adapt models to provide the most value in the nonproliferation domain. Benchmarks must be relevant to key tasks in this domain, such as question answering, information retrieval, document summarization and classification, consensus analysis, and image and data analysis. This report 1) provides an overview of benchmark design, evaluation, and challenges; 2) reviews a variety of open benchmarks, with a focus on language models and tasks; and 3) identifies benchmarks that are most relevant to Steel Thread. This report is intended to serve as a basis for further efforts to classify and evaluate benchmarks and their correlation with success on nonproliferation-specific tasks. The Steel Thread venture has defined benchmarks to be a particular combination of a dataset (or datasets) and a metric (or metrics) conceptualized as representing one or more specific tasks or sets of abilities for a specific modality. It is adopted by a research community as a shared framework for comparing methods.1 It includes 1) Data: Labeled (a designated subset not used for training, which could be all the data), 2) Metric: A way to quantify performance, 3) Task/Ability: What the benchmark is testing, 4) Protocol: A structured and repeatable evaluation process, 5) Baseline/Reference Model: For comparison; could be statistical, rule-based, SME-derived, or another model, and 6) Maintenance Plan: to update with new information over time; important for long-term utility. For further clarity, the definition includes what a benchmark, in this context, is not. It is not a corpus of training data, specific to a model (it is intended to apply to a range of models), a universal evaluation of performance, a guarantee that the ‘top’ model on the leaderboard will be the best fit for every specific use case, an all-encompassing proof of a model’s universal quality, nor is it a one-size-fits-all measure of success. It does not cover every real-world constraint (like operational, ethical, or cost considerations), a systems integration test, or a unit test. This definition was inspired by and resulted from discussions within the Steel Thread Benchmarking Task Force. This group was formed to define what we would mean as a benchmark within Steel Thread but persisted as the need to develop a thorough understanding of the large and expanding existing benchmarking space. This technical report is a result of the group’s divide and conquer approach to exploring this space. The release of benchmarks might not be progressing as quickly as model development, but it is moving very fast, as many benchmarks quickly become saturated, when state-of-the-art models score so close to the benchmark’s ceiling that their results are virtually indistinguishable. At that point, the test no longer differentiates between new systems, so researchers usually stop reporting scores as the benchmark no longer informs about improvements from the next generation of models. In the OpenAI announcement of GPT-5, they reported results on six flagship public benchmarks (AIME 2025, SWE-bench Verified, Aider Polyglot, MMMU, HealthBench Hard, GPQA) but the full system-card covers roughly thirty-five separate evaluations, comprising hundreds of test task items in total. There have been some efforts to summarize benchmarks in specific fields, like for text-to-image generation, but these surveys have had a narrow methodology scope. Therefore, a comprehensive survey of all benchmarks or even all benchmarks that could be relevant to Steel Thread is outside of the scope of this report. We chose some specific benchmarks to investigate in detail.

97 MATHEMATICS AND COMPUTING↗

LLM Benchmarking with LLaMA2: Evaluating Code Development Performance Across Multiple Programming Languages

The rapid evolution of large language models (LLMs) has opened new possibilities for automating various tasks in software development. This paper evaluates the capabilities of the LLaMA 2-70B model in automating these tasks for scientific applications written in commonly used programming languages. Using representative test problems, we assess the model's capacity to generate code, documentation, and unit tests, as well as its ability to translate existing code between commonly used programming languages. Our comprehensive analysis evaluates the compilation, runtime behavior, and correctness of the generated and translated code. Additionally, we assess the quality of automatically generated code, documentation, and unit tests. Here, our results indicate that while LLaMA 2-70B frequently generates syntactically correct and functional code for simpler numerical tasks, it encounters substantial difficulties with more complex, parallelized, or distributed computations, requiring considerable manual corrections. We identify key limitations and suggest areas for future improvements to better leverage AI-driven automation in scientific computing workflows.

97 MATHEMATICS AND COMPUTING↗

Performance Results on CPU/GPU Exascale Architectures for OMEGA: The Ocean Model for E3SM Global Applications

The US Department of Energy (DOE) conducts climate simulations on some of the world’s largest supercomputers. These exascale machines use heterogeneous architectures with both CPUs and GPUs, and scientific codes must adapt to make full use of this computing power. Los Alamos National Lab is developing Omega: The Ocean Model for E3SM Global Applications, which is specifically designed for modern exascale computers. It uses external libraries that have been optimized for a variety of architectures to run on different supercomputers. Omega is an unstructured-mesh ocean model based on TRiSK numerical methods. It will be the new ocean component of the DOE’s Energy Exascale Earth System Model (E3SM). The algorithms in Omega follow those of the current ocean component, MPAS-Ocean, but it will be written in C++ rather than Fortran to take advantage of the Kokkos performance portability library. Omega spatial operators are written as Kokkos kernels to run efficiently on both CPUs and GPUs. Work on Omega began in 2023 with a new C++ framework for unstructured mesh partitioning, halo exchanges, parallel IO, and Kokkos interfaces. The current version, Omega-0, is being developed to solve the shallow water equations and at present includes all of the tendency terms but not time stepping. Here we share the results of Omega-0 verification and performance testing. Verification includes unit tests implemented with CTest as well as convergence tests in Polaris, an in-house python package with a large suite of test problems. Performance tests compare simulations conducted on CPUs versus GPUs and across different architectures: tests are run on Frontier, which has AMD “Optimized 3rd Gen EPYC” CPUs and AMD MI250X GPUs, as well as Perlmutter, which is composed of AMD EPYC 7763 CPUs and NVIDIA A100 GPUs.

58 GEOSCIENCES↗

DMTN-190: Consistent galaxy colors with Gaussian-Aperture and PSF photometry

Gaussian-Aperture and PSF photometry algorithm measures consistent colors for extended sources such as galaxies that are largely independent of seeing. This technote briefly presents the mathematical description of the algorithm and focuses on its implementation in the Rubin Science Pipelines. This document also serves as a reference for several of the analytical calculations that are tested in the unit tests.

79 ASTRONOMY AND ASTROPHYSICS↗

Closure Report for Corrective Action Unit 572: Test Cell C Ancillary Building and Structures, Nevada National Security Site, Nevada, Revision 0

The purpose of this CR is to provide documentation supporting the completed corrective actions and data confirming that the closure objectives for CAU 572 were met. To achieve this, the following actions were performed: • Corrective action investigation (CAI) activities were performed from August 2020 through May 2023, as set forth in the SAFER Plan for CAU 572; and in accordance with the Soils Activity Quality Assurance Plan, which establishes requirements, technical planning, and general quality practices. • Corrective actions were completed during decontamination and demolition (D&D) and disposal activities, and were performed from August 2022 through September 2025.

54 ENVIRONMENTAL SCIENCES↗

Post-Closure Report for Closed Resource Conservation and Recovery Act Corrective Action Units, Nevada Test Site, Nevada, for Fiscal Year 2009

This report serves as the combined annual report for post-closure activities for the following closed Corrective Action Units (CAUs): · CAU 90, Area 2 Bitcutter Containment · CAU 91, Area 3 U-3fi Injection Well · CAU 92, Area 6 Decon Pond Facility · CAU 110, Area 3 WMD U-3ax/bl Crater · CAU 112, Area 23 Hazardous Waste Trenches This report covers fiscal year 2009 (October 2008–September 2009). The post-closure requirements for these sites are described in Resource Conservation and Recovery Act Permit Number NEV HW0021 and summarized in each CAU-specific section in Section 1.0 of this report. Site inspections are conducted semiannually at CAUs 90 and 91 and quarterly at CAUs 92, 110, and 112. Additional inspections are conducted at CAU 92 if precipitation occurs in excess of 0.50 inches in a 24-hour period. Inspections include an evaluation of the condition of the units and identification of any deficiencies that may compromise the integrity of the units. The condition of covers, fencing, signs, gates, and locks is documented. In addition, soil moisture monitoring and subsidence surveys are conducted at CAU 110. The results of the inspections, summary of maintenance activities, results of vegetations surveys, and analysis of monitoring data are presented in this report. Copies of the inspection checklists are included as Appendix A. Field notes completed during each inspection are included in Appendix B. Photographs taken during the site inspections are included in Appendix C.

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Effects of Accident Thermal Loading on In-Plane Shear Behavior of Steel-Plate Composite Walls

Structural walls in safety-related nuclear facilities are required to be designed for seismic and accident thermal (due to postulated high-energy pipe break events) loading combination. Current U.S. and international codes provide limited guidance for analysis and design of walls for this loading combination. This paper describes the experimental results and observations from tests conducted on a laboratory-scale (1:4 to 1:5) test unit representing steel-plate composite (SC) walls subjected to combined in-plane (seismic) and accident thermal loading. The test unit was subjected to surface temperatures of up to 450°F in combination with cyclic in-plane loading. Results of similar experiments recently conducted in Japan are also summarized (with surface temperatures up to 570°F). Surface heating combined with the low thermal conductivity and high specific heat of concrete resulted in nonlinear thermal gradients through the thickness of the specimens. These nonlinear thermal gradients and the associated self- or internal restraint led to extensive concrete cracking. This concrete cracking reduced the initial and secant stiffness of the specimens. The initial stiffness of the heated specimens reduced to 30 to 40% of the initial stiffness of the control (unheated) specimen. The secant stiffness of the heated specimens reduced up to 50% of the secant stiffness of the control (unheated) specimen. However, the in-plane shear strength of the heated SC specimens was still approximately 10 to 30% greater than the nominal in-plane shear strength calculated, for the limit state of steel plate von Mises yielding, using AISC N690 equations and measured material properties. Evaluation of the experimental results and observations suggests that the in-plane shear strength of SC walls subjected to typical accident surface temperatures (up to 570°F) can be estimated conservatively using the current provisions of AISC N690. The stiffness for accident thermal loading combinations can be considered to reduce from cracked composite stiffness at ambient temperature to fully cracked—that is, steel-only stiffness as the surface temperature increases up to typical accident value.

Construction & Building Technology↗

Portable Software Environment for Ultrahigh-Resolution ELM Development on GPUs

This paper presents our endeavors in developing the large-scale, ultra-high-resolution E3SM Land Model (uELM), specifically designed for exascale computers furnished with accelerators such as Nvidia GPUs. The uELM is a sophisticated code that substantially relies on High-Performance Computing (HPC) environments, necessitating particular machine and software configurations. To facilitate community-based uELM developments employing GPUs, we have created a portable, standalone software environment preconfigured with uELM input datasets, simulation cases, and source code. This environment, utilizing Docker, encompasses all essential code, libraries, and system software for uELM development on GPUs. It also features a functional unit test framework and an offline model testbed for comprehensive numerical experiments. From a technical perspective, the paper discusses GPU-ready container generations, uELM code management, and input data distribution across computational platforms. Lastly, the paper demonstrates the use of environment for functional unit testing, end-to-end simulation on CPUs and GPUs, and collaborative code development.

E3SM Land Model↗