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 613 records · Page 34

Towards a Discontinuous Galerkin Method for the Multi-Group Two-Moment Model of Neutrino Transport

We present progress on the development of a Discontinuous Galerkin (DG) method for solving the non-relativistic, multi-group two-moment model for neutrino transport. The method - ultimately targeted for simulation of neutrino transport in core-collapse supernovae - includes the use of curvilinear coordinates and tabulated microphysics (i.e., nuclear equation of state and weak interaction rates) to model neutrino-matter coupling. In this report, we provide algorithm details and present results from an extensive set of benchmark problems in one spatial dimension. The algorithms have been implemented in the Toolkit for High-Order Neutrino-Radiation Hydrodynamics ( thornado ), and Fortran code used to generate the results has been made available to the public through GitHub.

74 ATOMIC AND MOLECULAR PHYSICS↗

Sierra Toolkit Manual Version 4.42

This report provides documentation for the SIERRA Toolkit (STK) modules. STK modules are intended to provide infrastructure that assists the development of computational engineering software such as finite-element analysis applications. STK includes modules for unstructured-mesh data structures, reading/writing mesh files, geometric proximity search, and various utilities. This document contains a chapter for each module, and each chapter contains overview descriptions and usage examples. Usage examples are primarily code listings which are generated from working test programs that are included in the STK code-base. A goal of this approach is to ensure that the usage examples will not fall out of date.

97 MATHEMATICS AND COMPUTING↗

Transient Efficiency, Flexibility, and Reliability Optimization of Coal-Fired Power Plants - Final Report

This program developed an advanced model-based monitoring and model-predictive control algorithms for a coal fired power plant (CFPP), and deployed these algorithms in a real-time platform to demonstrate performance benefits for transient flexibility and plant operation efficiency. More specifically, the objectives were successfully achieved through a combination of (i) developing a high-fidelity transient plant model in Apros, which was used as a high-fidelity plant simulation between $100-50\% TMCR$ where TMCR denotes the turbine maximum continuous rating, i.e., baseload, (ii) developing a very fast physics-based reduced-order model (ROM) of the plant, which ran more than $100\times$ faster than real-time, enabling its use as real-time embedded model for model-based estimation (MBE) and model predictive control (MPC) (iii) implementing a real-time MBE based on ROM using a robust unscented Kalman filter (UKF) to continuously tune the ROM to match the measurements from high-fidelity Apros plant model despite significant plant-model mismatch, and thus, obtain a Digital Twin of the plant (iv) designing and implementing a real-time MPC with dual objectives of transient plant load tracking with high ramp rates and minimizing coal consumption, i.e., improving plant efficiency in the baseload-partload operation range of $100-50\% TMCR$. Each key element above was developed and tested individually, and has been reported in corresponding Topical Reports. Finally, all the individual elements were integrated in an overall closed-loop system, that was successfully tested in desktop Simulink test harness simulations with ROM or high-fidelity model as the plant. Thereafter, the Simulink implementation was used to auto-generate C-code and deploy as real-time Docker microservice containers in Linux, and validate that they can run in real-time in the hardware-in-the loop (HIL) setup and produce the same results as in Simulink. The results of the integrated simulation tests in Simulink as well as the real-time HIL deployment are documented in this final report, showing good load tracking for load ramps at $3-4\%/min$ ramp rates, and achieving up to $5.5\%$ reduction in coal relative to baseline operation at $50\% TMCR$ load. The desktop and HIL simulations show successful performance of the overall model based estimation and control solution and achieve the key objectives of the program for flexible, efficient and reliable operation of subcritical coal fired power plants.

20 FOSSIL-FUELED POWER PLANTS↗

Sandia Toolkit Manual (V.5.21.1)

This report provides documentation for the Sandia Toolkit (STK) modules. STK modules are intended to provide infrastructure that assists the development of computational engineering software such as finite-element analysis applications. STK includes modules for unstructured-mesh data structures, reading/writing mesh files, geometric proximity search, transfers, MPMD coupling support, and various other utilities. This document contains a chapter for each module, and each chapter contains overview descriptions and usage examples. Usage examples are primarily code listings which are generated from working test programs that are included in the STK code-base. A goal of this approach is to ensure that the usage examples will not fall out of date.

97 MATHEMATICS AND COMPUTING↗

Sandia Toolkit Manual Version 5.15.6

This report provides documentation for the Sandia Toolkit (STK) modules. STK modules are intended to provide infrastructure that assists the development of computational engineering software such as finite-element analysis applications. STK includes modules for unstructured-mesh data structures, reading/writing mesh files, geometric proximity search, and various utilities. This document contains a chapter for each module, and each chapter contains overview descriptions and usage examples. Usage examples are primarily code listings which are generated from working test programs that are included in the STK code-base. A goal of this approach is to ensure that the usage examples will not fall out of date.

97 MATHEMATICS AND COMPUTING↗

Multi-Rigor Agile Verification and Rapid Prototyping for Formally Verified Software

We propose a novel approach to developing formally verified systems through Multi-rigor Agile Verification. Multi-rigor Agile Verification is rooted in the hypothesis of Rigor Independence, that a system’s specification and verification architecture depend primarily on the system requirements to be verified, and they depend very little on the rigor level of the methods used to verify those requirements. Due to its iterative nature, Multi-rigor Agile Verification promises to mitigate many of the high upfront design costs experienced by formally verified systems and to deliver a better-architected, and thus better-trusted, system in the end. We then discuss the tooling needed to perform Multi-rigor Agile Verification and go in depth to build one of those tools, which directly generates executable prototype code from declarative formal specifications using the Maude rewrite-logic framework.

97 MATHEMATICS AND COMPUTING↗

R -matrix analysis of n + nat Cl reactions up to 1.2 MeV

The R -matrix analysis of neutron-induced reactions for two stable chlorine isotopes ( 35 Cl and 37 Cl) was performed in the energy range of thermal up to 1.2 MeV. Starting from the repository of the ENDF/B-VIII.0 library and following recent measurement series, this work represents a significant improvement, particularly in the evaluation of the ( n , p ) reaction channel. The evaluation methodology used the R -matrix code SAMMY to generate a set of Reich–Moore resonance parameters for both stable chlorine isotopes. Consistent with recently measured 35 Cl( n , p ) data, the presented evaluation features a dramatic increase in the magnitude of the ( n , p ) reaction channel over the ENDF/B-VIII.1 nuclear data library and previous ENDF/B libraries.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Disk emission from magnetohydrodynamic simulations of spinning black holes

We present the results of a new series of global, three-dimensional, relativistic magnetohydrodynamic (MHD) simulations of thin accretion disks around spinning black holes. The disks have aspect ratios of H/R∼0.05 and spin parameters of a/M=0,0.5,0.9, and 0.99. Using the ray-tracing code Pandurata, we generate broadband thermal spectra and polarization signatures from the MHD simulations. We find that the simulated spectra can be well fit with a simple, universal emissivity profile that better reproduces the behavior of the emission from the inner disk, compared to traditional analyses carried out using a Novikov–Thorne thin disk model. Finally, we show how spectropolarization observations can be used to convincingly break the spin-inclination degeneracy well known to the continuum-fitting method of measuring black hole spin.

79 ASTRONOMY AND ASTROPHYSICS↗

Thermal Disk Winds in X-Ray Binaries: Realistic Heating and Cooling Rates Give Rise to Slow, but Massive, Outflows

A number of X-ray binaries exhibit clear evidence for the presence of disk winds in the high/soft state. A promising driving mechanism for these outflows is mass loss driven by the thermal expansion of X-ray heated material in the outer disk atmosphere. Higginbottom and Proga recently demonstrated that the properties of thermally driven winds depend critically on the shape of the thermal equilibrium curve, since this determines the thermal stability of the irradiated material. For a given spectral energy distribution, the thermal equilibrium curve depends on an exact balance between the various heating and cooling mechanisms at work. Most previous work on thermally driven disk winds relied on an analytical approximation to these rates. Here, we use the photoionization code cloudy to generate realistic heating and cooling rates which we then use in a 2.5D hydrodynamic model computed in ZEUS to simulate thermal winds in a typical black hole X-ray binary. We find that these heating and cooling rates produce a significantly more complex thermal equilibrium curve, with dramatically different stability properties. The resulting flow, calculated in the optically thin limit, is qualitatively different from flows calculated using approximate analytical rates. Specifically, our thermal disk wind is much denser and slower, with a mass-loss rate that is a factor of two higher and characteristic velocities that are a factor of three lower. The low velocity of the flow—v{sub max}≃200 km s{sup −1}—may be difficult to reconcile with observations. However, the high mass-loss rate—15 × the accretion rate—is promising, since it has the potential to destabilize the disk. Thermally driven disk winds may therefore provide a mechanism for state changes.

79 ASTRONOMY AND ASTROPHYSICS↗

Heavy-Duty Electric Fleet Depot Charging Load Profiles & Substation Load Integration Assessment Results

This data set includes the 24-hour fleet depot charging load profiles (15-min. average demand) and substation load integration assessment results produced for the study, "Heavy-Duty Truck Electrification and the Impacts of Depot Charging on Electricity Distribution Systems", published in 2021 (https://doi.org/10.1038/s41560-021-00855-0). The code developed to generate these load profiles is publicly available at https://github.com/NREL/hdev-depot-charging-2021. Please cite as: Borlaug, B., Muratori, M., Gilleran, M., Woody, D., Muston, W., Canada, T., Ingram, A., Gresham, H., and McQueen, C., (2021). "Heavy-Duty Truck Electrification and the Impacts of Depot Charging on Electricity Distribution Systems". https://doi.org/10.1038/s41560-021-00855-0.

24 POWER TRANSMISSION AND DISTRIBUTION↗

Development of a %22solar patch%22 calculator to evaluate heliostat-field irradiance as a boundary condition in CFD models.

A rigorous computational fluid dynamics (CFD) approach to calculating temperature distributions, radiative and convective losses, and flow fields in a cavity receiver irradiated by a heliostat field is typically limited to the receiver domain alone for computational reasons. A CFD simulation cannot realistically yield a precise solution that includes the details within the vast domain of an entire heliostat field in addition to the detailed processes and features within a cavity receiver. Instead, the incoming field irradiance can be represented as a boundary condition on the receiver domain. This paper describes a program, the Solar Patch Calculator, written in Microsoft Excel VBA to characterize multiple beams emanating from a 'solar patch' located at the aperture of a cavity receiver, in order to represent the incoming irradiance from any field of heliostats as a boundary condition on the receiver domain. This program accounts for cosine losses; receiver location; heliostat reflectivity, areas and locations; field location; time of day and day of year. This paper also describes the implementation of the boundary conditions calculated by this program into a Discrete Ordinates radiation model using Ansys{reg_sign} FLUENT (www.fluent.com), and compares the results to experimental data and to results generated by the code DELSOL.

14 SOLAR ENERGY↗

Development of a %22Solar Patch%22 calculator to evaluate heliostat-field irradiance as a boundary condition in CFD models.

A rigorous computational fluid dynamics (CFD) approach to calculating temperature distributions, radiative and convective losses, and flow fields in a cavity receiver irradiated by a heliostat field is typically limited to the receiver domain alone for computational reasons. A CFD simulation cannot realistically yield a precise solution that includes the details within the vast domain of an entire heliostat field in addition to the detailed processes and features within a cavity receiver. Instead, the incoming field irradiance can be represented as a boundary condition on the receiver domain. This paper describes a program, the Solar Patch Calculator, written in Microsoft Excel VBA to characterize multiple beams emanating from a 'solar patch' located at the aperture of a cavity receiver, in order to represent the incoming irradiance from any field of heliostats as a boundary condition on the receiver domain. This program accounts for cosine losses; receiver location; heliostat reflectivity, areas and locations; field location; time of day and day of year. This paper also describes the implementation of the boundary conditions calculated by this program into a Discrete Ordinates radiation model using Ansys{reg_sign} FLUENT (www.fluent.com), and compares the results to experimental data and to results generated by the code DELSOL.

14 SOLAR ENERGY↗

Analysis and selection of optimal function implementations in massively parallel computer

An apparatus, program product and method optimize the operation of a parallel computer system by, in part, collecting performance data for a set of implementations of a function capable of being executed on the parallel computer system based upon the execution of the set of implementations under varying input parameters in a plurality of input dimensions. The collected performance data may be used to generate selection program code that is configured to call selected implementations of the function in response to a call to the function under varying input parameters. The collected performance data may be used to perform more detailed analysis to ascertain the comparative performance of the set of implementations of the function under the varying input parameters.

97 MATHEMATICS AND COMPUTING↗

Physics-Based Multi-State Models of Passive Component Degradation for the R7 Reactor Simulation Environment

Abstract: The Next Generation Systems Analysis Code - referred to as R7 - is reactor systems simulation software being developed to support the Risk-Informed Safety Margin Characterization Pathway of the U.S. Department of Energy's Light Water Reactor Sustainability Program. It will provide an integrated multi-physics environment, implemented in an uncertainty quantification (UQ) framework that can produce risk and other performance insights on long-term reactor operations. An element of this simulation environment will be the performance of passive components and materials. Conventional models of component reliability are largely parametric, relying on plant service data to estimate component lifetimes and failure rates. This type of model has limited usefulness in the R7 environment where the intent is to explicitly determine the influence of physical stressors on component degradation. In this paper, we describe a new class of multi-state physics-based component models designed to be R7-compatible. These models capture the physics of materials degradation while also incorporating the effects of interventions and component rejuvenation. The models are implemented in a cumulative damage framework that allows the impact of an evolving physical environment to be addressed without recourse to resampling within the Monte Carlo-based UQ framework. The paper describes an application to stress corrosion cracking in dissimilar metal welds - a principal contributor to potential loss of coolant accidents. So while R7 will have the more conventional capability of reactor simulation codes to model the impact of degraded components and systems on plant performance, the methodology described here allows R7 to model the inverse effect; the impact of the physical environment on component degradation and performance.

PRA, passive components, stress corrosion cracking↗

SNLSimMagic v 2.0

This software is an iOS (Apple) Augmented Reality (AR) application that runs on the iPhone and iPad. It is designed to scan in a photograph or graphic and "play" an associated video. This release, SNLSimMagic, was built using Wikitude Augmented Reality (AR) software development kit (SDK) integrated into Apple iOS SDK application and the Cordova libraries. These codes enable the generation of runtime targets using cloud recognition and developer-defined target features which are then accessed by means of a custom application.

Source record↗

Design and Scaling of the Natural Convection Shutdown Heat Removal Test Facility

The Natural convection Shutdown heat removal Test Facility (NSTF) at Argonne National Laboratory (ANL) reflects a 1/2 scale model of one conceptual design for passive safety in advanced reactors. The project was initiated in 2010 primarily to conduct ex-vessel, passive decay heat removal experiments in support of the Advanced Reactor Concepts (ARC), Small Modular Reactor (SMR), and Next Generation Nuclear Plant (NGNP) programs while also generating data for code validation purposes. The facility successfully demonstrated scoping objectives in late 2013, and is expected to begin testing by early 2014. The following paper summarizes some of the key design and scaling considerations used in construction of the experimental facility, along with an overview of the current instrumentation and data acquisition methods. Details of the distributed fiber optic temperature system will be presented, which introduces a level of data density suitable for CFD validation and is a first-of-its-kind for largescale thermal hydraulics facilities.

Lisowski, Darius D.↗

Comparisons of RELAP5-3D Analyses to Experimental Data from the Natural Convection Shutdown Heat Removal Test Facility

The Reactor Cavity Cooling System (RCCS) is an important passive safety system being incorporated into the overall safety strategy for high temperature advanced reactor concepts such as the High Temperature Gas- Cooled Reactors (HTGR). The Natural Convection Shutdown Heat Removal Test Facility (NSTF) at Argonne National Laboratory (Argonne) reflects a 1/2-scale model of the primary features of one conceptual air-cooled RCCS design. The project conducts ex-vessel, passive heat removal experiments in support of Department of Energy Office of Nuclear Energy’s Advanced Reactor Technology (ART) program, while also generating data for code validation purposes. While experiments are being conducted at the NSTF to evaluate the feasibility of the passive RCCS, parallel modeling and simulation efforts are ongoing to support the design, fabrication, and operation of these natural convection systems. Both system-level and high fidelity computational fluid dynamics (CFD) analyses were performed to gain a complete understanding of the complex flow and heat transfer phenomena in natural convection systems. This paper provides a summary of the RELAP5-3D NSTF model development efforts and provides comparisons between simulation results and experimental data from the NSTF. Overall, the simulation results compared favorably to the experimental data, however, further analyses need to be conducted to investigate any identified differences.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗