Engineering Papers⌕ Search

SEARCH · Engineering Papers

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 469 records · Page 26

Accuracy of Center of Pressure Determination via Motion Capture

BACKGROUND: This study was conducted to support the stability assessment for tasks in lunar gravity and exercises on a Vibration Isolation and Stabilization (VIS) system in microgravity based on the dynamic feasibility criterion of whether the calculated position of the center of pressure (COP) falls within the base of support (BOS) which outlines the subject’s feet. Motion capture data combined with biomechanical modeling and simulation allows the forces and moments between the human and the VIS platform to be computed and the position of the COP as well as the location and shape of the BOS to be determined. The goal of this study was to assess the accuracy of the COP trajectory calculated using motion capture-based data. METHODS AND RESULTS: To obtain the dynamic quantities from which COP is calculated, motion capture data is first collected in the 1g lab environment by recording the trajectories of passive retroreflective markers placed on a subject during exercise or performance of a given task. The OpenSim [1] inverse kinematics (IK) tool is used to fit a scaled subject model to recorded marker trajectories while minimizing marker error to obtain joint angles. Then, a custom OpenSim plugin [2] is used to determine the subject’s time-varying moment of inertia and its time derivative, center of mass (CM) position, velocity, and acceleration, as well as the angular momentum and its time derivative relative to the subject’s CM. Some of these quantities are not needed for modeling tasks performed on a stationary lunar surface but, due to the moving exercise platform, are needed to model VIS response to the subject’s motion. Hand positions, used in calculating a cable force if present, are recorded as well. These quantities are used to calculate the total force (F ⃗^((plate) )) and moment (M ⃗^((plate) )) exerted by the lunar surface or the VIS plate on the subject’s shoe soles. COP is then calculated from the following equations: r_x^((cop) )= M_z^((plate) )/F_y^((plate) ) and r_z^((cop) )= 〖-M〗_x^((plate) )/F_y^((plate) ), where the y axis is normal to the surface. COP accuracy for feasibility assessments is then determined by whether it falls within the BOS, which is also computed by the plugin. To study the accuracy of COP calculated from motion capture, we first investigated whether COP remained within the BOS, as it must, for exercises performed in the 1g lab environment. Standard exercises such as back squat and deadlift were analyzed, as well as more explosive exercises including hang clean and press. Cases in which the COP exited the BOS indicated that COP accuracy required further investigation. In this study, an exercise device with cables was used, so cable force modeling accuracy should also be considered. In a separate study, we collected motion capture and force plate data for twenty-seven motions not involving an exercise device. About a third were genuine countermeasures exercises (e.g., hang clean and press), some were relevant for lunar tasks (e.g., object pick up), and the rest were of a “unit test” nature (e.g., swaying back and forth or side to side). Motion capture-based COP positions were compared with force plate measured COP. We found that while force plate measured COP remained within the BOS, motion capture-based COP was observed to briefly exit the BOS on occasion. Techniques to mitigate IK artifacts and filtering of calculated data could be used to improve the agreement of calculated and measured results, resolving excursions from the BOS within this dataset. The mean error between calculated and measured COP was found to be less than 6 mm. Additionally, we derived and investigated equations for the COP in terms of the cable force, cable location, as well as the human CM position, acceleration, and angular momentum with respect to the CM, and analyzed them for sensitivity to errors in individual quantities. Several were found, but the most significant one was that when the vertical force on the feet approaches zero, indicating a near-detachment or ‘jump off’ condition, errors are amplified. This is consistent with the observation that in the absence of pressure, the concept of the center of pressure would become meaningless.

C A Bell↗

LIF Testing of ETU-2 in VF-5

A visualization of the experimental setup for the Laser-Induced Fluorescence (LIF) diagnostic system applied to AEPS Engineering Test Unit 2 (ETU-2) in the Electric Propulsion and Power Laboratory's (EPPL) Vacuum Facility 5 (VF-5)

LIF↗

Spatial Characterization of PACE OCI ETU Using Time-Delay Mode

The OCI (Ocean Color Instrument) is the main sensor on the upcoming PACE (Plankton Aerosol Cloud ocean Ecosystem) mission. OCI has two hyperspectral CCD sensors covering 340nm to 885nm and 9 SWIR (Short Wave IR) bands from 940nm to 2260nm. SWIR bands have nominal 1km ground pixel size and CCD bands have native 1/8 km ground pixel size in diagnostic mode that will be aggregated into 1km pixels to improve SNR and meet the data rate constraints. OCI has a rotating telescope that is synchronized to the readout of the CCD and SWIR detectors. Full pre-launch system level testing for the OCI ETU (Engineering Test Unit) was completed in June 2021.With time-delayed scan mode, a sub-pixel level time-delay step is applied to the detector readout. This sub-pixel level time-delay step causes a sub-pixel level shift in the start of the data collection. After collecting time-delay step scans with different step sizes, a scan profile with sub-pixel resolution can be constructed. 1/8 and 1/4 of CCD pixel resolutions were achieved using this mode. In this paper, the OCI time-delayed scan mode will be described as well as how it was used to calculate OCI’s high spatial resolution PSF (Point Spread Function), IFOV (instantaneous Field of View), MTF (Modulation Transfer Function), and BBR (Band to Band Registration).

PACE↗

Recent Improvements and Verification of A Full Body Model in Opensim

BACKGROUND: The dynamic feasibility [1,2] criterion, that the subject’s Center of Pressure (COP) be located within the Base of Support (BOS) which outlines the feet, has aided in assessing the stability of human motion recorded on earth while performing the recorded tasks in lunar gravity or as countermeasures exercises on a vibration isolation and stabilization system in microgravity. The convex hull of the BOS on the platform under the subject’s feet was estimated using virtual markers on the feet of the scaled subject model. The COP was calculated using the ground reaction forces and moments determined from motion capture data with biomechanical modeling tools [3]. Occasionally, large-amplitude oscillatory spikes or “artifacts” were observed in the subject’s linear and angular momentum derivatives, affecting some COP data derived from motion capture. The purpose of this investigation was to assess and improve the accuracy of model scaling and BOS estimation as well as to determine the efficacy of model adjustments in mitigating artifacts influencing motion capture-derived ground reaction force and COP results. METHODS: To aid evaluation of proposed process and model updates, motion capture data were collected for two subjects during unit test and range of motion trials, lunar tasks, and countermeasures exercise motions. Markers were added to the full body Plug-in Gait marker set [4] during data collection. New markers were placed on the front, back, sides, and top of the head to improve scaling using distances between marker pairs. Medial elbow markers were added to stabilize the upper arm during OpenSim Inverse Kinematics (IK) [5]. Finally, markers were added on the outer edge of the heels and on the outside edges of the first and last toes on each foot. These additional foot markers were made available to test new automated foot scaling techniques and to calculate the error between the subject’s estimated and recorded BOS. The modified unscaled OpenSim Full Body Rajagopal Model [6,7] was adjusted using some previously investigated techniques [8] to mitigate rapid shifts in joint angles occurring during IK, as these were found to cause the spike artifacts observed in subsequent stages of analysis. Since OpenSim models use Euler angles and rotation sequences, the arm axes of rotation were adjusted, and the pelvis order of rotation was changed to minimize the likelihood of encountering “gimbal lock” during common human motion. The model clavicle, arm, elbow, wrist, pelvis, and ankle angle limits were adjusted to better accommodate the full human range of motion seen in exercise and lunar data. The shoulder joint center was calculated using a “pivoting” algorithm [9], and both shoulder joint center and upper arm markers were included during IK to provide additional shoulder stability on a case-by-case basis. The quality of IK results was assessed by three criteria: minimizing error between recorded motion capture markers and model markers, checking for reasonable rates of change in joint angles between fames (i.e., no IK artifacts), and ensuring the absence of spikes in the inertial forces and angular momentum derivatives calculated using a custom OpenSim plugin [10]. RESULTS: The additional markers placed on the subject during data collection allowed the head and feet to be scaled more accurately using distances between new marker pairs. Scaling with BOS markers placed on the subject and removing the limit on subtalar angle resulted in more accurate BOS determination. Unrealistically large changes in joint angles between frames could be reduced by including clavicle, sternum, and medial elbow markers during IK. In cases with large arm ranges of motion, results could be further improved by running IK using medial elbow and virtual shoulder joint center markers. Model adjustments significantly improved the IK results affecting COP calculation and increased the accuracy of BOS estimation.

C A Bell↗

Pypromice: A Python Package for Processing Automated Weather Station Data

The pypromice Python package is for processing and handling observation datasets from automated weather stations (AWS). It is primarily aimed at users of AWS data from the Geological Survey of Denmark and Greenland (GEUS), which collects and distributes in situ weather station observations to the cryospheric science research community. Functionality in pypromice is primarily handled using two key open-source Python packages, xarray (Hoyer & Hamman, 2017) and pandas (The pandas development team, 2020). A defined processing workflow is included in pypromice for transforming original AWS observations (Level 0, L0) to a usable, CF-convention-compliant dataset (Level 3, L3) (Figure 1). Intermediary processing levels (L1,L2) refer to key stages in the workflow, namely the conversion of variables to physical measurements and variable filtering (L1), cross-variable corrections and user-defined data flagging and fixing (L2), and derived variables (L3). Information regarding the station configuration is needed to perform the processing, such as instrument calibration coefficients and station type (one-boom tripod or two-boom mast station design, for example), which are held in a toml configuration file. Two example configuration files are provided with pypromice , which are also used in the package’s unit tests. More detailed documentation of the AWS design, instrumentation, and processing steps are described in Fausto et al. (2021).

pypromice↗

Design Considerations of an Ascent Abort Monitor Algorithm for Use During Service Module Aborts

In support of human rating the Artemis missions, NASA's Orion program requires continuous abort coverage from liftoff through mission destination. During a portion of the ascent trajectory, the currently achievable abort mode is determined by an Orion algorithm using the onboard navigated vehicle state. This ascent abort monitor determines achievability for Orion's Mode 2 abort, Untargeted Abort Splashdown (UAS), by propagating the current vehicle state through ascent abort events to determine sufficient timing to perform the abort and to a ballistic touchdown point to approximate landing location relative to prescribed keep out boundaries. The algorithm was updated for Artemis 2 to allow the capability to limit loads for the majority of ascent. Performance of the algorithm has been demonstrated and verified through dispersed trajectory analysis with emulated flight software, unit testing, and hardware in the loop testing.

Esteban Guzman↗

PRELIMINARY ENVIRONMENTAL, HEALTH AND SAFETY RISK ASSESSMENT ON THE INTEGRATION OF A PROCESS UTILIZING LOW-ENERGY SOLVENTS FOR CARBON DIOXIDE CAPTURE ENABLED BY A COMBINATION OF ENZYMES AND VACUUM REGENERATION WITH A SUBCRITICAL PC POWER PLANT

The results of the preliminary environmental, health and safety (EH&S) risk assessment for an enzyme-activated potassium carbonate (K2CO3) solution post-combustion CO2 capture (PCC) plant, integrated with a subcritical pulverized coal (PC) power plant, are presented. The expected emissions during normal steady-state operation have been estimated utilizing models of the PCC plant developed in AspenTech’s AspenPlus® software, bench scale test results from the University of Kentucky, and industrial experience of emission results from a slipstream PCC plant utilizing amine based solvents. A review of all potential emission species and their sources was undertaken that identified two credible emission sources, the absorber off-gas that is vented to atmosphere via a stack and the waste removed from the PCC plant in the centrifuge used to reclaim enzyme and solvent. The conditions and compositions of the emissions were calculated and the potential EH&S effects were considered as well as legislative compliance requirements. Potential mitigation methods for emissions during normal operation have been proposed and solutions to mitigate uncontrolled releases of species have been considered. The potential emissions were found to pose no significant EH&S concerns and were compliant with the Federal legislation reviewed. The limitations in predicting full scale plant performance from bench scale tests have been noted and further work on a larger scale test unit is recommended to reduce the level of uncertainty.

Fitzgerald, David↗

Tiamat

Tiamat is the driver program for coupling three application codes together to simulate a nuclear reactor core. This code is used to study pellet clad interaction failures in commercial nuclear light water It generates stress plots and temperature profiles for fuel rods in the reactor core. The driver program initializes the underlying applications, initiates the overall solve process, generates consistent input files and manages the data transfers between the applications. It contains the top level driver code, the data transfer code, input file parsing and corresponding unit tests. Tiamat was developed under the CASL Energy Innovation Hub. The Tiamat code DOES NOT include any source code for the actual coupled physics application components or solvers. The application codes and solver libraries must be obtained separately from the Tiamat source code. Tiamat will be released open source under a BSD license.

Source record↗

ramdisk, Version 0.x

The intent of the software is eventually to become a middleware library to provide a cross platform interface for creating and managing a ramdisk. Eventually it will cover many platforms (*nix, Windows, Mac), and have the library written in several languages. At this point, the library is a functional python library for managing a Mac ramdisk. Some code is also included in how to use the library. Initial intended uses for the library: * Provide a throw-away filesystem for unit testing filesystem related functionality. * Improve compile time when building software.

Nielsen, Roy↗

Draco,Version 6.x.x

Draco is an object-oriented component library geared towards numerically intensive, radiation (particle) transport applications built for parallel computing hardware. It consists of semi-independent packages and a robust build system. The packages in Draco provide a set of components that can be used by multiple clients to build transport codes. The build system can also be extracted for use in clients. Software includes smart pointers, Design-by-Contract assertions, unit test framework, wrapped MPI functions, a file parser, unstructured mesh data structures, a random number generator, root finders and an angular quadrature component.

Thompson, Kelly↗

A streamlined build system foundation for developing HPC software

BLT bundles custom CMake macros, unit testing frameworks for C++ and Fortran, and a set of smoke tests for common HPC dependencies. The combination of these three provides a foundation for quickly bootstrapping a CMale-based system for developing HPC softward.

White, Chris↗

Futility

The Futility package contains the following: 1) Definition of the size of integers and real numbers; 2) A generic Unit test harness; 3) Definitions for some basic extensions to the Fortran language: arbitrary length strings, a parameter list construct, exception handlers, command line processor, timers; 4) Geometry definitions: point, line, plane, box, cylinder, polyhedron; 5) File wrapper functions: standard Fortran input/output files, Fortran binary files, HDF5 files; 6) Parallel wrapper functions: MPI, and Open MP abstraction layers, partitioning algorithms; 7) Math utilities: BLAS, Matrix and Vector definitions, Linear Solver methods and wrappers for other TPLs (PETSC, MKL, etc), preconditioner classes; 8) Misc: random number generator, water saturation properties, sorting algorithms.

Collins, Benjamin S.↗

Arvia organics destruction: an innovative treatment approach for dioxins, furans and other problematic (Orphan) organic wastes - 15380

The safe and efficient disposal of radionuclide-contaminated organic wastes is a key component in the life-cycle of a nuclear power plant. Technologies are available for the processing of some of these wastes although there are a number of waste streams for which the disposition path is not clear or does not exist at all. For example, waste streams such as dioxin, furan and PCB-laden oils pose an issue for the US Dept. of Energy complex. These wastes present a challenge as they cannot be readily treated using existing treatment technologies because of legislative and material constraints such as gaseous phase radioactivity discharge limits, waste elemental content, by-product generation and waste resistance to thermal decomposition. Alternate methods of organics destruction can circumvent some of these issues by using different mechanisms of organics oxidation. One such innovative method, known as the Arvia organics destruction process, combines adsorption with electrochemical combustion and offers such an alternative. This technology, based on a patented material, Nyex{sup TM} that is able to act as both an adsorbent and as an electrode, allows the electrochemical combustion of adsorbed organics to occur on the material's surface. The result is the destruction of organics whilst the bulk of inorganic and radionuclide components remain in the aqueous phase. These components can subsequently be treated using existing waste processing technologies. This paper outlines recent work conducted on demonstrating the Arvia process against the destruction of dioxin, furan and PCB-laden wastes that demonstrates that the technology successfully removes these target species to below discharge standards in the aqueous phase. Based on these successful trials a test unit has been designed to demonstrate the process on actual radioactive wastes at the DOE Oak Ridge facility. The successful treatment of F027-coded waste has also been demonstrated and will be reported. The above work showcases the development, scaling and application of an innovative technology, first presented to the industry at the Waste Management Symposia in 2012, as another option for the treatment of challenging wastes with expensive, complex or no current disposal routes. The Arvia process adds to the portfolio of available treatment technologies and will help facilitate the decommissioning and waste disposal responsibilities of the nuclear industry. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Multi-functional Sorbent Technology (MUST) for the Recovery/Removal of Critical/Heavy Metals from Fossil-Related Wastewater

A collection of remediation and recovery technologies like those predicated on photocatalytic-, electric-, chemical-, membrane-, and adsorptive-based processes currently exists in different stages of development or deployment between these methods of water management. Among these technologies, solid sorbent processes embody an optimal balance between cost-effectiveness, environmental friendliness, and technological maturity. The U.S. Department of Energy’s National Energy Technology Laboratory developed a suit of cross-linked, functionalized silica sorbents tailored to eliminate the most toxic metals regulated by the U.S. Environmental Protection Agency (EPA); critical metals identified by the U.S. Geological Survey (USGS); and harmful organics like the infamous perfluoroalkyl and polyfluoroalkyl substances (PFAS). An array of laboratory and field tests proved that the MUST sorbents removed ppb-level lead from drinking water, selenium from FGD wastewater below EPA limits, aqueous dyes and PFAS; and fractionated low ppm-level critical metals (CM) from AMD and simulated produced water. Proof-of-concept for commercial CM recovery was verified through obtaining milligram-quantities of purified Al solids from a sorbent multi-bed AMD field-site test. Commercial efficacy was further supported by achieving purified fractions of adsorbed Mn upon treating both the AMD and synthetic produced water with the laboratory multi-bed test unit.

Wilfong, Walter C.↗

Evaluation of LLVM Flang for Production HPC Applications and Modern Fortran Features

In 2025, LLVM released its first Flang Fortran compiler version considered ready for widespread evaluation. We know of no published assessment of Flang compiling a workload- derived portfolio of high-performance computing (HPC) applications. We address this gap using workload data from the National Energy Research Scientific Computing Center (NERSC), which supports more than 10,000 scientists on approximately 1,000 projects. The NERSC workload analyses identify many Fortran components in heavily used applications. We selected 10 such packages with available source code. We compiled them with Flang 22.1.3 on NERSC’s Perlmutter system. Six compiled without code modifications, though some required build-system changes. Three compiled after minor source edits, mostly to address Fortran standard violations. One built only without OpenMP enabled. We evaluated seven additional packages selected for their use of, or enablement of, standard Fortran parallel features: multi-image execution and do concurrent. Six such codes compiled with most or all unit tests passing.

Rasmussen, Katherine↗

Flight test results of the strapdown hexad inertial reference unit (SIRU). Volume 2: Test report

Results of flight tests of the Strapdown Inertial Reference Unit (SIRU) navigation system are presented. The fault tolerant SIRU navigation system features a redundant inertial sensor unit and dual computers. System software provides for detection and isolation of inertial sensor failures and continued operation in the event of failures. Flight test results include assessments of the system's navigational performance and fault tolerance. Performance shortcomings are analyzed.

Hruby, R. J.↗

Improve Replication of In-service Mechanical Environments

Structural dynamic testing is a common method for determining if the design of a component of a system will mechanically fail when deployed into its field environment. To satisfy the test's goal, the mechanical stresses must be replicated. Structural dynamic testing is commonly executed on a shaker table or a shock apparatus such as a drop table or a resonant plate. These apparatus impart a force or load on the component through a test fixture that connects the unit under test to the apparatus. Because the test fixture is directly connected to the unit under test, the fixture modifies the structural dynamics of the system, thus varying the locations and relative levels of stress on the unit under test. This may lead to a false positive or negative indication if the unit under test will fail in its field environment depending on the environment and the test fixture. This body of research utilizes topology optimization using the Plato software to design a test fixture that attaches to the unit under test that matches the dynamic impedance of the next level of assembly. The optimization's objective function is the difference between the field configuration and the laboratory configuration's frequency response functions. It was found that this objective function had many local minima and posed difficulties in converging to an acceptable solution. A case study is presented that uses this objective function and although the results are not perfect, they are quantifiably better than the current method of using a sufficiently stiff fixture.

42 ENGINEERING↗