Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Generation”

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 847 records · Page 47

Towards Realistic and High Fidelity Models for Nuclear Reactor Power Synthesis Simulation with Self-Powered Neutron Detectors

As presented in this report, a weighting function–based inferencing method is being applied to synthesize the power distribution in next-generation and university research reactors based on simulated self power neutron detector (SPND) responses. The overall goal is to assess the impacts of sensor uncertainty and true power distribution perturbations on the error in the synthesized power distribution. Regarding sensor uncertainty, the NuScale Small Modular Reactor (SMR) and the Westinghouse AP1000 serve as testbeds for analyzing the impact of varying the sensor uncertainty, as well as varying the number of sensors per sensor string in the reactor core. The reactor models are informed by Monte Carlo N-Particle (MCNP) neutron flux tallies. For the NuScale SMR and Westinghouse AP1000, the SPND response functions (i.e., the response of the SPNDs to individual segments of fuel) were determined homogeneously. Regarding an analysis of power distribution perturbation detection, the Texas A&M Testing, Research, Isotopes, General Atomics Reactor (TAMU TRIGA) reactor was used as a demonstration case with one particular arrangement of SPNDs; the response functions for this reactor model were determined heterogeneously, making this a uniquely high-fidelity demonstration of perturbation detection. Finally, SPND models generated in the Geometry and Tracking 4 (Geant4) code have been generated and tested for comparison with traditionally implemented analytical SPND models, with the intent for Geant4 integration with the full methodological framework. SPND current outputs as a function of distance from some fuel assembly segment in the NuScale SMR are compared with the analytically determined currents. Results from the sensor uncertainty simulations for the NuScale SMR and AP1000 indicate that the average error in the inferred power distribution on the fuel assembly segment level is reasonably low, being slightly less than the random uncertainty applied to all respective SPNDs in both cores. For example, if all SPNDs in the core have a random uncertainty of 5%, then the corresponding fuel assembly segment level error (i.e. difference between the true and inferred local power) is ~2–3%. However, the maximum error in the inferred power distribution on the fuel assembly segment level can be considerably high (>15%) when SPND random uncertainties start to exceed ~3%. In general, the average and maximum errors in the inferred power distribution were slightly higher in the AP1000 as opposed to the NuScale SMR for the sensor string configurations considered herein. Another result determined from analysis of the sensor uncertainty simulations was that increasing the number of SPNDs per string does not clearly reduce inferred power distribution error and can in fact make the error large in some cases; however, this assessment may skewed due to imposed iteration limits. Results from the perturbation detection demonstration using the high-fidelity TAMU TRIGA model indicate that, given the arrangement of 17 SPND strings and 4 SPNDs per string considered herein, there is a clear, provable ability to infer a localized Gaussian-type peak perturbation in the 3D power distribution. Such a perturbation was detected with an average fuel assembly segment level error of 0.19%, and the general visualization of the detected perturbation clearly indicates that the magnitude and shape were appropriately resolved. Finally, the electrical current output generated by the Geant4 modeled SPND indicates significant magnitude differences than the analytically modeled SPND, demonstrating the need for accurate SPND models which account for finite sensor geometry effects to inform the power synthesis work described herein.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

JPEG 2000 Encoding with Perceptual Distortion Control

An alternative approach has been devised for encoding image data in compliance with JPEG 2000, the most recent still-image data-compression standard of the Joint Photographic Experts Group. Heretofore, JPEG 2000 encoding has been implemented by several related schemes classified as rate-based distortion-minimization encoding. In each of these schemes, the end user specifies a desired bit rate and the encoding algorithm strives to attain that rate while minimizing a mean squared error (MSE). While rate-based distortion minimization is appropriate for transmitting data over a limited-bandwidth channel, it is not the best approach for applications in which the perceptual quality of reconstructed images is a major consideration. A better approach for such applications is the present alternative one, denoted perceptual distortion control, in which the encoding algorithm strives to compress data to the lowest bit rate that yields at least a specified level of perceptual image quality. Some additional background information on JPEG 2000 is prerequisite to a meaningful summary of JPEG encoding with perceptual distortion control. The JPEG 2000 encoding process includes two subprocesses known as tier-1 and tier-2 coding. In order to minimize the MSE for the desired bit rate, a rate-distortion- optimization subprocess is introduced between the tier-1 and tier-2 subprocesses. In tier-1 coding, each coding block is independently bit-plane coded from the most-significant-bit (MSB) plane to the least-significant-bit (LSB) plane, using three coding passes (except for the MSB plane, which is coded using only one "clean up" coding pass). For M bit planes, this subprocess involves a total number of (3M - 2) coding passes. An embedded bit stream is then generated for each coding block. Information on the reduction in distortion and the increase in the bit rate associated with each coding pass is collected. This information is then used in a rate-control procedure to determine the contribution of each coding block to the output compressed bit stream.

Watson, Andrew B.↗

Neural Coding of Natural Stimuli: Information at Sub-Millisecond Resolution

Sensory information about the outside world is encoded by neurons in sequences of discrete, identical pulses termed action potentials or spikes. There is persistent controversy about the extent to which the precise timing of these spikes is relevant to the function of the brain. We revisit this issue, using the motion-sensitive neurons of the fly visual system as a test case. Our experimental methods allow us to deliver more nearly natural visual stimuli, comparable to those which flies encounter in free, acrobatic flight. New mathematical methods allow us to draw more reliable conclusions about the information content of neural responses even when the set of possible responses is very large. We find that significant amounts of visual information are represented by details of the spike train at millisecond and sub-millisecond precision, even though the sensory input has a correlation time of ,55 ms; different patterns of spike timing represent distinct motion trajectories, and the absolute timing of spikes points to particular features of these trajectories with high precision. Finally, the efficiency of our entropy estimator makes it possible to uncover features of neural coding relevant for natural visual stimuli: first, the system’s information transmission rate varies with natural fluctuations in light intensity, resulting from varying cloud cover, such that marginal increases in information rate thus occur even when the individual photoreceptors are counting on the order of one million photons per second. Secondly, we see that the system exploits the relatively slow dynamics of the stimulus to remove coding redundancy and so generate a more efficient neural code.

59 BASIC BIOLOGICAL SCIENCES↗

Input generator for Denton 3-dimensional turbomachine-blade-row analysis code

A users manual is presented for a computer program that prepares the bulk of the input data set required for the Denton three dimensional turbomachine blade row analysis code. The Denton input is generated from a minimum of geometry and flow variable information by using cubic spline curve fitting procedures. The features of the program are discussed. The input is described and special instructions are included to assist in its preparation. Sample input and output are included.

Glassman, A. J.↗

A historical overview of high-temperature structural testing at the NASA Dryden Flight Research Facility

Major hot structure test programs conducted at NASA Dryden Flight Research Facility from 1960s to the present are reviewed with emphasis placed on the YF-12A flight load program, which included extensive experimental and analytical tasks. Analytical models of the YF-12A aircraft were generated using NASTRAN and FLEXTAB codes. Experimental data were generated from wind tunnel model tests, laboratory tests performed on the flight vehicle (including Mach-3 thermal simulation that involved heating the entire aircraft's surface after which the aircraft was returned to flight status), and flight tests.

Deangelis, V. M.↗

Ducted-Fan Engine Acoustic Predictions using a Navier-Stokes Code

A Navier-Stokes computer code is used to predict one of the ducted-fan engine acoustic modes that results from rotor-wake/stator-blade interaction. A patched sliding-zone interface is employed to pass information between the moving rotor row and the stationary stator row. The code produces averaged aerodynamic results downstream of the rotor that agree well with a widely used average-passage code. The acoustic mode of interest is generated successfully by the code and is propagated well upstream of the rotor; temporal and spatial numerical resolution are fine enough such that attenuation of the signal is small. Two acoustic codes are used to find the far-field noise. Near-field propagation is computed by using Eversman's wave envelope code, which is based on a finite-element model. Propagation to the far field is accomplished by using the Kirchhoff formula for moving surfaces with the results of the wave envelope code as input data. Comparison of measured and computed far-field noise levels show fair agreement in the range of directivity angles where the peak radiation lobes from the inlet are observed. Although only a single acoustic mode is targeted in this study, the main conclusion is a proof-of-concept: Navier-Stokes codes can be used both to generate and propagate rotor/stator acoustic modes forward through an engine, where the results can be coupled to other far-field noise prediction codes.

Rumsey, C. L.↗

Robust impurity detection and tracking for tokamaks

A robust impurity detection and tracking code, able to generate large sets of dust tracks from tokamak camera footage, is presented. This machine learning–based code is tested with cameras from the Joint European Torus, Doublet-III-D, and Magnum-PSI and is able to generate dust tracks with a 65 – 100 % classification accuracy. Moreover, the number dust particles detected from a single camera shot can be up to the order of 1000. Several areas of improvement for the code are highlighted, such as generating more significant training data sets and accounting for selection biases. Finally, although the code is tested with dust in single two-dimensional camera views, it could easily be applied to multiple-camera stereoscopic reconstruction or nondust impurities.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Ducted-Fan Engine Acoustic Predictions Using a Navier-Stokes Code

A Navier-Stokes computer code is used to predict one of the ducted-fan engine acoustic modes that results from rotor-wake/stator-blade interaction. A patched sliding-zone interface is employed to pass information between the moving rotor row and the stationary stator row. The code produces averaged aerodynamic results downstream of the rotor that agree well with a widely used average-passage code. The acoustic mode of interest is generated successfully by the code and is propagated well upstream of the rotor, temporal and spatial numerical resolution are fine enough such that attenuation of the signal is small. Two acoustic codes are used to find the far-field noise. Near-field propagation is computed by using Eversman's wave envelope code, which is based on a finite-element model. Propagation to the far field is accomplished by using the Kirchhoff formula for moving surfaces with the results of the wave envelope code as input data. Comparison of measured and computed far-field noise levels show fair agreement in the range of directivity angles where the peak radiation lobes from the inlet are observed. Although only a single acoustic mode is targeted in this study, the main conclusion is a proof-of-concept: Navier Stokes codes can be used both to generate and propagate rotor-stator acoustic modes forward through an engine, where the results can be coupled to other far-field noise prediction codes.

Rumsey, C. L.↗

Revised methods for few-group cross sections generation in the Serpent Monte Carlo code

This paper presents new calculation methods, recently implemented in the Serpent Monte Carlo code, and related to the production of homogenized few-group constants for deterministic 3D core analysis. The new methods fall under three topics: 1) Improved treatment of neutron-multiplying scattering reactions, 2) Group constant generation in reflectors and other non-fissile regions and 3) Homogenization in leakage-corrected criticality spectrum. The methodology is demonstrated by a numerical example, comparing a deterministic nodal diffusion calculation using Serpent-generated cross sections to a reference full-core Monte Carlo simulation. It is concluded that the new methodology improves the results of the deterministic calculation, and paves the way for Monte Carlo based group constant generation. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Economically efficient operation of a power generator

A method of operating a power generator comprises receiving, a fault code corresponding to an operating condition of the power generator being outside of an acceptable range. A generator controller determines a cost of increased maintenance or repairing damage associated with overriding the fault code and maintaining existing power output from the power generator through the operating condition. A cost of a utility fine or contractual penalty associated with shutting down the power generator is determined in response to the fault code. The generator controller compares the cost of the utility fine or contractual penalty associated with shutting down the power generator with the cost of increased maintenance or damage repair to the power generator associated with overriding the fault code and maintaining existing power output through the operating condition. In response to the comparing, the fault code is overridden continuing operation of the power generator.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Performing aggressive code optimization with an ability to rollback changes made by the aggressive optimizations

Mechanisms for aggressively optimizing computer code are provided. With these mechanisms, a compiler determines an optimization to apply to a portion of source code and determines if the optimization as applied to the portion of source code will result in unsafe optimized code that introduces a new source of exceptions being generated by the optimized code. In response to a determination that the optimization is an unsafe optimization, the compiler generates an aggressively compiled code version, in which the unsafe optimization is applied, and a conservatively compiled code version in which the unsafe optimization is not applied. The compiler stores both versions and provides them for execution. Mechanisms are provided for switching between these versions during execution in the event of a failure of the aggressively compiled code version. Moreover, predictive mechanisms are provided for predicting whether such a failure is likely.

97 MATHEMATICS AND COMPUTING↗

Qualitative Data Coding of User Experience with an Urban Air Mobility Fleet Manager Interface

The NASA Aeronautics Research Mission Directorate created the High Density Vertiplex (HDV) project to integrate and evaluate a prototype Urban Air Mobility (UAM) ecosystem. Part of the HDV testing environment included a prototype operator user interface called the Fleet Manager Interface (FMI). In 2023, HDV conducted flight testing with the FMI during which a user experience (UX) study was performed to assess the quality of UX and elicit design recommendations. As a result, a large database of open-ended, qualitative responses was generated and then coded using a new qualitative data coding technique called Directive String Coding, which used a blended coding approach to generate actionable heuristics that stakeholders (e.g., researchers, UI designers, software developers) could use to answer specific research questions and make future design decisions. The key themes that arose from the coded responses showed that the UX was pleasant, system notifications should be more salient, and information across multiple screens should be integrated into a central display. As the Fleet Manger operational role is still being defined, it is vital to increase our understanding of the tools and capabilities needed for such a role. The results from HDV work will eventually feed into standards for vertiport operations that will enable safe and scalable UAM operations in the United States.

high density vertiplex↗

Qualitative Data Coding of User Experience with an Urban Air Mobility Fleet Manager Interface

The NASA Aeronautics Research Mission Directorate created the High Density Vertiplex (HDV) project to integrate and evaluate a prototype Urban Air Mobility (UAM) ecosystem. Part of the HDV testing environment included a prototype operator user interface called the Fleet Manager Interface (FMI). In 2023, HDV conducted flight testing with the FMI during which a user experience (UX) study was performed to assess the quality of UX and elicit design recommendations. As a result, a large database of open-ended, qualitative responses was generated and then coded using a new qualitative data coding technique called Directive String Coding, which used a blended coding approach to generate actionable heuristics that stakeholders (e.g., researchers, UI designers, software developers) could use to answer specific research questions and make future design decisions. The key themes that arose from the coded responses showed that the UX was pleasant, system notifications should be more salient, and information across multiple screens should be integrated into a central display. As the Fleet Manger operational role is still being defined, it is vital to increase our understanding of the tools and capabilities needed for such a role. The results from HDV work will eventually feed into standards for vertiport operations that will enable safe and scalable UAM operations in the United States.

high density veriplex↗

RELAP-7: Demonstrating Seven-Equation, Two-Phase

The RELAP-7 code is the next generation nuclear reactor system safety analysis code being developed at the Idaho National Laboratory. RELAP-7 will become the main reactor systems toolkit for the Risk-Informed Safety Margin Characterization Pathway of the Light Water Reactor Sustainability (LWRS) Program and the next generation tool in the RELAP reactor safety/systems analysis application series (i.e., the replacement for RELAP5). The code is being developed based on Idaho National Laboratory’s modern scientific software development framework – MOOSE (i.e., the Multi-Physics Object-Oriented Simulation Environment).

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

RELAP-7: Demonstrating the integration of two-phase flow components for an ideal BWR loop

The RELAP-7 code is the next generation nuclear reactor system safety analysis code being developed at the Idaho National Laboratory. RELAP-7 will become the main reactor systems toolkit for the Risk-Informed Safety Margin Characterization Pathway of the Light Water Reactor Sustainability (LWRS) Program and the next generation tool in the RELAP reactor safety/systems analysis application series (i.e., the replacement for RELAP5). The code is being developed based on Idaho National Laboratory’s modern scientific software development framework – MOOSE (the Multi-Physics Object-Oriented Simulation Environment). During Fiscal-Year 2013, a number of physical components have been developed to support the demonstration calculations presented in this report. The case selected for demonstration of an idealized BWR loop in RELAP-7 includes the major components for the primary system of a BWR. The BWR loop has been successfully simulated to steady state with the RELAP-7 code. The next major stage of development is to demonstrate two-phase flow modeling capability through a simplified boiling water reactor station blackout analysis, which will be reported in the subsequent demonstration simulation report.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

RELAP-7 Simulation Resolving an SBO Scenario on a Simplified Geometry of a BWR

The RELAP-7 code is the next generation nuclear reactor system safety analysis code being developed at the Idaho National Laboratory (INL). RELAP-7 will become the main reactor systems toolkit for the Risk-Informed Safety Margin Characterization Pathway of the Light Water Reactor Sustainability Program and the next generation tool in the RELAP reactor safety/systems analysis application series (i.e., the replacement for RELAP5). The code is being developed based on Idaho National Laboratory’s modern scientific software development framework – MOOSE (the Multi-Physics Object-Oriented Simulation Environment). During Fiscal Year 2013, a number of physical components with two-phase flow capability have been developed to support the simplified boiling water reactor (BWR) station blackout analyses. The case selected for demonstration calculation is built from the specifications documented in an Organization for Economic Cooperation and Development benchmark problem for BWR turbine trip analysis. The reference design for the benchmark problem was from the Peach Bottom-2 nuclear station, which is a General Electric BWR-4 design. The demonstration case includes the major components for the primary system of a BWR, as well as the safety system components for reactor core isolation cooling (RCIC) and the wet well of a BWR containment. The case was initially run to steady-state with RELAP-7. The station blackout transient simulations were subsequently initiated by using the INL-developed RAVEN code. Two scenarios for the station blackout simulations have been considered. Scenario I represents an extreme station blackout accident with no safety injection functioning. The reactor core could experience dry out fairly quickly with this scenario. Scenario II represents a more probable station blackout accident progression with the RCIC system functioning. In this scenario, the RCIC system is fully coupled with the reactor primary system and the safety injection to provide makeup cooling water to the reactor core from the suppression pool is dynamically simulated. With the RCIC system functioning, the core dry out is significantly postponed when compared to the results from Scenario I. This fully coupled RCIC system simulation capability represents the first-of-a-kind simulation capability. Sensitivity studies have also been carried out to study the effect of RCIC control strategy with varying core makeup cooling water mass flow rates. The next stage of development will be to demonstrate more refined BWR station blackout analyses with more realistic geometries, to be reported in the next demonstration simulation report.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Off-design performance analysis of MHD generator channels

A computer code for performing parametric design point calculations, and evaluating the off-design performance of MHD generators has been developed. The program is capable of analyzing Faraday, Hall, and DCW channels, including the effect of electrical shorting in the gas boundary layers and coal slag layers. Direct integration of the electrode voltage drops is included. The program can be run in either the design or off-design mode. Details of the computer code, together with results of a study of the design and off-design performance of the proposed ETF MHD generator are presented. Design point variations of pre-heat and stoichiometry were analyzed. The off-design study included variations in mass flow rate and oxygen enrichment.

Wilson, D. R.↗

Water Flow Performance of a Superscale Model of the Fastrac Liquid Oxygen Pump

As part of the National Aeronautics and Space Administration's ongoing effort to lower the cost of access to space, the Marshall Space Flight Center has developed a rocket engine with 60,000 pounds of thrust for use on the Reusable Launch Vehicle technology demonstrator slated for launch in 2000. This gas generator cycle engine, known as the Fastrac engine, uses liquid oxygen and RP-1 for propellants and includes single stage liquid oxygen and RP-1 pumps and a single stage supersonic turbine on a common shaft. The turbopump design effort included the first use and application of new suction capability prediction codes and three-dimensional blade generation codes in an attempt to reduce the turbomachinery design and certification costs typically associated with rocket engine development. To verify the pump's predicted cavitation performance, a water flow test of a superscale model of the Fastrac liquid oxygen pump was conducted to experimentally evaluate the liquid oxygen pump's performance at and around the design point. The water flow test article replicated the flow path of the Fastrac liquid oxygen pump in a 1.582x scale model, including scaled seal clearances for correct leakage flow at a model operating speed of 5000 revolutions per minute. Flow entered the 3-blade axial-flow inducer, transitioned to a shrouded, 6-blade radial impeller, and discharged into a vaneless radial diffuser and collection volute. The test article included approximately 50 total and static pressure measurement locations as well as flush-mounted, high frequency pressure transducers for complete mapping of the pressure environment. The primary objectives of the water flow test were to measure the steady-state and dynamic pressure environment of the liquid oxygen pump versus flow coefficient, suction specific speed, and back face leakage flow rate. Results showed excellent correlation between the predicted and experimentally measured pump head rise at low suction specific speeds. Likewise, only small circumferential variations in steady-state impeller exit and radial diffuser pressure distributions were observed from 80% to 120% of the design flow coefficient, matching the computational predictions and confirming that the integrated design approach has minimized any exit volute-induced distortions. The test article exhibited suction performance trends typically observed in inducer designs with virtually constant head rise with decreasing inlet pressure until complete pump head breakdown. Unfortunately, the net positive suction head at 3% head fall-off occurred far below that predicted at all tested flow coefficients, resulting in a negative net positive suction head margin at the design point in water. Additional testing to map the unsteady pressure environment was conducted and interesting rotating phenomena at the inducer inlet were observed. These rotating phenomena's cell numbers, direction, and speed were correlated with pump operating parameters. The impact of the unsteady phenomena and their corresponding energy losses on the unexpectedly poor pump performance is also discussed.

Skelley, Stephen↗