Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Code of Record”

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

An experiment to assess the cost-benefits of code inspections in large scale software development

This experiment (currently in progress) is designed to measure costs and benefits of different code inspection methods. It is being performed with a real development team writing software for a commercial product. The dependent variables for each code unit's inspection are the elapsed time and the number of defects detected. We manipulate the method of inspection by randomly assigning reviewers, varying the number of reviewers and the number of teams, and, when using more than one team, randomly assigning author repair and non-repair of detected defects between code inspections. After collecting and analyzing the first 17 percent of the data, we have discovered several interesting facts about reviewers, about the defects recorded during reviewer preparation and during the inspection collection meeting, and about the repairs that are eventually made. (1) Only 17 percent of the defects that reviewers record in their preparations are true defects that are later repaired. (2) Defects recorded at the inspection meetings fall into three categories: 18 percent false positives requiring no author repair, 57 percent soft maintenance where the author makes changes only for readability or code standard enforcement, and 25 percent true defects requiring repair. (3) The median elapsed calendar time for code inspections is 10 working days - 8 working days before the collection meeting and 2 after. (4) In the collection meetings, 31 percent of the defects discovered by reviewers during preparation are suppressed. (5) Finally, 33 percent of the true defects recorded are discovered at the collection meetings and not during any reviewer's preparation. The results to date suggest that inspections with two sessions (two different teams) of two reviewers per session (2sX2p) are the most effective. These two-session inspections may be performed with author repair or with no author repair between the two sessions. We are finding that the two-session, two-person with repair (2sX2pR) inspections are the most expensive, taking 15 working days of calendar time from the time the code is ready for review until author repair is complete, whereas two-session, two-person with no repair (2sX2pN) inspections take only 10 working days, but find about 10 percent fewer defects.

Porter, A.↗

An Experimental Comparison of Cyclic Variations in Diesel–Natural Gas and POMDME–Natural Gas Dual Fuel Combustion

Abstract Cyclic variations in internal combustion engines are caused by various factors, including combustion mixture stratification, in-cylinder flows, local fluctuations in air-fuel ratio, etc. Cyclic variations have a profound impact on engine performance and emissions. In this study, cyclic variations in dual fuel combustion are analyzed, comparing diesel–natural gas (NG) and polyoxymethylene dimethyl ether (POMDME)-NG dual fuel combustion. Cyclic variability was initially quantified using the coefficient of variation of gross indicated mean effective pressure (IMEPg) computed from experimental cylinder pressure data. The cases analyzed in this study had a coefficient of variation (COV) of IMEPg greater than or around 5%, which was the lower limit of onset of instability for this engine. Experiments were performed at two fixed start of injection (SOI) of high-cetane fuel: 310 CAD and 350 CAD. For all experiments, a constant load of 5 bar IMEPg was maintained, and the intake boost pressure and rail pressure were fixed at 1.5 bar and 500 bar, respectively. For each case, 1000 cycles of cylinder pressure data were recorded, filtered, and processed using an in-house heat release analysis code for each cycle. A comparison between individual cycles and the “ensemble averaged cycle” was made for both diesel–NG and POMDME–NG combustion. For the early SOI of 310 CAD, the peak cylinder pressure fluctuations of individual cycle were found to be ± 15 bar for both fuel combinations, compared to the ensemble averaged cycle, and < 1/10th of the cycles had an IMEPg lower than 0.05 bar of the ensemble averaged cycle. However, the peak pressure fluctuations were found to be lower for POMDME–NG (±3 bar) than diesel–NG dual fuel combustion at 350 CAD SOI, indicating lower cyclic variations. The higher reactivity of POMDME helped reduce fluctuations in combustion phasing at the retarded SOI. The presence of cycles of deterioration and cycles of recovery were also observed with diesel–NG combustion for 310 CAD SOI, and the scatter in the IMEPg return map was similar for both fuel combinations. The IMEPg return map for POMDME–NG combustion was less scattered at the 350 CAD SOI.

Engineering↗

Area 6 Control Point: An Architectural Survey of the Area 6 Control Point, Nevada National Security Site, Nye County, Nevada

The U.S. Department of Energy (DOE), National Nuclear Security Administration Nevada Field Office (NNSA/NFO) proposes to demolish five buildings and five accessory resources in the Area 6 Control Point at the Nevada National Security Site (NNSS) in Nye County, Nevada. The demolition and removal of the buildings and accessories constitute an undertaking subject to review under Section 106 of the National Historic Preservation Act (NHPA) (54 United States Code [USC] § 306101) and its implementing regulations, 36 Code of Federal Regulations (CFR) Part 800. The buildings and accessories were recorded in Identification and Evaluation of 14 Architectural Resources Scheduled for Demolition, Area 6 Control Point and Vicinity, Nevada National Security Site, Nye County, Nevada (Menocal et al. 2020). The report found that the five buildings were not individually eligible for listing in the National Register of Historic Places (NRHP, National Register) but were potentially eligible as contributing elements to an unrecorded Area 6 Control Point district. The report also found that the five accessory resources were not individually eligible for the NRHP but they contributed to other historic properties, including the contributing elements to the unrecorded district. Finally, the report found that the undertaking would result in an adverse effect to historic properties. The State Historic Preservation Office (SHPO) concurred with the report’s findings regarding the eligibility of the buildings and structures in the Area of Potential Effect (APE) and that the undertaking would result in an adverse effect (Reed 2020). The NNSA/NFO, in consultation with the SHPO, then developed the Memorandum of Agreement DE-GM58-21NA25543 Between the U.S. Department of Energy and the Nevada State Historic Preservation Officer Regarding Demolition of Fourteen Buildings and Structures in Area 6 of the Nevada National Security Site, Nye County, hereafter referred to as the MOA. The MOA stipulates that a district boundary be delineated with an accompanying boundary report and supporting photographs (Stipulation III.A) followed by an architectural survey of the potential historic district (Stipulation III.B). The SHPO reviewed and concurred with the proposed district boundary and accompanying boundary report and photographs (O’Neill et al. 2021) on August 23, 2021, in fulfillment of Stipulation III.A (Reed 2021). This architectural survey report has been prepared in accordance with Stipulation III.B. It includes an NRHP evaluation of the district, identifies contributing and non-contributing elements, and is accompanied by Architectural Resource Assessment (ARA) forms. The NRHP evaluation concludes that the Area 6 Control Point is recommended eligible as a historic district under the Secretary of the Interior’s Significance Criterion A at the national level as the location of the command center and various support facilities directly related to timing and firing operations for nuclear testing on the NNSS from 1951 to 1992. It is also recommended eligible under Significance Criterion C for embodying the distinctive characteristics of a nuclear command center in the context of the Cold War and as a significant and distinguishable entity. There are a total of 29 primary resources within the district boundary. Of these, 28 are recommended as contributing elements to the Area 6 Control Point Historic District and one is recommended as non-contributing.

54 ENVIRONMENTAL SCIENCES↗

QPatLib v1.0 — Measurement-based quantum simulation Pauli string unitary pattern collections

This Zenodo record accompanies the paper “Scalable Measurement-Based Quantum Simulation Patterns for Benchmarking” arXiv.2605.12502 and provides QPatLib v1.0 measurement-pattern datasets in human-readable JSONL together with a ZIP archive of OpenQASM 3.0 circuits used for validation and reproducibility. The patterns and circuits implement Pauli string unitaries for benchmark cases. Cases include all possible string combinations for less than 6 qubits and strings used in Hamiltonians for certain diatomic molecules for 6 or more qubits. Format: Each pattern_*.jsonl file is containins measurement patterns for all subsets for a given model/instance and subset strategy: it begins with a preamble containing model metadata, subset definitions, provenance, and (when feasible) full-pattern test results, followed by one pattern entry per subset. Each subset entry includes a required pattern_ascii field storing the measurement pattern in the measurement-calculus/Graphix standard with signal shifting, written left-to-right in the canonical order nodes → edges → measurements (with signal dependencies) → byproduct corrections (X/Z). The circuits are included as circuit_files.zip. Patterns in this record were validated against the corresponding circuits and checked for causal flow. Codes for generating these patterns can be found at QPatLib repository on Github

Graphix↗

An adaptive algorithm for motion compensated color image coding

This paper presents an adaptive algorithm for motion compensated color image coding. The algorithm can be used for video teleconferencing or broadcast signals. Activity segmentation is used to reduce the bit rate and a variable stage search is conducted to save computations. The adaptive algorithm is compared with the nonadaptive algorithm and it is shown that with approximately 60 percent savings in computing the motion vector and 33 percent additional compression, the performance of the adaptive algorithm is similar to the nonadaptive algorithm. The adaptive algorithm results also show improvement of up to 1 bit/pel over interframe DPCM coding with nonuniform quantization. The test pictures used for this study were recorded directly from broadcast video in color.

Kwatra, Subhash C.↗

Variable Distance Angular Symbology Reader

A variable distance angular symbology, reader utilizes at least one light source to direct light through a beam splitter and onto a target. A target may be angled relative to the impinging light beam up to and maybe even greater than 45deg. A reflected beam from the target passes through the beam splitter and is preferably directed 90deg relative to the light source through a telecentric lens to a scanner which records an image of the target such as a direct part marking code.

Schramm, Harry F., Jr.↗

Mean Flow and Noise Prediction for a Separate Flow Jet With Chevron Mixers

Experimental and numerical results are presented here for a separate flow nozzle employing chevrons arranged in an alternating pattern on the core nozzle. Comparisons of these results demonstrate that the combination of the WIND/MGBK suite of codes can predict the noise reduction trends measured between separate flow jets with and without chevrons on the core nozzle. Mean flow predictions were validated against Particle Image Velocimetry (PIV), pressure, and temperature data, and noise predictions were validated against acoustic measurements recorded in the NASA Glenn Aeroacoustic Propulsion Lab. Comparisons are also made to results from the CRAFT code. The work presented here is part of an on-going assessment of the WIND/MGBK suite for use in designing the next generation of quiet nozzles for turbofan engines.

Koch, L. Danielle↗

WFSUITE: A PYTHON SOFTWARE SUITE FOR X-RAY WAVEFRONT SENDING AND AT-WAVELENGTH METROLOGY

SF-26-025 WFSuite is a graphical and command-line toolkit for coded-mask-based X-ray wavefront sensing and phase reconstruction at synchrotron beamlines. It integrates analysis tools for both relative and absolute speckle-based measurements. In the relative metrology module, WFSuite implements Wavelet-transform-based X-ray Speckle Tracking (WXST) and Wavelet-transform-based Speckle Vector Tracking (WSVT) methods to retrieve differential phase and wavefront distortions by comparing speckle patterns recorded with and without the test sample. In the absolute phase module, WFSuite uses coded-mask speckle patterns and replaces the measured reference with a numerically simulated one, enablingsingle-shot wavefront reconstruction using either WXST or a neural-network-based method (SPINNet).

Rebuffi, Luca [Argonne National Laboratory (ANL), ↗

Adoption of Test Driven Development and Continuous Integration for the Development of the Trick Simulation Toolkit

This paper describes the adoption of a Test Driven Development approach and a Continuous Integration System in the development of the Trick Simulation Toolkit, a generic simulation development environment for creating high fidelity training and engineering simulations at the NASA/Johnson Space Center and many other NASA facilities. It describes what was learned and the significant benefits seen, such as fast, thorough, and clear test feedback every time code is checked-in to the code repository. It also describes a system that encourages development of code that is much more flexible, maintainable, and reliable. The Trick Simulation Toolkit development environment provides a common architecture for user-defined simulations. Trick builds executable simulations using user-supplied simulation-definition files (S_define) and user supplied "model code". For each Trick-based simulation, Trick automatically provides job scheduling, checkpoint / restore, data-recording, interactive variable manipulation (variable server), and an input-processor. Also included are tools for plotting recorded data and various other supporting tools and libraries. Trick is written in C/C++ and Java and supports both Linux and MacOSX. Prior to adopting this new development approach, Trick testing consisted primarily of running a few large simulations, with the hope that their complexity and scale would exercise most of Trick's code and expose any recently introduced bugs. Unsurprising, this approach yielded inconsistent results. It was obvious that a more systematic, thorough approach was required. After seeing examples of some Java-based projects that used the JUnit test framework, similar test frameworks for C and C++ were sought. Several were found, all clearly inspired by JUnit. Googletest, a freely available Open source testing framework, was selected as the most appropriate and capable. The new approach was implemented while rewriting the Trick memory management component, to eliminate a fundamental design flaw. The benefits became obvious almost immediately, not just in the correctness of the individual functions and classes but also in the correctness and flexibility being added to the overall design. Creating code to be testable, and testing as it was created resulted not only in better working code, but also in better-organized, flexible, and readable (i.e., articulate) code. This was, in essence the Test-driven development (TDD) methodology created by Kent Beck. Seeing the benefits of Test Driven Development, other Trick components were refactored to make them more testable and tests were designed and implemented for them.

Penn, John M.↗

TEAMER: Twin Ocean Power Wave Energy Converter Comprehensive Overview

These files collectively provide a comprehensive overview of the testing process, data analysis, and validation for the Twin Ocean Power device tested at the O.H. Hinsdale Wave Research Laboratory, supported by TEAMER funding. This resource includes an overview of power results for a series of 7 trials. The files included in this comprehensive overview include a comprehensive log sheet for each trial, a summary of all trials, and processing scripts for the raw data. It includes all raw data in .tsv and MATLAB compatible formats, an average power chart, angular velocity charts for each trial, trial metrics, and power output files. This resource includes images of the Twin Ocean Power Wave Energy Converter device components and movement during testing and video recordings of each trial.

16 TIDAL AND WAVE POWER↗

Recent experiences with implementing a video based six degree of freedom measurement system for airplane models in a 20 foot diameter vertical spin tunnel

A model space positioning system (MSPS), a state-of-the-art, real-time tracking system to provide the test engineer with on line model pitch and spin rate information, is described. It is noted that the six-degree-of-freedom post processor program will require additional programming effort both in the automated tracking mode for high spin rates and in accuracy to meet the measurement objectives. An independent multicamera system intended to augment the MSPS is studied using laboratory calibration methods based on photogrammetry to characterize the losses in various recording options. Data acquired to Super VHS tape encoded with Vertical Interval Time Code and transcribed to video disk are considered to be a reasonable priced choice for post editing and processing video data.

Snow, Walter L.↗

Ethane in Planetary and Cometary Atmospheres: Transmittance and Fluorescence Models of the nu7 Band at 3.3 Micrometers

Ethane and other hydrocarbon gases have strong rovibrational transitions in the 3.3 micron spectral region owing to C-H, CH2, and CH3 vibrational modes, making this spectral region prime for searching possible biomarker gases in extraterrestrial atmospheres (e.g., Mars, exoplanets) and organic molecules in comets. However, removing ethane spectral signatures from high-resolution terrestrial transmittance spectra has been imperfect because existing quantum mechanical models have been unable to reproduce the observed spectra with sufficient accuracy. To redress this problem, we constructed a line-by-line model for the n7 band of ethane (C2H6) and applied it to compute telluric transmittances and cometary fluorescence efficiencies. Our model considers accurate spectral parameters, vibration-rotation interactions, and a functional characterization of the torsional hot band. We integrated the new band model into an advanced radiative transfer code for synthesizing the terrestrial atmosphere (LBLRTM), achieving excellent agreement with transmittance data recorded against Mars using three different instruments located in the Northern and Southern hemispheres. The retrieved ethane abundances demonstrate the strong hemispheric asymmetry noted in prior surveys of volatile hydrocarbons. We also retrieved sensitive limits for the abundance of ethane on Mars. The most critical validation of the model was obtained by comparing simulations of C2H6 fluorescent emission with spectra of three hydrocarbon-rich comets: C/2004 Q2 (Machholz), 8P/Tuttle, and C/2007 W1 (Boattini). The new model accurately describes the complex emission morphology of the nu7 band at low rotational temperatures and greatly increases the confidence of the retrieved production rates (and rotational temperatures) with respect to previously available fluorescence models.

Villanueva, G. L.↗

Code Migration and Optimization for Calculating Atmospheric Attenuation in RF Link Budgets Within Glenn Research Center Communication Analysis Suite

This technical report encompasses development completed on the Glenn Research Center Communication Analysis Suite (GCAS) as it relates to converting code from the original MATLAB® (The MathWorks, Inc.) GCAS code base to C++. It focuses on a majority of the functions, structures, and intermediate code developed for radiofrequency (RF) links calculations. The report serves as a comprehensive record of the current progress and outlines the technical challenges overcome during this research. Throughout this project, numerous functions and structures were migrated end to end, with validation test cases conducted in accordance with NASA’s verification and validation efforts for standard models and simulations. This report also provides high-level documentation of the completed work; detailed low-level documentation has been compiled to provide a line-by-line explanation in alignment with NASA’s goals. This development has largely been focused on atmospheric effects on calculating RF link budgets for both terrestrial and space links. Some developments outside of atmospheric functions are also covered throughout this report; these are largely related to mathematical operations and MATLAB® structure conversions.

Brady M. Phelps↗

Probabilistic Seismic Hazard Assessment for Azerbaijan

Probabilistic Seismic Hazard Assessments (PSHA) underpin the determination of seismic loads in most contemporary seismic provisions of building codes around the world. Modern building codes are migrating towards using the entire uniform hazard spectrum at a range of vibration periods (typically up to 4 s or 10 s) rather than a single peak value such as peak ground acceleration (PGA), thus requiring a larger range of PSHA outputs. The hazard maps in the current version of the building code of Azerbaijan (2011) are in terms of intensity and peak ground acceleration. Recognizing the need for an up-to-date seismic hazard assessment in the country, Seismic Cooperation Program (SCP) under the Lawrence Livermore National Laboratory (LLNL) undertook, in coordination with the Republican Seismic Survey Center of the Azerbaijan National Academy of Sciences and the Azerbaijan Scientific Research Institute of Construction and Architecture, a PSHA study that reflects new seismic data recorded locally and recent research conducted nationally and regionally since the last update to the building code. The PSHA framework for this project was designed to help develop a new earthquake catalogue, to incorporate a novel characterization of ground motions that specifically reflects the attenuation characteristics in the eastern Caucasus, and to generate hazard information in a form that is useful for an update of the current building code or the development of a new building code for Azerbaijan. The project also aimed to provide training and support for the local seismologists and engineers related to the seismic hazard models, probabilistic seismic hazard results and their use towards changes in the building code.

58 GEOSCIENCES↗

Hindsight logging for model training

In modern Machine Learning, model training is an iterative, experimental process that can consume enormous computation resources and developer time. To aid in that process, experienced model developers log and visualize program variables during training runs. Exhaustive logging of all variables is infeasible, so developers are left to choose between slowing down training via extensive conservative logging, or letting training run fast via minimalist optimistic logging that may omit key information. As a compromise, optimistic logging can be accompanied by program checkpoints; this allows developers to add log statements post-hoc, and "replay" desired log statements from checkpoint---a process we refer to as hindsight logging. Unfortunately, hindsight logging raises tricky problems in data management and software engineering. Done poorly, hindsight logging can waste resources and generate technical debt embodied in multiple variants of training code. In this paper, we present methodologies for efficient and effective logging practices for model training, with a focus on techniques for hindsight logging. Our goal is for experienced model developers to learn and adopt these practices. To make this easier, we provide an open-source suite of tools for Fast Low-Overhead Recovery (flor) that embodies our design across three tasks: (i) efficient background logging in Python, (ii) adaptive periodic checkpointing, and (iii) an instrumentation library that codifies hindsight logging for efficient and automatic record-replay of model-training. Model developers can use each flor tool separately as they see fit, or they can use flor in hands-free mode, entrusting it to instrument their code end-to-end for efficient record-replay. Our solutions leverage techniques from physiological transaction logs and recovery in database systems. Evaluations on modern ML benchmarks demonstrate that flor can produce fast checkpointing with small user-specifiable overheads (e.g. 7%), and still provide hindsight log replay times orders of magnitude faster than restarting training from scratch.

Computer Science↗

Software Quality Assurance for EBR-II Fuels Irradiation and Physics Database (FIPD)

The Fuels Irradiation and Physics Database (FIPD) is an ongoing DOE project on archival of the EBR-II metal-alloy fuel irradiation experiments. As part of its use in support of license applications, the Quality Assurance Program Plan (QAPP) was drafted and endorsed by NRC in an effort to demonstrate its compliance with regulatory expectations. Software Quality Assurance (SQA) for the physics portion of FIPD is intended to qualify the calculated quantities such as fuel and cladding temperatures, neutron fluence and axially varying burnup estimates for irradiated fuel elements. This report covers the initial evaluation of SQA status of three neutron physics and thermo-fluid codes (REBUS, RCT and SE2RCT) that form the basis of calculated quantities for as-irradiated characteristics of the tested metallic fuel elements. The report also introduces an SQA plan to address the identified deficiencies. The REBUS, RCT, and SE2RCT codes are all part of the Argonne Reactor Code (ARC) code system. There is considerable knowledge and experience on REBUS and RCT but relatively less on SE2RCT. During FY2021, efforts focused on an assessment of how the data in the EBR-II Physics and Analysis DataBase (PADB) is generated with SE2RCT and used in FIPD. Additional tasks included considerations of uncertainties for power estimates in REBUS and RCT calculations and their impact on the combined RCT methodology. The RCT software usage in FIPD was assessed this year and the input/output details studied. A “requirements” document was created that identifies the key features of the RCT software being used in FIPD that need to have SQA documentation. A brief discussion on the history of RCT and its input is included in this report along with the basic SQA roadmap laid out in the requirements document. The SE2RCT software usage in FIPD is still being studied noting that there is no current manual. As part of the work done this year, two bugs were identified in the SE2RCT software which have a minor impact on the accuracy of the results it produces. No requirements document has been created, but one identified feature of SE2RCT being used that needs verification was its fuel pin temperature calculation. The work completed this year confirms that the approximations which will be included in the software verification report for SE2RCT are accurate. In addition to software quality assurance work for RCT and SE2RCT, an automated verification framework is proposed to simplify the software quality assurance process. The purpose of this framework is to streamline code verification and documentation while minimizing repetitive tasks for code developers and reviewers. The reduction of repeated input (between reference solution, software, and documentation input) throughout the SQA process reduces potential for human errors during the preparation of the supporting software quality records. The automation of the verification and documentation process proposed for this project leverages the existing verification structure already in place for the SAS4A/SASSYS-1 code.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Processing of on-board recorded data for quick analysis of aircraft performance

A system of independent computer programs for the processing of digitized pulse code modulated (PCM) and frequency modulated (FM) data is described. Information is stored in a set of random files and accessed to produce both statistical and graphical output. The software system is designed primarily to present these reports within a twenty-four hour period for quick analysis of the helicopter's performance.

Michaud, N. H.↗

Application of low-power, high-rate PCM telemetry in a helicopter instrumentation system

The use of low-power, high-rate pulse code modulation (PCM) in a helicopter instrumentation system is examined. A Helicopter Instrumentation and Recording System (HIARS) was developed to obtain main rotor blade measurements and fuselage performance measurements. The HIARS consists of a low-power PCM telemeter, a digital PCM system, an optical rotor position sensor, and a PCM decommutation unit; the components and functions of these subsystems are described. Flight tests were conducted to evaluate the ability of the HIARS to measure aircraft parameters. The test data reveal that the PCM telemetry is applicable to helicopter instrumentation systems.

Thomas, Mitchel E.↗