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 37 records · Page 2

Nuclear Facility Accident (NFAC) Unit Test Report For HPAC Version 6.3

This is a unit test report for the Nuclear Facility Accident (NFAC) model for the Hazard Prediction and Assessment Capability (HPAC) version 6.3. NFAC’s responsibility as an HPAC component is three-fold. First, it must present an interactive graphical user interface (GUI) by which users can view and edit the definition of an NFAC incident. Second, for each incident defined, NFAC must interact with RTH to create activity table inputs and associate them with pseudo materials to be transported via SCIPUFF. Third, NFAC must create SCIPUFF releases with the associated pseudo materials for transport and dispersion. The goal of NFAC unit testing is to verify that the inputs it produces are correct for the source term or model definition as specified by the user via the GUI.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Miniature High Temperature Testing Unit for HEPA Filter Materials R and D

The objective of this research is to develop and deploy advances in High Efficiency Particulate Air (HEPA) filter technology to benefit nuclear facilities. There is a need for better HEPA filter materials, especially those able to withstand moisture and higher temperatures as experienced in fire conditions. In order to test these materials, student teams at California Polytechnic State University (Cal Poly) have developed tools with the sponsorship and direction of Lawrence Livermore National Laboratory (LLNL). The Miniature High Temperature Testing Unit (MiniHTTU) can rapidly, efficiently and inexpensively test a large number of new and innovative materials for HEPA filter components. MiniHTTU test results will be used to down select the most promising materials for HEPA filter components (e.g., media, sealants, gaskets) for full scale testing in the full size High Temperature Testing Unit (HTTU). Using both testing units, future teams will be able to develop advances in HEPA filter technology (e.g., related to ceramic HEPA filters), the deployment of which will benefit DOE nuclear facilities by providing lower life-cycle costs and reducing or eliminating certain safety basis costs associated with safety class and safety significant systems in nuclear facilities. (authors)

36 MATERIALS SCIENCE↗

Cosmo Cassette: A Microfluidic Microgravity Microbial System For Synthetic Biology Unit Tests and Satellite Missions

Although methods in the design-build-test life cycle of the synthetic biology field have grown rapidly, the expansion has been non-uniform. The design and build stages in development have seen innovations in the form of biological CAD and more efficient means for building DNA, RNA, and other biological constructs. The testing phase of the cycle remains in need of innovation. Presented will be both a theoretical abstraction of biological measurement and a practical demonstration of a microfluidics-based platform for characterizing synthetic biological phenomena. Such a platform demonstrates a design of additive manufacturing (3D printing) for construction of a microbial fuel cell (MFC) to be used in experiments carried out in space. First, the biocompatibility of the polypropylene chassis will be demonstrated. The novel MFCs will be cheaper, and faster to make and iterate through designs. The novel design will contain a manifold switchingdistribution system and an integrated in-chip set of reagent reservoirs fabricated via 3D printing. The automated nature of the 3D printing yields itself to higher resolution switching valves and leads to smaller sized payloads, lower cost, reduced power and a standardized platform for synthetic biology unit tests on Earth and in space. It will be demonstrated that the application of unit testing in synthetic biology will lead to the automatic construction and validation of desired constructs. Unit testing methodologies offer benefits of preemptive problem identification, change of facility, simplicity of integration, ease of documentation, and separation of interface from implementation, and automated design.

Bioelectrochemical System↗

Analysis Supporting MSFC Cryostat Testing Unit

This report summarizes the results obtained from an analysis of the NASA Marshall Spaceflight Center (MSFC) cryostat testing unit. A finite element model was generated to determine both temperature distribution and stress distribution in the cryostat testing unit for load conditions supplied by MSFC. This report contains the results of that analysis.

Foster, Winfred A., Jr.↗

ON THE EFFECTIVENESS OF LLMS IN UNIT TEST GENERATION FOR STRUCTURED TEXT PROGRAMS

The reliability of industrial automation systems heavily depends on the correctness of Programmable Logic Controller (PLC) programs, which are often written in Structured Text (ST). While Large Language Models (LLMs) have shown promise in automating test generation for mainstream programming languages, their effectiveness for the syntactically strict ST language remains underexplored. This thesis presents a systematic empirical evaluation of three state-of-the-art LLMs—GPT-4o, Gemini 2.5 Pro, and Claude Sonnet 4.5—for generating ST unit tests. We examine three prompting strategies: Natural Language (NL), Code Language (CL), and Chain-of-Thought (CoT), across a curated set of 11 ST function blocks. The quality of the generated tests is assessed using Compilation Success Rate (CSR), Statement Coverage (SC), and Branch Coverage (BC). In the zero-shot setting, Claude Sonnet 4.5 achieves the highest CSR, while Gemini 2.5 Pro consistently delivers the best statement and branch coverage, particularly under CL prompts. By incorporating a one-shot CL prompt, all models exhibit substantial improvements—most notably GPT-4o, whose CSR increases from 45.45% to 90.91%, with substantial gains in both SC and BC. To further contextualize these findings, we compare GPT-4o’s one-shot results with PLCAutoTester, a state-ofthe- art ST unit test generation tool, on an additional benchmark dataset. While LLMgenerated tests approach competitive coverage levels, PLCAutoTester maintains significantly higher and more stable coverage across programs. This study provides the first comprehensive benchmark of modern LLMs for ST unit testing, highlighting their strengths, limitations, and improvements through one-shot prompting, and positioning their performance relative to specialized automated testing tools in industrial automation.

42 ENGINEERING↗

Performance of the 12.5-kW Advanced Electric Propulsion System Engineering Test Unit Hall Thruster

This work presents a summary of the performance test campaign of the 12.5 kW Advanced Electric Propulsion System (AEPS) Engineering Test Unit 2 (ETU-2) thruster produced by Aerojet Rocketdyne. This test campaign had three major goals: to assess design compliance with thruster requirements, provide a comparison to the previously-tested NASA Hall Effect Rocket with Magnet Shielding (HERMeS) Technology Demonstration Units (TDUs) from which the AEPS ETU design was derived, and support AEPS application on the Power and Propulsion Element (PPE). Assessments of ETU-2 performance were conducted at discharge powers of 2.6 to 13.1 kW, which encompasses the original AEPS throttle conditions as well as those most relevant for AEPS application on PPE. The results from the test campaign indicate that ETU-2 performance meets or exceeds all AEPS thruster performance requirements and matches the values and trends previously measured with the HERMeS TDUs. In addition, similar to the HERMeS TDUs, ETU-2 performance showed minimal variation over approximately 1636 h of operating time due to the incorporation of magnetic shielding. Taken together, these results show that the AEPS design is successfully replicating the performance of the HERMeS TDUs to within the empirical uncertainty and meeting its performance requirements as the design progresses to its Critical Design Review.

HERMeS↗

Performance of the 12.5-kW Advanced Electric Propulsion System Engineering Test Unit Hall Thruster

This work presents a summary of the performance test campaign of the 12.5 kW Advanced Electric Propulsion System (AEPS) Engineering Test Unit 2 (ETU-2) thruster produced by Aerojet Rocketdyne. This test campaign had three major goals: to assess design compliance with thruster requirements, provide a comparison to the previously-tested NASA Hall Effect Rocket with Magnet Shielding (HERMeS) Technology Demonstration Units (TDUs) from which the AEPS ETU design was derived, and support AEPS application on the Power and Propulsion Element (PPE). Assessments of ETU-2 performance were conducted at discharge powers of 2.6 to 13.1 kW, which encompasses the original AEPS throttle conditions as well as those most relevant for AEPS application on PPE. The results from the test campaign indicate that ETU-2 performance meets or exceeds all AEPS thruster performance requirements and matches the values and trends previously measured with the HERMeS TDUs. In addition, similar to the HERMeS TDUs, ETU-2 performance showed minimal variation over approximately 1636 h of operating time due to the incorporation of magnetic shielding. Taken together, these results show that the AEPS design is successfully replicating the performance of the HERMeS TDUs to within the empirical uncertainty and meeting its performance requirements as the design progresses to its Critical Design Review.

Jason D Frieman↗

In Situ Data Infrastructure for Scientific Unit Testing Platform

Testing is a significant software development process for the management of software systems and scientific code. However, as the complexity of scientific codes increases, extra checks are needed to monitor impacts to dependent models and to verify system constraints. The software complexity also impedes the efforts of module developers and software engineers to rapidly develop and extend their code. Recently, we have developed an automatic methodology and prototype platform to facilitate scientific verification of individual functions within complex scientific codes. With this system, the scientific module builders are able to track variables conveniently in one module or track variables’ changes among different modules. In this paper, we present a procedure for automatic unit testing generation. For the interest of a general audience of this conference, we are emphasizing the technical details of integrating the In Situ data infrastructure into our platform. At the end of this paper, we have included an implementation of unit testing for the ACME Land Model (ALM) to demonstrate the usefulness and correctness of the platform. We have also used single- and multipoint checks to demonstrate the efficient variable tracking capability of this platform.

97 MATHEMATICS AND COMPUTING↗

SPEL: Software tool for Porting E3SM Land Model with OpenACC in a Function Unit Test Framework

Most high-end computers adopt hybrid architecture, porting a large-scale scientific code onto accelerators is necessary. The paper presents a generic method for porting large-scale scientific code onto accelerators using compiler directives within a modularized function unit test platform. We have implemented the method and designed a software tool (SPEL) to port the E3SM Land Model (ELM) onto the GPUs in the Summit computer. SPEL automatically generates GPU-ready test modules for all ELM functions, such as CanopyFlux, SoilTemperature, and EcosystemDynamics. SPEL breaks the ELM into a collection of standalone unit test programs for easy code verification and further performance improvement. We further optimize several ELM test modules with advanced techniques, including memory reduction, reconstructed parallel loops, and asynchronous GPU kernel launch. We hope our study will inspire new toolkit developments that expedite large-scale scientific code porting with compiler directives.

Schwartz, Peter↗

COR1 Engineering Test Unit Measurements at the Mauna Loa Solar Observatory, September 2003

The COR1 Engineering Test Unit (ETU), which had been previously tested at the NCAR/HAO and NRL test facilities, was modified into an instrument capable of observing the Sun. It was then taken to the Mauna Loa Solar Observatory to observe the corona. The changes made to observe the Sun were as follows: 1. The plate scale was changed to accommodate the smaller Apogee camera. This change had already been made for the NRL tests. 2. The previous Oriel polarizer was replaced with a commercial Polarcor polarizer from Newport to be more flight-like. However, because of cost and availability considerations, this polarizer was smaller than those which will be used for flight. 3. A structure was placed around the back section of the instrument, to protect it from stray light. 4. A pointing spar borrowed from HAO was used to track the Sun. A few days into the test, it became evident that some artifacts were appearing in the data, and these artifacts were changing as the polarizer was rotated. It was decided to test two other polarizers, the Oriel polarizer which had been used in the previous tests at HAO and NRL, and a Nikon polarizer which was borrowed from a camera belonging to one of the observatory staff members. These three polarizers had much different qualities are shown.

Thompson, William↗

Optical test unit design for the direct detection laser tranceiver program

The Optical Test Unit (OTU) for the NASA Direct Detection Laser Tranceiver (DDLT) Experiment was designed to perform a wide variety of electrical and optical tests with minimum cost and risk. Choosing instruments that could do their own processing and carefully examining each step of the integration and test sequence helped reduce the cost and complexity of the system, allowing us to meet a very ambitious schedule. For some tests, less elegant schemes can be used than the traditional system test methods, while still maintaining the integrity of the test system. This paper explores the problems encountered and options that were available in designing the system test equipment for this optical communication system.

Reed, Patricia A.↗

Wear Test of the 12.5-kW Advanced Electric Propulsion System Engineering Test Unit Hall Thruster

This work presents a summary of the first wear test of the 12.5 kW Advanced Electric Propulsion System Engineering Test Unit 2 (AEPS ETU-2) thruster produced by Aerojet Rocketdyne. The ETU-2 Wear Test accumulated approximately 730 hours of operation split between the nominal 600 V/12.5 kW condition and the 300 V/6.25 kW condition previously identified as the worst-case erosion condition.

Jason D. Frieman↗

Modal Analysis with the Mobile Modal Testing Unit

Recently, National Aeronautics and Space Administration's (NASA's) White Sands Test Facility (WSTF) has tested rocket engines with high pulse frequencies. This has resulted in the use of some of WSTF's existing thrust stands, which were designed for static loading, in tests with large dynamic forces. In order to ensure that the thrust stands can withstand the dynamic loading of high pulse frequency engines while still accurately reporting the test data, their vibrational modes must be characterized. If it is found that they have vibrational modes with frequencies near the pulsing frequency of the test, then they must be modified to withstand the dynamic forces from the pulsing rocket engines. To make this determination the Mobile Modal Testing Unit (MMTU), a system capable of determining the resonant frequencies and mode shapes of a structure, was used on the test stands at WSTF. Once the resonant frequency has been determined for a test stand, it can be compared to the pulse frequency of a test engine to determine whether or not that stand can avoid resonance and reliably test that engine. After analysis of test stand 406 at White Sands Test Facility, it was determined that natural frequencies for the structure are located around 75, 125, and 240 Hz, and thus should be avoided during testing.

Wilder, Andrew J.↗

Extended Wear Testing of the 12-kW Advanced Electric Propulsion System Engineering Test Unit Hall Thruster

This work presents a summary of the first wear test of the 12 kW Advanced Electric Propulsion System (AEPS) intended to isolate the impact of discharge current on component wear rates. Testing was led by Aerojet Rocketdyne and performed with the AEPS Engineering Test Unit 2 (ETU-2) thruster. In total, approximately 860 hours of operation were accumulated split between operating conditions of 600 V/9 kW, 600 V/11 kW, and 600 V/12 kW. Thruster performance and stability were invariant throughout the wear test for all thruster throttle conditions and shown to be equal to the values previously measured with ETU-2. Inner front pole cover erosion rates were found to be invariant to discharge current as the measurements at all three operating conditions were equal to within the empirical uncertainty. Outer front pole cover erosion rates were found to be equal for the 600 V/9 kW and 600 V/12 kW conditions with operation at 600 V/11 kW yielding elevated erosion rates. Overall, the data shows that the AEPS thruster design has a high probability of meeting lifetime and performance requirements as the design proceeds to flight production and qualification.

Jason D Frieman↗

Extended Wear Testing of the 12-kW Advanced Electric Propulsion System Engineering Test Unit Hall Thruster

This work presents a summary of the first wear test of the 12 kW Advanced Electric Propulsion System (AEPS) intended to isolate the impact of discharge current on component wear rates. Testing was led by Aerojet Rocketdyne and performed with the AEPS Engineering Test Unit 2 (ETU-2) thruster. In total, approximately 860 hours of operation were accumulated split between operating conditions of 600 V/9 kW, 600 V/11 kW, and 600 V/12 kW. Thruster performance and stability were invariant throughout the wear test for all thruster throttle conditions and shown to be equal to the values previously measured with ETU-2. Inner front pole cover erosion rates were found to be invariant to discharge current as the measurements at all three operating conditions were equal to within the empirical uncertainty. Outer front pole cover erosion rates were found to be equal for the 600 V/9 kW and 600 V/12 kW conditions with operation at 600 V/11 kW yielding rates that were comparable to those on the inner front pole cover. Overall, the data shows that the AEPS thruster design has a high probability of meeting lifetime and performance requirements as the design proceeds to flight production and qualification.

HERMeS↗

COR1 Engineering Test Unit Measurements at the NCAR/HAO Vacuum Tunnel Facility, October-November 2002

The Engineering Test Unit (ETU) of COR1 was made in two configurations. The first configuration, ETU-1, was for vibration testing, while the second, ETU-2, was for optical testing. This is a report on the optical testing performed on ETU-2 at the NCAR/HAO Vacuum Tunnel Facility during the months of October and November, 2002. This was the same facility used to test the two previous breadboard models. In both configurations, the first two tube sections were complete, with all optical elements aligned. The vibration model ETU-1 had the remaining tube sections attached, with mass models for the remaining optics, for the various mechanisms, and for the focal plane assembly. It was then converted into the optical model ETU-2 by removing tube sections 3 to 5, and mounting the remaining optics on commercial mounts. (The bandpass filter was also installed into tube 2, which had been replaced in ETU-1 by a mass model, so that pre- and post-vibration optical measurements could be made.) Doublet 2 was installed in a Newport LP-2 carrier, and aligned to the other optics in the first two tube sections. The LP-2 adjustment screws were then uralened so that the alignment could be maintained during shipping. Because neither the flight polarizer nor Hollow Core Motor were available, they were simulated by a commercial polarizer and rotational mount, both from Oriel corporation. The Oriel rotational stage was not designed for vacuum use, but it was determined after consultation with the company, and lab testing, that the stage could be used in the moderate vacuum conditions at the NCAR/HAO facility. The shutter and focal plane assembly were simulated with the same camera used for the previous two breadboard tests. The focal plane mask was simulated with a plane of BK7 glass with a mask glued on, using the same procedure as for the Lyot spot on Doublet 1, and mounted in an adjustable LP-2 carrier. Two masks were made, one made to the precise specifications of the optical design, the other slightly bigger to make alignment easier.

Thompson, William↗