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 1,099 records · Page 61

Development and Validation of a Simulation Testbed for the Intelligent Building Agents Laboratory (IBAL) Using TRNSYS

This paper documents the development and validation of a dynamic primary cooling and thermal storage system simulation testbed. The system simulation testbed, sIBAL, is based on the Intelligent Building Agents Laboratory (IBAL) at the National Institute of Standards and Technology (NIST), which is a research infrastructure and testbed for the development, evaluation, and demonstration of intelligent control algorithms. The sIBAL testbed developed in this project will serve as a virtual twin of the real facility for future control algorithm development. The details of the methodologies used to develop and validate the simulation testbed, which replicates the dynamic behaviors of the primary cooling and ice storage system in the IBAL facility, are presented. The simulation testbed was developed in TRNSYS using built-in component models and MATLAB functions to replicate the two water-cooled chillers, a thermal storage tank, pumps, valves and other components for four different operation modes. Experiments on IBAL components were designed and executed to generate experimental data for model development and verification of the simulation platform. The validation of the simulation results was carried out in two phases: 1) independent component simulations for the chillers and thermal storage tank, and 2) a combined testbed simulation of the entire hydronic system. Comparison of simulation results to the experimental data obtained from the IBAL facility showed errors within 1 °C for the temperatures outputs of both the chiller and the thermal storage model. The error is within an acceptable range for further intelligent control algorithms development. The findings from the study are summarized and presented along with areas where additional research is needed. In addition, data filtering procedures and model refinement measures utilized to improve the accuracy and accelerate the computation time of the simulation are presented.

cooling systems↗

SorpPropLib : An Open-Source Database for Sorption Equilibrium Properties

Hundreds of sorption working pair equilibrium measurements have been reported in the literature, and many experimental results have been fitted to equilibrium equations. However, an open database does not exist for the equilibrium equations. Therefore, this work compiled 438 published equilibrium equations of sorption working pairs into an open-source database called SorpPropLib. SorpPropLib is accessible from six programming environments commonly used in sorption cycle simulation (C++, Excel®, Python®, Matlab®, Modelica® and Lab-VIEW™). Plotting capabilities allow fast cycle visualization in each programming environment. Thereby, the open-source database SorpPropLib aims to enable and encourage easy data sharing to advance sorption research.

Engelpracht, Mirko↗

AXEAP (ARGONNE X-RAY EMISSION PACKAGE)

Argonne X-ray Emission Package (AXEAP), a singular purpose software package for processing X-ray emission (XES) images collected with a 2-dimensional position sensitive pixel array detector, has been developed. AXEAP can rapidly convert XES image files into a spectral form by applying parallel computation and unsupervised machine learning to compute vast amount of image data. Special focus has been placed on designing user-friendly-interface for processing multiple edges, non-resonant and resonant x-ray emission image analysis, in order to make data processing quick and easy. AXEAP is free software and is written in MATLAB, armed with powerful libraries and toolboxes. The software runs on all common operating systems such as Linux, Window, and Mac.

SUN, CHENGJUN↗

The Marine and Hydrokinetic ToolKit for Data Quality Control and Analysis: Preprint

The ability to handle data is critical at all stages of marine energy (ME) development. The marine hydrokinetic toolkit (MHKiT) is an open-source marine energy software, which includes modules for ingesting, applying quality control, processing, visualizing, and managing data. MHKiT-Python and MHKiT-MATLAB provide robust and verified functions that are needed by the ME community to standardize data processing. Calculations and visualizations adhere to International Electrotechnical Commission (IEC) technical specifications and other guidelines. A resource assessment of NDBC buoy 46050 near PACWAVE is performed using MHKiT and discusses comparisons to the resource assessment provided performed by Dunkel et al.

marine energy↗

Blockchain-Enabled Cyber-Secure Microgrid Control Using Consensus Algorithm: Preprint

This paper proposes a distributed control method based on a consensus algorithm for distributed energy resources (DERs) using blockchain as a secure communication medium for cyber resilience. Each DER communicates with a local blockchain server that is maintained by the distributed ledger technology to allow for securely sharing local measurements among neighboring assets to achieve the global control objectives, i.e., voltage and frequency regulation as well as accurate power sharing among the DERs, including collective grid-forming capability. To prove that the distributed control can retain system stability under a blockchain-induced variable communication delay, Lyapunov function-based stability analysis is carried out. This paper demonstrates the concept on an 11-bus test case developed in MATLAB Simulink, which has been modified from the IEEE 9-bus test case, to study dynamic operations of the five inverter-based DERs working with a blockchain-induced variable delay. The results validate the superior performance of the proposed control method, compared to heavily compromised operations of the other test cases without the security measure, affected by heavy communication delays and communication interruptions.

blockchain↗

The Marine and Hydrokinetic Toolkit (Mhkit) for Data Quality Control and Analysis

The ability to handle data is critical at all stages of marine energy (ME) development. The marine hydrokinetic toolkit (MHKiT) is an open-source marine energy software, which includes modules for ingesting, applying quality control, processing, visualizing, and managing data. MHKiT-Python and MHKiT-MATLAB provide robust and verified functions that are needed by the ME community to standardize data processing. Calculations and visualizations adhere to International Electrotechnical Commission (IEC) technical specifications and other guidelines. A resource assessment of NDBC buoy 46050 near PACWAVE is performed using MHKiT and discusses comparisons to the resource assessment provided performed by Dunkel et al.

marine energy↗

Geothermal play-fairway analysis of Washington State prospects

Herein, analysis of existing geologic, geophysical, and geochemical data revealed areas with elevated heat and permeability, defining three promising plays along the central axis of the magmatic arc of Washington State: Mount St. Helens, Wind River valley, and the southeast flank of Mount Baker. These areas are geothermal ‘fairways’, or locations with high geothermal resource potential based on modeling. This project applies innovative data analyses (Poly3D) in conjunction with methods proven in previous geothermal favorability studies (ArcGIS and MATLAB) to extract new value from existing public data. Heat and permeability potential models for each play are weighted using the Analytical Hierarchy Process, and combined to map geothermal resource potential and locations for further data collection at each site. Heat potential is based on: (1) temperature gradients, (2) volcanic vents, (3) Quaternary intrusive rocks, (4) spring temperature, and (5) spring geothermometry. Permeability potential is based on: (1) slip and (2) dilation tendency on mapped and seismic faults (3) maximum shear strain rate, and (4) dilatational strain rate at the surface, (5) modeled fault displacement distribution, and (6) displacement gradient, (7) shear, and (8) tensile fracture density, and (9) local geology and geophysical data. This information is vital for revealing the small scale heat and permeability potential of each study area, locating areas of undiscovered or untapped resources, and reducing the risk and cost involved in greenfield exploration and development. Preliminary analysis of the three play areas shows promise for geothermal development. Uncertainty modeling is underway and the results will guide future exploration plans.

15 GEOTHERMAL ENERGY↗

Analysis of Inter Converter Interactions using Harmonic State Space Modeling

Power converters have become a key participant within the modern grid, facilitating the grid's interaction with renewable energy sources and various loads, among others. These converters can also interact with each other, creating harmonics that were previously absent in the grid. While some previous research studies have focused on inter-converter interactions, not much focus has been on the role of pulse width modulators in these inter-converter interactions. This paper focuses on the issue and builds upon harmonic state-space modeling (HSS) to observe inter-converter harmonic interactions. A new modulator model is developed, and its implementation within HSS modeling to observe harmonic coupling between multiple inverters is highlighted. A simulation testbench is developed, and to verify the advantages and limitations of the proposed modeling approach, it is compared with two other traditional modeling methods: namely, average and switching models. The proposed method is shown to be significantly more accurate and informative than conventional average modeling methods and has considerably lower computation costs and simulation time than detailed switching models. The results are verified using extensive simulations on MATLAB.

Xue, Yaosuo↗

DEFECT DETECTION USING DYNAMIC ANALYSIS FOR ADDITIVE MANUFACTURED METALS

Additive manufacturing (AM) has the ability to produce parts with complex geometries and internal features, however, for demanding applications such as the automotive and aerospace industries, it is crucial that the parts can meet the demanding functional and geometric requirements. Quality control for AM parts focuses on nondestructive methods of testing, but many of the current methods are expensive and time-consuming. The research presented in this report explores various methods of nondestructive evaluation (NDE) using dynamic analysis on stainless steel parts produced with selective laser melting (SLM). Methods include, but are not limited to, frequency response functions (FRF), impedance-based measurements, and scanning laser doppler vibrometry. Additionally, mode shape analysis was performed in MATLAB and FEA simulations were used for comparison with experimental results. The results indicate that dynamic analysis has the potential to be a feasible method of defect detection and NDE in AM parts and future work should focus on refining these methods, such as optimizing test parameters to improve sensitivity to defects.

Deonarain, Gita↗

Recent Developments in the WEC-Sim Open-Source Design Tool: Preprint

WEC-Sim (Wave Energy Converter SIMulator) is an open-source code for simulating wave energy converters, which has been actively developed and applied to simulate a wide variety of device archetypes and has become a popular tool since its initial release in 2014. WEC-Sim is developed jointly by the National Renewable Energy Laboratory (NREL) and Sandia National Laboratories (SNL) within the MATLAB/SIMULINK environment. Figure 1 illustrates a general wave-to-wire model which begins with a deployment site resource characterization, which is used to complete the hydrodynamic simulation of a single WEC (or array), with the power generation profile imported to a grid simulator to understand the influence on the local electrical network. While modelling the entire wave-to-wire is difficult and encompass multiple time scales and physics, WEC-Sim is focused on the hydrodynamics simulation to predict, analyze and optimize WEC dynamics and power performance. WEC-Sim simulations are performed in the time domain based on the radiation and diffraction method using hydrodynamics coefficients derived from boundary element method (BEM) based-frequency-domain potential flow solvers (e.g., WAMIT, NEMOH, Capytaine, or ANSYS-AQWA). Within this level of modeling fidelity, WEC-Sim can handle floating body hydrodynamics, mechanical and electrical power generation methods, advanced control implementation, mooring systems, and other unique applications such as desalination. Table 1 lists additional WEC-Sim functionalities, which are created using prebuilt Simulink blocks and MATLAB scripts that can simulate a wide range of floating systems and the corresponding auxiliary subsystems.

hydrodynamics modeling↗

MATBOX, an Open-Source Microstructure Analysis Toolbox for Meshing, Generation, Segmentation, and Characterization of 3D Heterogenous Volumes

Battery performance is strongly correlated with electrode microstructural properties. To account for its impact, lithium-ion battery (LIB) models either abstract the microstructural heterogeneity of composite electrodes using effective macroscopic properties (macro- or meso- scale models) or directly solve the system of equations on the microstructure geometry or mesh (microstructure-scale models). Therefore, to be adequate, both families of models require information from the microstructure geometry, which can be provided by the numerical tool presented in this work. MATBOX is a MATLAB open-source application [1] developed by NREL for performing various microstructure-related tasks including microstructure numerical generation, image filtering and microstructure segmentation, microstructure characterization and correlation, visualization, and microstructure meshing. MATBOX was originally developed for the analysis of LIB electrode microstructures; however, the algorithms provided by the toolbox are widely applicable to other heterogeneous materials. The toolbox provides a user-friendly experience thanks to a Graphical-User Interface, requires no coding by the user, and is well documented. This presentation will illustrate various MATBOX features for the characterization of a LIB electrode, including a fully automated Representative Volume Element (RVE) analysis, the numerical generation of complex 'virtual' microstructure, including dual-layer electrodes and carbon-binder additive phase, and the meshing of a complex NMC/graphite full cell microstructure suitable for 3D finite-element modeling. Other modules (segmentation, visualization, and correlation) will be briefly presented. Thanks to its modular, open-source approach, MATBOX can easily incorporate third-party algorithms to eventually build a standard in the field that will benefit the whole scientific community. Effective diffusion coefficient [2], additive phase numerical generation [3], and meshing [4] third-party algorithms have been already integrated in the toolbox with more to come.

DIRECT ENERGY CONVERSION,MATHEMATICS AND COMPUTING↗

New Developments and Capabilities Within WEC-Sim: Preprint

WEC-Sim is an open-source software for simulating wave energy converters, which has been actively developed and applied since its initial release in 2014 to simulate a wide variety of device archetypes. WEC-Sim is developed jointly by the National Renewable Energy Laboratory (NREL) and Sandia National Laboratories (Sandia) within the MATLAB/SIMULINK environment. A general wave-to-wire model begins with a deployment site resource characterization, which is used to complete the hydrodynamic simulation of wave energy converters (WEC), with the power generation profile imported to a grid simulator to understand the influence on the local electrical network. While modeling the entire wave-to-wire is difficult and encompasses multiple time scales and physics, WEC-Sim is focused on the hydrodynamics simulation to predict, analyze, and optimize WEC dynamics and power performance. WEC-Sim simulations are performed in the time domain based on the radiation and diffraction method using hydrodynamics coefficients derived from boundary element method (BEM)-based frequency-domain potential flow solvers (e.g., WAMIT, NEMOH, Capytaine, or ANSYS-AQWA). With this level of modeling fidelity, WEC-Sim can handle floating body hydrodynamics, mechanical and electrical power generation methods, advanced control implementation, mooring systems, and other unique applications such as desalination. Additional WEC-Sim functionalities include pre-built Simulink blocks and MATLAB scripts that can simulate a wide range of floating systems and the corresponding auxiliary subsystems. The developers of WEC-Sim continue to release new versions of the software, at least annually, with our latest release in September 2022. These releases include bug fixes, updates to software documentation, as well as new features to expand WEC-Sim's capabilities to model a wide range of WEC concepts. This publication will highlight the new features added to WEC-Sim between versions 4.1.0 to 5.0.1 which spans over a two year period from June 2020 to September 2022. New features to be described will include topics such as continuous integration checks, revised Morison Element and nonlinear hydro implementations, run directly from Simulink (required for hardware-in-the-loop execution), BEMIO updates to import Capytaine BEM hydrodynamics, addition of cable blocks, and new wave visualization features.

TIDAL AND WAVE POWER↗

Assessment of the Phase-to-Ground Fault Apparent Admittance Method with Phase/Ground Boundaries to Detect Types of Electrical Faults for Protective Relays Using Signature Library and Simulated Events

Protective relays in electric power grids recognize the types of electrical faults in a few seconds. The most common detection method to detect the types of electrical faults is based on measuring the angle between the zero and negative sequence currents. However, it is not completely accurate because the phase to phase ground and phase to ground electrical faults could have the same detection conditions. Therefore, engineers need to plot the events after an electrical fault to observe the nature of the incidents in detail. In this study, the phase to ground fault apparent (PGFA) admittance method with phase/ground boundaries identified the types of electrical faults located in distribution power lines and feeders. This method was based on measuring the PGFA admittance magnitudes for the faulted and non-faulted phases, resulting in greater than zero and near zero, respectively. The PGFA admittance algorithm was built with MATLAB/ Simulink software and tested with signature library and grid simulation events. The PGFA method with phase/ground boundaries was evaluated with the confusion matrix. The measured and predicted values matched in more than 90% of the tests, and the PGFA admittance method with phase/ground boundaries presented an accuracy of 94.3% and a precision of 100%.

Piesciorovsky, Emilio↗

A Simulation of the Photoionization of H- Together with the Subsequent Tracking of the Liberated Electrons

The Proton Improvement Plan - II (PIP-II) is a new linear accelerator (LINAC) complex being built at Fermilab. It is based on superconducting radiofrequency cavities and will accelerate H- ions to 800 MeV kinetic energy before injection into the existing Booster ring. Measurements of the profile of the beam along the LINAC must be done by non-intercepting methods due to the superconducting cavities. The method chosen is photoionization of a small number of H- by a focused infrared laser, aka laserwire. The number of ionized electrons is measured as a function of laser position within the H- beam. To aid in the design of the collection mechanism, a simulation was written in MATLAB with input from the commercial electromagnetic simulation, CST. This simulation calculates the number and positions of the liberated electrons and tracks them through the magnetic collection and H- beam fields to the collection point. Results from this simulation for various points along the LINAC will be shown.

43 PARTICLE ACCELERATORS↗

Computation of neutron fluxes in clusters of fuel pins arranged in hexagonal assemblies (2D and 3D)

For computations of fluxes, we have used Carvik's method of collision probabilities. This method requires tracking algorithms. An algorithm to compute tracks (in 2D and 3D) has been developed for seven hexagonal geometries with cluster of fuel pins. This has been implemented in the NXT module of the code DRAGON. The flux distribution in cluster of pins has been computed by using this code. For testing the results, they are compared when possible with the EXCELT module of the code DRAGON. Tracks are plotted in the NXT module by using MATLAB, these plots are also presented here. Results are presented with increasing number of lines to show the convergence of these results. We have numerically computed volumes, surface areas and the percentage errors in these computations. These results show that 2D results converge faster than 3D results. The accuracy on the computation of fluxes up to second decimal is achieved with fewer lines. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Spectroscopic and physicochemical measurements for on-line monitoring of used nuclear fuel separation processes

Separation processes for used nuclear fuel are often complicated and challenging due to the high constraints in purity of the products and safeguards of the process streams. In order to achieve a safe, secure and efficient separation process, the liquid streams in the separation process require close monitoring. Due to the high radiation environment, sampling of the materials is difficult. Availability of a detection technique that is remote, non-destructive and can avoid time-delay caused by retrieving samples would be beneficial and could minimize the exposure to personnel and provide material accountancy to avoid diversion (non-proliferation). For example, Ultra Violet (UV), Visible (Vis), Near-Infrared (NIR) and Raman spectroscopy that detect and quantify elements present in used nuclear fuel, e.g. lanthanides, actinides and molecules such as nitrate, can be used. In this work, we have carried out NIR and Raman spectroscopy to study aqueous solutions composed of different concentrations of nitric acid, sodium nitrate, and neodymium at varied temperatures. A chemometric model for online monitoring based on the PLS-Toolbox (MATLAB) software has been developed and validated to provide chemical composition of process streams based on spectroscopic data. In conclusion, both of our NIR and Raman spectra were useful for H{sup +} and NO{sub 3} prediction, and only NIR was helpful for the Nd{sup 3+} prediction.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

{sup 6}LiF:ZnS(Ag) Neutrons Scintillator Detector Configuration for Optimal Readout

A Chromatic Analysis Neutron Diffractometer Or Reflectometer (CANDOR) is under development at the NIST Center for Neutron Research (NCNR). The CANDOR neutron sensor will rely on scintillator material for detecting the neutrons scattered by the sample under test. It consists of {sup 6}LiF:ZnS(Ag) scintillator material into which wavelength shifting (WLS) fibers have been embedded. Solid state photo-sensors (silicon photomultipliers) coupled to the WLS fibers are used to detect the light produced by the neutron capture event ({sup 6}Li (n,α) {sup 3}H reaction) and ionization of the ZnS(Ag). This detector configuration has the potential to accomplish the CANDOR performance requirements for efficiency of 90% for 5 A (3.35 meV) neutrons with high gamma rejection (10{sup 7}) along with compact design, affordable cost and materials availability. However this novel design includes challenges for precise neutron detection. The recognizing of the neutron signature versus the noise event produce by gamma event cannot be easy overcome by pulse height discrimination obstacle as can be achieved with {sup 3}He gas tube. Furthermore the selection of silicon photomultipliers (SiPM) as the light sensor maintains the obstacle of dark noise that does not exist when a photomultiplier tube is coupled to the scintillator. A proper selection of SiPM should focus on increasing the output signal and reducing the dark noise in order to optimize the detection sensitivity and to provide a clean signal pulse shape discrimination. The main parameters for evaluation are: - Quantum Efficiency (QE) - matching the SiPM peak QE with the peak transmission wavelength emission of the WLS. - Recovery time - a short recovery time is preferred to minimize the pulse width beyond the intrinsic decay time of the scintillator crystal (improves the gamma rejection based output pulse shape (time)). - Diode dimensions -The dark noise is proportional to the diode active area while the signal is provided by the WLS fibers; therefore the diode area should ideally be only minimally larger than fiber bundle area. - Low dark noise - it is desirable to minimize the dark noise during the pulse integration period so as to minimize the background for pulse shape discrimination. - Photon Detection Efficiency - it is desirable to increase the SiPM PDE in order to enhance light collection. This will increase the likelihood of detecting neutron events with lower light production and will present a cleaner raw signal for pulse shape discrimination. We will present the SiPM optimization process and studies of dark noise and gamma and neutron sensitivity as a function of bias voltage and operating temperature that have enabled us to optimize the detector sensitivity and gamma rejection. The gamma rejection performance goal requires to overcome the challenge of discriminating between the light signature accepted by neutron event to the one received by the noise. In addition there is a huge variation between the number of light photons that reaching the WLS fibers for different neutron events caused by the heavy ions energy losses prior to ionizing the ZnS(Ag) and the high light attenuation of the scintillation mixture. This variation in the light signal along with the long decay time of the ZnS(Ag) (tens of microseconds) can cause double counting of the same neutron event in the case of high light output signature or preventing the detection of low sequential light output signature neutron event. We will presents the algorithm developed for {sup 6}LiF:ZnS(Ag) sensor readout and the results achieved by an off-line analysis by Matlab software code that successfully achieved both the high gamma rejection with a sensitive and accurate neutron event detection. (authors)

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Advanced Features and Recent Developments in the WEC-Sim Open-Source Design Tool: Preprint

WEC-Sim is an open-source tool developed in Matlab/Simulink to simulate wave energy converters. WEC-Sim has been developed jointly by the National Renewable Energy Laboratory (NREL) and Sandia National Laboratories (SNL) since its initial release in 2014. WEC-Sim simulations are performed in the time domain based on the radiation and diffraction method using hydrodynamics coefficients derived from boundary element method (BEM)-based frequency-domain potential flow solvers (e.g., WAMIT, NEMOH, Capytaine, or ANSYS-AQWA). Within this level of modeling fidelity, WEC-Sim can handle floating body hydrodynamics, mechanical and electrical power generation methods, advanced control implementation, mooring systems, and other unique applications such as desalination. WEC-Sim functionalities are developed using Simulink blocks and Matlab functions. WEC-Sim is capabilities include simulation of different wave conditions, constraints and PTOs, body dynamics, mooring systems, among other advanced features such as nonlinear hydrodynamics, nonlinear PTOs, body-to-body interactions, etc.

hydrodynamics modeling↗