Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “MatLab”

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 397 records · Page 22

The Development and Implementation of the Kennedy Space Center Umbilical Clearance Tool

In preparation for NASAs upcoming Space Launch System program, the Kennedy Space Center is currently developing subsystems to provide fuel, purges and communications to the flight vehicle, known as umbilicals. It is vital to the crew and mission that these umbilicals release at T-0 without re-contacting the vehicle as it is accelerating from the launch pad. To help ensure this requirement is met by the program, a methodology of evaluating the moving bodies was developed and implemented into a tool using MATLAB. The tool, known as the KSC Umbilical Clearance Tool, takes a given elevation of interest and an umbilical retract profile within the plane to evaluate the clearance between the umbilical arm and thousands of independent flight vehicle drift profiles from a Monte Carlo analysis. The presentation will delve into the challenges associated with developing and implementing the tool framed in the context of evaluating the clearance for one of the SLS umbilicals.

Clearance↗

Development and Application of a Tool for Optimizing Composite Matrix Viscoplastic Material Parameters

This document describes a recently developed analysis tool that enhances the resident capabilities of the Micromechanics Analysis Code with the Generalized Method of Cells (MAC/GMC) and its application. MAC/GMC is a composite material and laminate analysis software package developed at NASA Glenn Research Center. The primary focus of the current effort is to provide a graphical user interface (GUI) capability that helps users optimize highly nonlinear viscoplastic constitutive law parameters by fitting experimentally observed/measured stress-strain responses under various thermo-mechanical conditions for braided composites. The tool has been developed utilizing the MATrix LABoratory (MATLAB) (The Mathworks, Inc., Natick, MA) programming language. Illustrative examples shown are for a specific braided composite system wherein the matrix viscoplastic behavior is represented by a constitutive law described by seven parameters. The tool is general enough to fit any number of experimentally observed stress-strain responses of the material. The number of parameters to be optimized, as well as the importance given to each stress-strain response, are user choice. Three different optimization algorithms are included: (1) Optimization based on gradient method, (2) Genetic algorithm (GA) based optimization and (3) Particle Swarm Optimization (PSO). The user can mix and match the three algorithms. For example, one can start optimization with either 2 or 3 and then use the optimized solution to further fine tune with approach 1. The secondary focus of this paper is to demonstrate the application of this tool to optimize/calibrate parameters for a nonlinear viscoplastic matrix to predict stress-strain curves (for constituent and composite levels) at different rates, temperatures and/or loading conditions utilizing the Generalized Method of Cells. After preliminary validation of the tool through comparison with experimental results, a detailed virtual parametric study is presented wherein the combined effects of temperature and loading rate on the predicted response of a braided composite is investigated.

thermo-mechanical; MATLAB; GUI-Based Too↗

Swift Mission Gyro Patch and Re-Calibration Without A Calibration Campaign

The Swift spacecraft has three Two-Axis-Rate-Assemblies (TARAs) (designated as TARA 1, TARA 2, and TARA 3, and generically referred to as gyros) which until March of 2024 were all used in rate estimation as an operational workaround (dubbed “corrector-gyro”) of a software defect discovered in 2007. TARA 1 performance degraded throughout 2023 and 2024, making it an unreliable rate source. It was determined that shifting TARA 1 to be the corrector-gyro and using mainly TARAs 2 and 3, with the existing flight software (FSW) defect, would not meet performance requirements for science operations. Rather the FSW was patched to remove the defect found in 2007. This patch was delivered by the vendor in 2009, but was not fully tested or installed at that time. A decision was made in 2024 to install the patch despite limited simulation and testing capabilities. The problem facing the team was to come up with a set of alignment parameters that would work with the new patch, using data from the spacecraft operating normally in the old configuration. Calibration activities would have been possible in either the old or new FSW configuration, but were ultimately deemed unnecessary, saving staff time and pre-serving time on the spacecraft for science data collection. This paper describes the old and new FSW configurations related to gyro processing and alignment, and how the raw gyro and star tracker data from normal operation were used with a multidimensional unconstrained nonlinear minimization in MATLAB (Nelder-Mead1) to produce a fully calibrated set of gyro alignment parameters compatible with the patched FSW. Flight data is presented showing that not only did the process work, it improved performance significantly, rivaling the best slew performance of the mission to date.

MATLAB↗

MOFA: Multi-objective Flux Analysis for the COBRA Toolbox

Environments of biological organisms are frequently nutrient and energy limited. This necessitates that systems exert tight regulation of trade-offs among key biological processes. Quantitative knowledge of these tradeoffs is essential for successful manipulation of biosystems (e.g., metabolic engineering projects). Using genome-scale constraint-based models of metabolism (GSMs), Multi-Objective Flux Analysis (MOFA) allows analyses of trade-offs among a system’s key biological tasks. The leading software for conducting a variety of constraint-based analyses using GSMs is the COBRA Toolbox for MATLAB. Results: We have developed a new add-on tool for COBRA that performs MOFA for a number of objectives only limited by computation power.

59 BASIC BIOLOGICAL SCIENCES↗

Study on the Tritium Behaviors in the VHTR System. Part 1: Development of Tritium Analysis Code for VHTR and Verification

A tritium permeation analyses code (TPAC) has been developed in Idaho National Laboratory (INL) by using MATLAB SIMULINK package for analysis of tritium behaviors in the VHTRs integrated with hydrogen production and process heat application systems. The modeling is based on the mass balance of tritium containing species and hydrogen (i.e., HT, H2, HTO, HTSO4, and TI) coupled with a variety of tritium source, sink, and permeation models. The code includes (1) tritium sources from ternary fission and neutron reactions with 6Li, 7Li 10B, 3He, (2) tritium purification system, (3) leakage of tritium with coolant, (4) permeation through pipes, vessels, and heat exchangers, (4) electrolyzer for high temperature steam electrolysis (HTSE), and (5) isotope exchange for SI process. Verification of the code has been performed by comparisons with the analytical solutions, the experimental data, and the benchmark code results based on the Peach Bottom reactor design. The results showed that all the governing equations are well implemented into the code and correctly solved. This paper summarizes all the background, the theory, the code structures, and some verification results related to the TPAC code development in Idaho National Laboratory (INL).

42 ENGINEERING↗

Mechanism of formation of wiggly compaction bands in porous sandstone: 2. Numerical simulation using discrete element method

Wiggly compaction bands in porous aeolian s andstone vary from chevron shape to wavy shape to nearly straight. In some outcrops these variations occur along a single band. Here, a bonded close-packed discrete element model is used to investigate what mechanical properties control the formation of wiggly compaction bands (CBs). To simulate the volumetric yielding failure of porous sandstone, a discrete element shrinks when the force state of one of its bonds reaches the yielding cap defined by the failure force and the aspect ratio (k) of the yielding ellipse. A Matlab code “MatDEM 3D ” has been developed on the basis of this enhanced discrete element method. Mechanical parameters of elements are chosen according to the elastic properties and the strengths of porous sandstone. In numerical simulations, the failure angle between the band segment and maximum principle stress decreases from 90° to approximately 45° as k increases from 0.5 to 2, and compaction bands vary from straight to chevron shape. With increasing strain, subsequent compaction occurs inside or beside compacted elements, which leads to further compaction and thickening of bands. The simulations indicate that a greater yielding stress promotes chevron CBs, and a greater cement strength promotes straight CBs. Combined with the microscopic analysis introduced in the companion paper, we conclude that the shape of wiggly CBs is controlled by the mechanical properties of sandstone, including the aspect ratio of the yielding ellipse, the cri tical yielding stress, and the cement strength, w hich are d etermined primarily by petrophysical attributes, e.g., grain sorting, porosity, and cementation.

58 GEOSCIENCES↗

Kraft black liquor concentration with graphene oxide membranes: Process simulations and technoeconomic analysis

Abstract Black liquor (BL) dewatering by multi‐effect evaporation in the kraft papermaking process is highly energy‐intensive. It was previously shown that graphene oxide (GO) nanofiltration membranes can remove lignin, other organics, and inorganic salts from BL while exhibiting stability in caustic BL conditions. Here, we design and simulate several candidate dewatering processes and evaluate their technoeconomic characteristics. All processes concentrate BL from 15 to 30 wt% solutes while producing aqueous permeate. Two process options were analyzed—option A including “last‐mile” permeate treatment to reduce solutes to 0.2 wt%, and option B excluding this treatment and producing a 3–4 wt% solutes stream. These processes were simulated in custom‐built ASPEN Plus flowsheets interfaced with Microsoft Excel and MATLAB. All processes deliver large (>40%) energy savings. Detailed technoeconomic analysis showed that option A processes are profitable in mills equipped with condensing turbines, but unprofitable with only purchased fuel savings. Option B processes are profitable in both situations, but require the caustic permeate to be utilized in other kraft process units. They are also profitable with electricity generation when operated at smaller scales matching the requirements of other process units. Monte‐Carlo sensitivity analysis shows that Option A can yield median 20‐year NPVs up to ~$10MM and Option B up to ~$25MM. Overall, GO membrane‐based BL dewatering is economically promising, assuming successful slipstream piloting and scale‐up campaigns. It would have immediate sustainability benefits from large energy savings, and broader implications for biorefinery processes due to the ability to fractionate biomass feedstock components under harsh conditions.

Wang, Zhongzhen↗

Non‐invasive imaging of cellulose microfibril orientation within plant cell walls by polarized Raman microspectroscopy

ABSTRACT Cellulose microfibrils represent the major scaffold of plant cell walls. Different packing and orientation of the microfibrils at the microscopic scale determines the macroscopic properties of cell walls and thus affect their functions with a profound effect on plant survival. We developed a polarized Raman microspectroscopic method to determine cellulose microfibril orientation within rice plant cell walls. Employing an array of point measurements as well as area imaging and subsequent Matlab‐assisted data processing, we were able to characterize the distribution of cellulose microfibril orientation in terms of director angle and anisotropy magnitude. Using this approach we detected differences between wild type rice plants and the rice brittle culm mutant, which shows a more disordered cellulose microfibril arrangement, and differences between different tissues of a wild type rice plant. This novel non‐invasive Raman imaging approach allows for quantitative assessment of cellulose fiber orientation in cell walls of herbaceous plants, an important advancement in cell wall characterization. Biotechnol. Bioeng. 2016;113: 82–90. © 2015 Wiley Periodicals, Inc.

Sun, Lan↗

Open‐Source Anaerobic Digestion Modeling Platform, Anaerobic Digestion Model No. 1 Fast (ADM1F)

An open‐source modeling platform, called Anaerobic Digestion Model No. 1 Fast (ADM1F), is introduced to achieve fast and numerically stable simulations of anaerobic digestion processes. ADM1F is compatible with an iPython interface to facilitate model configuration, simulation, data analysis, and visualization. Faster simulations and more stable results are accomplished by implementing an advanced open‐source library of numerical methods called Portable Extensive Toolkit for Scientific Computation (PETSc) to solve the ADM1 system of equations. Leveraging PETSc, ADM1F can consistently complete a steady‐state simulation under 0.2 s, over 99% faster than a benchmark ADM1 model implemented with MATLAB while achieving agreement of model outputs within 1% of those obtained with the benchmark model. For dynamic simulations, however, ADM1F has a computational speed advantage only when the influent characteristics update more frequently than every 4 h. The ability of ADM1F to be useful as a tool to study anaerobic digestion systems is demonstrated through two example implementations of ADM1F: (1) a two‐phase co‐digestion scenario evaluating the impact of the organic loading rate and the substrate composition on reactor performance and stability, and (2) a conventional digester scenario assessing the effectiveness of recovery strategies after disruptions that led to instability. These examples demonstrate how the high simulation speed and the convenience of the iPython interface allow ADM1F to complete complex analyses within minutes, much faster than computational strategies currently reported in the literature.

anaerobic co-digestion↗

Recursive integral method with Cayley transformation

Summary The recently developed RIM (recursive integral method) finds eigenvalues in a region of the complex plane. It computes an indicator to test if the region contains eigenvalues using an approximate spectral projection. If the indicator shows that the region contains eigenvalues, it is subdivided into smaller regions, which are then recursively tested and subdivided until any eigenvalues are isolated to a specified precision. We propose an enhancement to RIM that uses Cayley transformations and Arnoldi's method to greatly decrease the number of factorizations required to solve the linear systems that arise from a discretized contour integral to compute the indicator, which substantially reduces the computational cost. We demonstrate the efficacy of our method with numerical examples and compare with the implicitly restarted Arnoldi method, as implemented in eigs in MATLAB.

Huang, R.↗

CP decomposition for tensors via alternating least squares with QR decomposition

The CP tensor decomposition is used in applications such as machine learning and signal processing to discover latent low-rank structure in multidimensional data. Computing a CP decomposition via an alternating least squares (ALS) method reduces the problem to several linear least squares problems. The standard way to solve these linear least squares subproblems is to use the normal equations, which inherit special tensor structure that can be exploited for computational efficiency. However, the normal equations are sensitive to numerical ill-conditioning, which can compromise the results of the decomposition. In this paper, we develop versions of the CP-ALS algorithm using the QR decomposition and the singular value decomposition, which are more numerically stable than the normal equations, to solve the linear least squares problems. Our algorithms utilize the tensor structure of the CP-ALS subproblems efficiently, have the same complexity as the standard CP-ALS algorithm when the input is dense and the rank is small, and are shown via examples to produce more stable results when ill-conditioning is present. Our MATLAB implementation achieves the same running time as the standard algorithm for small ranks, and we show that the new methods can obtain lower approximation error.

97 MATHEMATICS AND COMPUTING↗

Protection Scheme for Multiterminal HVDC System Based on Wavelet Transform Modulus Maxima

Fault protection is a major issue in the development of multiterminal high‐voltage direct current (HVDC) system based on voltage‐source converter. Owing to the rapid increase in fault current under DC faults, protection requires a fast fault detection method to isolate the fault current. However, the selectivity and reliability of the fast protection scheme should be primarily guaranteed. Therefore, a new protection strategy based on modulus maximum under wavelet transform is proposed in this paper. Fault detection and discrimination are achieved using single‐end signals of fault current. The external and internal faults can be discriminated via local information. The reliability and robustness of the proposed scheme against potential factors are verified. Numerous simulation cases are performed in PSCAD/EMTDC under different fault scenarios, and signal data are analyzed in MATLAB to demonstrate the effectiveness of the proposed fault protection scheme. © 2020 Institute of Electrical Engineers of Japan. Published by Wiley Periodicals LLC.

Huai, Qing↗

Dynamic Characteristic Identification

This paper introduces a dynamic system parameter extraction using experimental data and a known characteristic equation for a single degree of freedom system. The efficacy of curve fitting to determine mass, damping, and stiffness for simulated underdamped, critically damped, and overdamped systems is explored. Two methods are explored to obtain these characteristics using a step response approach in the time domain or a transfer function and dynamic stiffness approach in the frequency domain for simulated systems. Commonly available software, MATLAB, is used for curve fitting. An examination of the effect of inaccurate seeds, or starting values, for mass, damping, and stiffness is included.

Jordan, Clay↗

Deflection Shape Balancing: An Alternative to Modal Balancing

Rotor balancing is the final step in the rotor manufacturing process and may be necessary during rotor refurbishment. The process can be time consuming and costly, especially for supercritical monolithic rotors, impacting schedule and increasing costs. Modal balancing is a commonly used practice and is effective but requires multiple runs and at least one high-speed run. Deflection shape balancing is introduced as an alternative that may offer a more efficient method of balancing making the process faster with potentially fewer balancing runs. This paper explores the performance of the deflection shape fit balancing technique by utilizing MATLAB code simulations.

Morrell, William Jason↗

AHF: Array-Based Half-Facet Data Structure for Mixed-Dimensional and Non-Manifold Meshes

We present an Array-based Half-Facet mesh data structure, or AHF, for efficient mesh query and modification operations. The AHF extends the compact array-based half-edge and half-face data structures (T.J. Alumbaugh and X. Jiao, Compact array-based mesh data structures, IMR, 2005) to support mixed-dimensional and non-manifold meshes. The design goals of our data structure include generality to support such meshes, efficiency of neighborhood queries and mesh modification, compactness of memory footprint, and facilitation of interoperability of mesh-based application codes. To accomplish these goals, our data structure uses sibling half-facets as a core abstraction, coupled with other explicit and implicit representations of entities. A unique feature of our data structure is a comprehensive implementation in MATLAB, which allows rapid prototyping, debugging, testing, and deployment of meshing algorithms and other mesh-based numerical methods. We have also developed C++ implementation built on top of MOAB (T.J. Tautges, R. Meyers, and K. Merkley, MOAB: A Mesh-Oriented Database, Sandia National Laboratories, 2004). We present some comparisons of the memory requirements and computational costs, and also demonstrate its effectiveness with a few sample applications.

Dyedov, Volodymyr↗

Response tailoring of elasto-plastic trusses

Abstract In this work we tailor the response of trusses loaded beyond their yield limit. The truss structures are modeled using finite strain theory and rate-independent elasto-plasticity. We design trusses with a tailored mechanical response that is between “elastic” and “elastic-ideal-plastic” subject to the volume constraint. The design updates are generated by the gradient-based Method of Moving Asymptotes (MMA) solver and the sensitivities of the response functions are computed using a path-dependent adjoint sensitivity analysis. The computations are performed in Matlab.

42 ENGINEERING↗

Computed tomography-based texture analysis of bladder cancer: differentiating urothelial carcinoma from micropapillary carcinoma

Purpose: The purpose of the study is to determine the feasibility of using computed tomography-based texture analysis (CTTA) in differentiating between urothelial carcinomas (UC) of the bladder from micropapillary carcinomas (MPC) of the bladder. Methods: Regions of interests (ROIs) of computerized tomography (CT) images of 33 MPCs and 33 UCs were manually segmented and saved. Custom MATLAB code was used to extract voxel information corresponding to the ROI. The segmented tumors were input to a pre-existing radiomics platform with a CTTA panel. A total of 58 texture metrics were extracted using four different texture extraction techniques and statistically analyzed using a Wilcoxon rank-sum test to determine the differences between UCs and MPCs. Results: Of the 58 texture metrics extracted using the gray level co-occurrence matrix (GLCM) and gray level difference matrix (GLDM), 28 texture metrics were statistically significant (p < 0.05) for differences in tumor textures and 27 texture metrics were statistically significant (p < 0.05) for peritumoral fat textures. The remaining nine metrics extracted using histogram and fast Fourier transform analyses did not show significant differences between the textures of the tumors and their peritumoral fat. Conclusions: CTTA shows that MPC have a more heterogeneous texture compared to UC. As visual discrimination of MPC from UC from clinical CT scans are difficult, results from this study suggest that tumor heterogeneity extracted using GLCM and GLDM may be a good imaging aid in segregating MPC from UC. This tool can aid clinicians in further sub-classifying bladder cancers on routine imaging, a process which has potential to alter treatment and patient care.

62 RADIOLOGY AND NUCLEAR MEDICINE↗