Search NASA⌕ Search

SEARCH · Search NASA

Results for “C Code”

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,711 records · Page 95

Effects of Acute Exposures to Carbon Dioxide upon Cognitive Functions

Carbon dioxide (CO2) originates from human metabolism and typically remains about 10-fold higher in concentration on the International Space Station (ISS) than at the earth's surface. There have been recurring complaints by crew members of episodes of "mental viscosity" adversely affecting their performance, and there is evidence from the ISS that associates CO2 levels with reports of headaches by crewmembers. Consequently, flight rules have been employed to control CO2 below 3 mm Hg, which is well below the existing Spacecraft Maximum Allowable Concentration (SMAC) of 10 mm Hg for 24-hour exposures, and 5.3 mm Hg for exposures of 7 to 180 days. Headaches, while sometime debilitating themselves, are also symptoms that can provide evidence that physiological defense mechanisms have been breached, and there is evidence that CO2 has effects at levels below the threshold for headaches. This concern appears to be substantiated in reports that CO2 at concentrations below 2 mm Hg substantially reduced some cognitive functions that are associated with the ability to make complex decisions in conditions that are characterized by volatility, uncertainty, complexity, ambiguity, and delayed feedback. These are conditions that could be encountered by crews in off-nominal situations or during the first missions beyond low earth orbit. Therefore, we set out to determine if decision-making under volatile, uncertain, confusing and ambiguous circumstances, where feedback is delayed or absent, is correlated with low levels of CO2 during acute exposures (several hours) in crew-like subjects and to determine if additional cognitive domains are sensitive to concentrations of CO2 at, or below, current ISS levels by using a test battery that is currently available onboard ISS. We enrolled 22 volunteers (8 females, 14 males) between the ages of 30-55 (38.8 +/- 7.0) years whose training and professional experience reflect that of the astronaut corps. Subjects were divided among 4 study groups. Exposures occurred in the 20-foot environmental chamber in Bldg 7 at JSC. Each group was exposed to each of four concentrations of CO2 (600, 1200, 2500, and 5000 ppm), and the exposure order was balanced across the groups which were randomly assigned to 4 possible complete exposure orders. Study participants and investigators were blinded to the exposure order. Each exposure lasted 4 hours and occurred on the same day each week for 4 consecutive weeks. Testing included the Strategic Management Simulation (SMS) methodology and the Cognition battery of psychometric measures that are being utilized aboard the ISS. Subjects participated in a familiarization session one week prior to the start of exposure sessions. Each exposure session followed the schedule noted in Figure 1 below. On the morning of each exposure, subjects completed the Cognition battery in a conference room at indoor ambient CO2 levels. Subjects then entered the exposure chamber and were acclimated to the environment for 15 minutes before completing another round of the Cognition battery. After a 20 minute rest, subject completed the approx.80 minute SMS. Subjects were allowed another 20 minute rest period before completing the final Cognition test battery in the exposure chamber. Subjects then returned to the conference room where they completed one final round of Cognition. Data from both testing methodologies are currently being analyzed and will be presented. Study investigators have not yet been unblinded to the coded exposure concentrations, but preliminary results suggest differences.

Ryder, V. E.↗

Modeling Mg II During Solar Flares. I. Partial Frequency Redistribution, Opacity, and Coronal Irradiation

The Interface Region Imaging Spectrograph has routinely observed the flaring Mg II near-ultraviolet (NUV) spectrum, offering excellent diagnostic potential and a window into the location of energy deposition. A number of studies have forward-modeled both the general properties of these lines and specific flare observations. Generally these have forward-modeled radiation via post-processing of snapshots from hydrodynamic flare simulations through radiation transfer codes. There has, however, not been a study of how the physics included in these radiation transport codes affects the solution. A baseline setup for forward-modeling Mg II in flares is presented and contrasted with approaches that add or remove complexity. It is shown for Mg II that (1) partial frequency distribution (PRD) is still required during flare simulations despite the increased densities; (2) using full angle-dependent PRD affects the solution but takes significantly longer to process a snapshot; (3) including Mg I in non-LTE (NLTE) results in negligible differences to the Mg II lines but does affect the NUV quasi-continuum; (4) only hydrogen and Mg II need to be included in NLTE; (5) ideally the nonequilibrium hydrogen populations, with nonthermal collisional rates, should be used rather than the statistical equilibrium populations; (6) an atom consisting of only the ground state, h and k upper levels, and continuum level is insufficient to model the resonance lines; and (7) irradiation from a hot, dense flaring transition region can affect the formation of Mg II. We discuss modifications to the RH code allowing straightforward inclusion of the transition region and coronal irradiation in flares.

Kerr, Graham S.↗

Numerical Results for Polarized Light Scattering in a Spherical Atmosphere

We report numerical results for polarized light reflection from the top of a Rayleigh scattering spherical atmosphere with height-dependent single scattering albedo over a dark surface. Michael Mishchenko considered this scenario back in the 1990’s, for a plane-parallel atmosphere of unit optical thickness (OT), for which radiance errors arising from neglecting polarization reaches their highest values. To further extend Mishchenko’s results, we consider a value of OT = 0.25, for which the effect of atmospheric curvature is pronounced. New results are generated using three state-of-the art radiative transfer (RT) codes. These are: the MYSTIC and MCSSA models, which simulate light scattering in a true- spherical atmosphere using Monte Carlo methods; and the discrete ordinate code VLIDORT, operating with a new multiple-scatter spherical correction designed to deliver reasonable approximations to spherical-medium scattering. In this work, we report results for both single and multiple scattering; this will help to support the validation of existing and future polarized spherical RT codes, especially those using approximative methods to deal with sphericity.

S Korkin↗

CAN-D: Controller Area Network Decoder Codebase

CAN-D codebase takes as input a set of collected CAN data logs from a vehicle, and produces a .dbc with partial or full signal definitions. Once this .dbc file is produced it can be used to translate subsequent messages from that vehicle in real time or post-drive processing. code also provides methods for many visualizations and operations on the translated data.

Verma, Kiren E↗

Assessment of UTP A 2133 Mn as a Matching Filler Metal for Alloy 800H in Section III, Division 5 Applications

Six alloys are qualified in the American Society of Mechanical Engineers (ASME) Boiler and Pressure Vessel Code (BPVC) for elevated-temperature nuclear components. Due to reactor design alloy restrictions and motivation to improve operational efficiency and plant lifetimes, it is necessary to maximize the usefulness of qualified alloys. One of these alloys is Alloy 800H, which is qualified for a maximum temperature of 760°C and a maximum 300,000-hour service life. However, the welding filler metals qualified to join Alloy 800H have stress rupture factors that reduce the allowable weldment strength by factors as low as 0.59 times the Alloy 800H base metal. In an effort to improve the weldment creep-rupture performance, or to increase the stress reduction factor, non-code qualified filler metals are under investigation by the Department of Energy?s Advanced Reactor Technologies program. For this investigation, UTP A 2133 Mn filler metal (Fe-Cr-Ni-Mn-Nb) was used to join 0.5 in. thick Alloy 800H plate to demonstrate passing an ASME BPVC Section IX weld qualification. The multi-pass, pulsed GTAW process showed successful weld qualification results, and additional property measurements were conducted to compare previous analyses of Alloy 82 and Alloy 617 filler metals. Future work will evaluate the cross-weld creep-rupture performance of the UTP A 2133 Mn in comparison to Alloy 82 and Alloy 617 filler metals.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Percolation technique for galaxy clustering

We study percolation in mass and galaxy distributions obtained in 3D simulations of the CDM, C + HDM, and the power law (n = -1) models in the Omega = 1 universe. Percolation statistics is used here as a quantitative measure of the degree to which a mass or galaxy distribution is of a filamentary or cellular type. The very fast code used calculates the statistics of clusters along with the direct detection of percolation. We found that the two parameters mu(infinity), characterizing the size of the largest cluster, and mu-squared, characterizing the weighted mean size of all clusters excluding the largest one, are extremely useful for evaluating the percolation threshold. An advantage of using these parameters is their low sensitivity to boundary effects. We show that both the CDM and the C + HDM models are extremely filamentary both in mass and galaxy distribution. The percolation thresholds for the mass distributions are determined.

Klypin, Anatoly↗

Open Data, Models, and Codes for Vanadium Redox Batch Cell Systems: A Systems Approach Using Zero-Dimensional Models

Abstract In this paper, we study, analyze, and validate some important zero-dimensional physics-based models for vanadium redox batch cell (VRBC) systems and formulate an adequate physics-based model that can predict the battery performance accurately. In the model formulation process, a systems approach to multiple parameters estimation has been conducted using VRBC systems at low C-rates (~C/30). In this batch cell system, the effect of ions' crossover through the membrane is dominant, and therefore, the capacity loss phenomena can be explicitly observed. Paradoxically, this means that using the batch system might be a better approach for identifying a more suitable model describing the effect of ions transport. Next, we propose an efficient systems approach, which enables to help understand the battery performance quickly by estimating all parameters of the battery system. Finally, open source codes, executable files, and experimental data are provided to enable people's access to robust and accurate models and optimizers. In battery simulations, different models and optimizers describing the same systems produce different values of the estimated parameters. Providing an open access platform can accelerate the process to arrive at robust models and optimizers by continuous modification from the users' side.

25 ENERGY STORAGE↗

Implementation of a Model Predictive Control Strategy to Regulate Temperature Inside Plug-Flow Solar Reactor With Countercurrent Flow

Abstract Solar-driven thermochemical energy storage systems are proven to be promising energy carriers (solar fuels) to utilize solar energy by using reactive solid-state pellets. However, the production of solar fuel requires a quasi-steady-state process temperature, which represents the main challenge due to the transient nature of solar power. In this work, an adaptive model predictive controller (MPC) is presented to regulate the temperature inside a tubular solar reactor to produce solid-state solar fuel for long-term thermal storage systems. The solar reactor system consists of a vertical tube heated circumferentially over a segment of its length by concentrated solar power, and the reactive pellets (MgMn2O4) are fed from the top end and flow downwards through the heated tube. A countercurrent flowing gas supplied from the lower end interacts with flowing pellets to reduce it thermochemically at a temperature range of 1000—1500 °C. A low-order physical model was developed to simulate the dynamics of the solar reactor including the reaction kinetics, and the proposed model was validated numerically by using a 7-kW electric furnace. The numerical model then was utilized to design the MPC controller, where the control system consists of an MPC code linked to an adaptive system identification code that updates system parameters online to ensure system robustness against external disturbances (sudden change in the flow inside the reactor), model mismatches, and uncertainty. The MPC controller parameters are tuned to enhance the system performance with minimum steady-state error and overshoot. The controller is tested to track different temperature ranges between 500 °C and 1400 °C with different particles/gas mass flowrates and ramping temperature profiles. Results show that the MPC controller successfully regulated the reactor temperature within ± 1 °C of its setpoint and maintained robust performance with minimum input effort when subjected to sudden changes in the amount of flowing media and the presence of chemical reaction.

Engineering↗

Four-dimensional modulation and coding: An alternate to frequency-reuse

Four dimensional modulation as a means of improving communication efficiency on the band-limited Gaussian channel, with the four dimensions of signal space constituted by phase orthogonal carriers (cos omega sub c t and sin omega sub c t) simultaneously on space orthogonal electromagnetic waves are discussed. "Frequency reuse' techniques use such polarization orthogonality to reuse the same frequency slot, but the modulation is not treated as four dimensional, rather a product of two-d modulations, e.g., QPSK. It is well known that, higher dimensionality signalling affords possible improvements in the power bandwidth sense. Four-D modulations based upon subsets of lattice-packings in four-D, which afford simplification of encoding and decoding are described. Sets of up to 1024 signals are constructed in four-D, providing a (Nyquist) spectral efficiency of up to 10 bps/Hz. Energy gains over the reuse technique are in the one to three dB range t equal bandwidth.

Wilson, S. G.↗

Four-dimensional modulation and coding - An alternate to frequency-reuse

Four dimensional modulation as a means of improving communication efficiency on the band-limited Gaussian channel, with the four dimensions of signal space constituted by phase orthogonal carriers (cos omega sub c t and sin omega sub c t) simultaneously on space orthogonal electromagnetic waves are discussed. 'Frequency reuse' techniques use such polarization orthogonality to reuse the same frequency slot, but the modulation is not treated as four dimensional, rather a product of two-D modulations, e.g., QPSK. It is well known that, higher dimensionality signalling affords possible improvements in the power bandwidth sense. Four-D modulations based upon subsets of lattice-packings in four-D, which afford simplification of encoding and decoding are described. Sets of up to 1024 signals are constructed in four-D, providing a (Nyquist) spectral efficiency of up to 10 bps/Hz. Energy gains over the reuse technique are in the one to three dB range t equal bandwidth.

Wilson, S. G.↗

Tritium Recycling from Depleted Uranium Beds - 18098

Nuclear Sources and Services Inc. (NSSI) in Houston Texas houses a unique infrastructure to recover and recycle tritium from a variety of different waste streams. NSSI is licensed to operate within a 2-gram tritium inventory limit and accepts gaseous, aqueous, and tritiated-solid feedstock as sources for tritium recovery. For example, titanium-tritide foils from spent neutron generator sources are de-tritiated at 1000 deg. C in a high temperature desorption facility. Tritiated water is concentrated in a Combined Electrolysis Catalytic Exchange (CECE) system before the gas is transferred to a hydrogen isotope separator for tritium recovery. Mixed-waste liquids containing tritium and carbon-14 isotopes, typically generated in the pharmaceutical industry, are converted to tritiated water, CaC14O3, and inactive gaseous effluents using a high-temperature, two-stage, catalytic-oxidation destruction process with 99.9999% efficiency. [1-4] Depleted uranium (DU) beds are unloaded of tritium and chemically de-activated with oxygen in the bed unloading station. Recently NSSI has worked with the EPA to receive and unload tritium from a number of legacy DU beds found at a super fund site. The DU beds were un-characterized and ranged from 10 to 30 years in age. The variety and size of the beds meant that measuring the quantity of tritium by calorimetry would be prohibitively expensive. Ground disposal was problematic due to the unknown tritium inventory in the beds and the pyrophoricity of the depleted uranium. NSSI was able to unload the tritium from a representative sample of two DU beds, collect and measure the total activity of the gas destined for recycling and remove the hazardous material codes of the DU by de-activating the bed with oxygen before disposing them as low active waste. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Tracking Active Phase Behavior on Boron Nitride during the Oxidative Dehydrogenation of Propane Using Operando X-ray Raman Spectroscopy

Hexagonal boron nitride (hBN) is a highly selective catalyst for the oxidative dehydrogenation of propane (ODHP) to propylene. Using a variety of ex situ characterization techniques, the activity of the catalyst has been attributed to the formation of an amorphous boron oxyhydroxide surface layer. The ODHP reaction mechanism proceeds via a combination of surface mediated and gas phase propagated radical reactions with the relative importance of both depending on the surface-to-void-volume ratio. Here we demonstrate the unique capability of operando X-ray Raman spectroscopy (XRS) to investigate the oxyfunctionalization of the catalyst under reaction conditions (1 mm outer diameter reactor, 500 to 550 °C, P = 30 kPa C 3 H 8 , 15 kPa O 2 , 56 kPa He). We probe the effect of a water cofeed on the surface of the activated catalyst and find that water removes boron oxyhydroxide from the surface, resulting in a lower reaction rate when the surface reaction dominates and an enhanced reaction rate when the gas phase contribution dominates. Computational description of the surface transformations at an atomic-level combined with high precision XRS spectra simulations with the OCEAN code rationalize the experimental observations. Finally, this work establishes XRS as a powerful technique for the investigation of light element-containing catalysts under working conditions.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

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.↗

Assessment of Aging Degradation Mechanisms of Alloy 709 for Sodium Fast Reactors

This project was initiated in October 2015 to investigate the creep and creep-fatigue behavior of Alloy 709 for structural components in Gen IV sodium cooled fast spectrum reactors. The goal of this project is to develop an understanding of the mechanisms responsible for the behavior of austenitic stainless steel alloy 709 under accelerated testing conditions to confidently predict long term creep and creep-fatigue behavior at the times (500,000 hours) and temperatures (550°C) of interest for fast reactor structural applications. Alloy 709 has exhibited significantly better creep resistance than Alloy 316H, which is currently specified in design of fast reactor structural components. However, the alloy has not been code qualified for elevated temperature nuclear design. The elevated temperature microstructure stability and creep and creep-fatigue behavior need to be better understood so service life can be accurately predicted. Alloy 709 was developed for fossil boiler applications, which operate at a higher temperature than the nuclear components. Thus, there is a strong need to characterize its creep and creep-fatigue behavior at these lower temperatures and corresponding longer service lifetimes. The overall objective of this project is to develop sufficient understanding of the mechanisms responsible for behavior of Alloy 709 under accelerated testing conditions to confidently predict long term creep and creep-fatigue behavior at the times (500,000 hours) and temperatures (550°C) of interest for fast reactor structural applications. The following report summarizes the findings of the creep-fatigue and creep behavior with respect to the research questions identified during the course of the project. Additionally, the training and professional development that occurred through the project and the products resulting from the project are summarized.

36 MATERIALS SCIENCE↗

Constraining Cometary Crystal Shapes from IR Spectral Features

A major challenge in deriving the silicate mineralogy of comets is ascertaining how the anisotropic nature of forsterite crystals affects the spectral features' wavelength, relative intensity, and asymmetry. Forsterite features are identified in cometary comae near 10, 11.05-11.2, 16, 19, 23.5, 27.5 and 33 microns [1-10], so accurate models for forsterite's absorption efficiency (Qabs) are a primary requirement to compute IR spectral energy distributions (SEDs, lambdaF lambda vs. lambda) and constrain the silicate mineralogy of comets. Forsterite is an anisotropic crystal, with three crystallographic axes with distinct indices of refraction for the a-, b-, and c-axis. The shape of a forsterite crystal significantly affects its spectral features [13-16]. We need models that account for crystal shape. The IR absorption efficiencies of forsterite are computed using the discrete dipole approximation (DDA) code DDSCAT [11,12]. Starting from a fiducial crystal shape of a cube, we systematically elongate/reduce one of the crystallographic axes. Also, we elongate/reduce one axis while the lengths of the other two axes are slightly asymmetric (0.8:1.2). The most significant grain shape characteristic that affects the crystalline spectral features is the relative lengths of the crystallographic axes. The second significant grain shape characteristic is breaking the symmetry of all three axes [17]. Synthetic spectral energy distributions using seven crystal shape classes [17] are fit to the observed SED of comet C/1995 O1 (Hale-Bopp). The Hale-Bopp crystalline residual better matches equant, b-platelets, c-platelets, and b-columns spectral shape classes, while a-platelets, a-columns and c-columns worsen the spectral fits. Forsterite condensation and partial evaporation experiments demonstrate that environmental temperature and grain shape are connected [18-20]. Thus, grain shape is a potential probe for protoplanetary disk temperatures where the cometary crystalline forsterite formed. The forsterite crystal shapes (equant, b-platelets, c-platelets, b-columns - excluding a- and c-columns) derived from our modeling [17] of comet Hale- Bopp, compared to laboratory synthesis experiments [18], suggests that these crystals are high temperature condensates. By observing and modeling the crystalline features in comet ISON, we may constrain forsterite crystal shape(s) and link to their formation temperature(s) and environment(s).

anisotropic crystal↗

Field-Programmable Gate Array Implementation of a Single Photon-Counting Receive Modem

We present a field-programmable gate array (FPGA) implementation of a single photon-counting receive modem for a pulse position modulated signal. The modem is compliant with the Consultative Committee for Space Data Systems (CCSDS) High Photon Efficiency (HPE) Optical Communications Coding and Synchronization standard and is capable of a maximum data rate of 267 Mbps. The system is designed on a commercial off-the-shelf FPGA platform and utilizes superconducting nanowire single photon counting detectors, analog to digital converters (ADC s) to sample the detectors, and two FPGAs. Symbol timing recovery, photon counting, convolutional deinterleaving, and codeword synchronization areis performed in the first FPGA. The second FPGA performs iterative decoding on each codeword of the serially concatenated pulse position modulated (SCPPM) signal. A digital filter is included to compensate for timing jitter of the detector, and the decoder throughput can be modified adjusted through reconfigurable parallelization. The decoder also implements a resource-efficient, algorithmic polynomial interleaver and deinterleaver. Both FPGAs can be reconfigured to switch between pulse position modulation (PPM)-16 and PPM-32 with code rates 1/3, 1/2, and 2/3. In this paper, we describe the receiver architecture and FPGA implementation of the timing recovery loop and SCPPM decoder, FPGA utilization for the different modes, and receive modem characterization test results.

Field-programmable Gate Array↗