Search NASA⌕ Search

SEARCH · Search NASA

Results for “Programming languages”

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,351 records · Page 75

NWGraph: A Library of Generic Graph Algorithms and Data Structures in C++20

The C++ Standard Library is a valuable collection of generic algorithms and data structures that improves the usability and reliability of C++ software. Graph algorithms and data structures are notably absent from the standard library, and previous attempts to fill this gap have not gained widespread adoption. In this paper we show that the richness of graph algorithms and data structures can in fact be captured by straightforward composition of existing C++ mechanisms. Generic programming is algorithm-oriented. Accordingly, we apply a systematic approach to analyzing a broad set of graph algorithms, “lift” unnecessary constraints from them, and organize the resulting set of minimal common type requirements, i.e., concepts, for defining their interfaces. By using the newly available ranges and concepts in C++20, the type requirements for generic graph algorithms can be succinctly expressed. The generic algorithms and data structures resulting from our analysis are realized in NWGraph, in a modern, composable, and extensible C++ library.

graphs and networks, programming language, C++20↗

DDGui, a new and fast way to analyse DRAGON and DONJON code results

With the largely increased performance of computer, the results from DRAGON and DONJON have increase in size and complexity. The scroll, copy and paste technique to get the result is not appropriate anymore. Many in-house script, software, macro have been developed to make the data gathering easier. However, the limit of these solutions is their specificity and the difficulty to export them from one place to another. A general tool usable and accessible by everyone was needed. The first bricks for a very fast and intuitive way to analyse the DRAGON and DONJON results have been put together in the graphic user interface DDGUI. Based on the extensive ROOT C++ package, the possible features are numerous. For this first version of the software, we have programmed the fundamental tools which may be the more useful on an everyday basis: view the data structures content, draw the geometry and draw the flux or power from a DONJON computation. The tests show how amazingly fast the user can get the information needed for a general overview or more precise analyses. Several other features will be implemented in the near feature. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Tritium research activities under the broader approach program in JAEA

The R and D for tritium technologies to a demonstration reactor (DEMO) plant are carried out in the Broader Approach (BA) program in Japan: 1) tritium accountancy technology; 2) basic tritium safety research; and 3) tritium durability test. A multi-purpose facility will be constructed at Rokkasho in Japan to carry out the above R and D. Beta and gamma radioisotopes as well as tritium (370 TBq/year) can be handled in the facility. At TPL (Tritium Process Laboratory) of JAEA, a series of R and D programs for tritium technologies have been carried out. The main R and D activities in this field are: tritium behavior in a confinement; monitoring; detritiation; and decontamination. In this paper, the results of recent activities at TPL of JAEA are also summarized from the viewpoint of the related R and D subjects under the BA program. (authors)

07 ISOTOPE AND RADIATION SOURCES↗

Distributions of the Mean for Lognormally Distributed Data - 19427

In environmental sciences, a distribution of the mean is often needed for right-skewed data. For example, risk assessments are often based on distributions of the mean to obtain upper confidence limits (UCLs) for analyte concentrations, and, in probabilistic performance assessment (PPA) models, parameters are given distributions rather than deterministic values, and they are usually given distributions of their mean rather than the population distributions to account for the large spatial and temporal domains to which they are applied. How this distribution of the mean is developed depends on the characteristics of the parameter's full distribution and how the parameter relates to its use. In this presentation, I will discuss the implications of a right skew in distribution development. Parameters may vary over orders of magnitude and/or may be right-skewed. The material property of saturated hydraulic conductivity, Ks, is a prime example of such a parameter. Right-skewed parameters are often assumed to follow lognormal distributions. If X follows a lognormal distribution, then log(X) follows a normal distribution. For some right-skewed parameters, practitioners go back and forth between the two forms of the data depending on their needs. For example, it may be preferred to use the untransformed version of X in a model or equation, but it is easier to visualize the parameter values on a logarithmic scale. However, distribution development for the average value of the parameter will differ depending on whether X or log(X) is modeled. This difference is due to Jensen's Inequality, a theorem which states that the expected value of a concave function of a variable is less than or equal to the same function of the expected value of the variable; a logarithm is a concave function. In other words, the mean of log(X) is always less than or equal to the log of the mean of X and therefore the mean estimated from a distribution based on log(X) is less than or equal to the mean estimated from a distribution based on X. If a parameter is naturally considered on a log scale by subject matter experts, then distributions developed for the mean of log(X) may be more consistent with the use of the parameters in the literature than distributions developed for X. The statistical decisions of distribution development will be discussed within the context of right-skewed, lognormal data. These issues include method-of-moments versus maximum likelihood estimation of the distribution parameters and the use of bootstrapping to aid in the visualization of a distribution of the mean. The details surrounding Jensen's Inequality will be explained and visualized within the context of distribution development of a right-skewed parameter such as saturated hydraulic conductivity. (authors)

54 ENVIRONMENTAL SCIENCES↗

Design and implementation of HuREX analysis supporting interface - 171

Human error is recognized as one of the main causes to affect to the socio-technical system including nuclear power plant. Therefore, reducing human error through human reliability analysis (HRA) is a critical issue. Moreover, sufficient and reliable human performance data collection is a prerequisite for ensuring the safety of nuclear power plants. Korea Atomic Energy Research Institute developed the HuREX (Human Reliability data Extraction) framework to collect and analyze the responses of human operators from simulator training records of nuclear power plant. Thus, the development and computer software interfaces of the database are essential to efficiently support human reliability analysis. In this study, OPERA database was developed in accordance with the following process. First, the essential data required for the HRA analysis (e.g., plant data, procedures, system and equipment info, operating crews, results of simulator experiments, and so forth) was stored in the database. In addition, standardized procedures and related items were stored in the database to support HRA quantification. A data structure was developed to store crew responses conducted by operators to cope with an emergency situation during simulator experiments. In addition, various interfaces that escalate efficiency of the HuREX applications were developed. The HuREX analysis support interface was developed with HuREX Video Analyzer for observation of simulator collection data (e.g., audio-visual records, plant parameters, operator's action logs) and HuREX Data Analyzer for analysis of operator's conducted task. By using the OPERA database and HuREX analysis support interface developed through this research, maximizing the efficiency of human reliability analysis based on simulator training data. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Characterizing Fluence as a Function of Areal Density for 1 and 14 MeV Neutrons Transported Through Air

Computing neutron dosimetry involves transporting neutrons [n] from a source to a sink, determining the neutron heating within the sink and multiplying the neutron heating by a quality factor to compute the dose equivalent. The space and energy dependent neutron fluence is a measure of the amount of neutrons crossing a particular surface area, about a particular energy and is given in units of [n/cm{sup 2}]. Microscopic cross sections are given in units of area and vary by isotope and reaction type as a function of energy. The product of the atom density of a particular atom in a specie and the microscopic cross section of a particular reaction results in the macroscopic cross section of a particular reaction, given in units of per length [1/cm] as a function of energy. Summing the macroscopic cross sections of all isotopes, and all collisions resulting in heating, within a volume, results in a total collision heating macroscopic cross section for that volume. The product of the energy and spatial dependent collision heating macroscopic cross section and the energy and spatial dependent fluence, within an energy group, results in a collision heating reaction density for that particular reaction in that energy group. Weighting each energy group's collision heating reactions, with the corresponding energy dependent particle damage per collision heating event (usually biological damage), and then integrating over energy and volume results in the delivered dose. Therefore understanding dose delivery involves examining the spatial and energy (and time) dependent fluence behavior. Because of the coupled energy and space dependence of the heating weighting and macroscopic cross sections, the fluence is not so easily separable in energy and space; however, the energy integrated fluence can be used as a first order approximation of the relative magnitude of reactions as a function of space. Here we examine the first part in the dosimetry calculation process, transporting neutrons from source to sink, as applied to neutron transport in air, examining characteristics of the fluence. Presented here is analysis regarding the nature of the fluence peak between 10 g/cm{sup 2} and 100 g/cm{sup 2} for a typical air transport calculation. Due to the high concentration of nitrogen and oxygen isotopes of these elements, these isotopes tend to dominate the transport. From the analysis presented here, the fluence peak is the result of scatter back and forth across the peak regime, and (n,2n) has a minimal (<4%) contribution. Further evidence of minimal (n,2n) impact in the 10-100 g/cm{sup 2} span includes the 1 MeV fluence peak being so much larger than the 14 MeV peak; where 1 MeV is not above the (n,2n) threshold. Also presented here is the usefulness of using tally tagging with cell flagging to further dissect the nature of the fluence. These technologies allow us to understand the originating volume that makes a contribution to a scoring regime. (authors)

61 RADIATION PROTECTION AND DOSIMETRY↗

Large Eddy Simulations for a Helical Coil Steam Generator

The desire for scalable power plants in remote locations and specialized applications has brought forth the small modular reactor (SMR). Now, smaller light water reactors are seen as viable means for meeting global energy requirements. Generally, straight or U-shape tubes are used to exchange heat from the primary to secondary coolant; however this is not ideal when size is a criterion. Helical coil steam generators (HCSGs) are advantageous for SMRs due to their enhanced heat transfer in compact spaces. Still, there is the concern of safety as steam generator tubes could rupture due to vibrations and fatigue on the material. Understanding flow characteristics and quantifying pressures for these tubes are important components for the design of safety and efficiency in these steam generators. The current study uses the spectral element computational fluid dynamic (CFD) code, Nek5000, to develop large eddy simulations (LES) for validation against experiments that will be conducted at Texas A and M University. Time-averaged pressure data will be compared with pressure tap readings, and velocity profile with particle image velocimetry (PIV) measurements. The presented preliminary results investigate the differences between 5.-, 7.-, and 9.-order polynomial simulations. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

A Theoretical Investigation of the Chemical Behaviour of Irradiated U-Mo/Mg Fuel

A significant international effort has been put forth to replace Highly Enriched Uranium (HEU) fuel used in research and test reactors with Low Enriched Uranium (LEU) fuel to reduce proliferation concerns. Furthermore, some fuel processing issues have been encountered with some LEU candidate fuel designs. In order to address both of the foregoing issues, new fuel designs must be developed. One of these designs has U-Mo particles dispersed in a Mg matrix (U-Mo/Mg) that is cladded in an Al-alloy. While characterization analyses and thermophysical measurements have been reported for fresh U-Mo/Mg fuel, the effects of irradiation are not yet well known nor are they understood. Given that earlier international campaigns that investigated U-Mo/Al as a candidate fuel design resulted in consistent failures due to the formation of an interaction layer between the U-Mo fuel particles and Al meat, it seems prudent to theorize and predict any phases that may form as a result of irradiation of U-Mo/Mg fuel. The formation of these phases and any interaction that they may have with the cladding may potentially affect the reliability of this fuel design. This short paper provides a preliminary theoretical framework for the prediction of minor phases that may appear in irradiated U-Mo/Mg research reactor fuel, which should be confirmed via postirradiation examination at a later time.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

High-Fidelity Modeling of a Type-5 Wind Turbine Gearbox

Type-5 wind turbines are characterized by their use of a hydraulic torque converter and permanent synchronous generator. This combination promotes steady and grid-ready energy without the use of a power converter. Thus, researchers were prompted to study the potential impact on grid reliability, stability, and resilience using a Real Time Digital Simulator (RTDS) model of the type-5 turbine, including a high-fidelity model of its gear box.

13 - HYDRO ENERGY↗

Conserved Active Site Residues Limit Inhibition of a Copper-Containing Nitrite By Small Molecules

The interaction of copper-containing dissimilatory nitrite reductase from Alcaligenes faecalis S-6 ( AfNiR) with each of five small molecules was studied using crystallography and steady-state kinetics. Structural studies revealed that each small molecule interacted with the oxidized catalytic type 2 copper of AfNiR. Three small molecules (formate, acetate and nitrate) mimic the substrate by having at least two oxygen atoms for bidentate coordination to the type 2 copper atom. These three anions bound to the copper ion in the same asymmetric, bidentate manner as nitrite. Consistent with their weak inhibition of the enzyme ( K i >50 mM), the Cu-O distances in these AfNiR-inhibitor complexes were approximately 0.15 A longer than that observed in the AfNiR-nitrite complex. The binding mode of each inhibitor is determined in part by steric interactions with the side chain of active site residue Ile257. Moreover, the side chain of Asp98, a conserved residue that hydrogen bonds to type 2 copper-bound nitrite and nitric oxide, was either disordered or pointed away from the inhibitors. Acetate and formate inhibited AfNiR in a mixed fashion, consistent with the occurrence of second acetate binding site in the AfNiR-acetate complex that occludes access to the type 2 copper. A fourth small molecule, nitrous oxide, bound to the oxidized metal in a side-on fashion reminiscent of nitric oxide to the reduced copper. Nevertheless, nitrous oxide bound at a farther distance from the metal. The fifth small molecule, azide, inhibited the reduction of nitrite by AfNiR most strongly ( K ic = 2.0 +/- 0.1 mM). This ligand bound to the type 2 copper center end-on with a Cu-N c distance of approximately 2 A, and was the only inhibitor to form a hydrogen bond with Asp98. Overall, the data substantiate the roles of Asp98 and Ile257 in discriminating substrate from other small anions.

08 HYDROGEN↗

Zebularine: A Novel DNL Methylation Inhibitor that Forms a Covalent Complex with DNA Methyltransferases

Mechanism-based inhibitors of enzymes, which mimic reactive intermediates in the reaction pathway, have been deployed extensively in the analysis of metabolic pathways and as candidate drugs. The inhibition of cytosine-[C5]-specific DNA methyltransferases (C5 MTases) by oligodeoxynucleotides containing 5-azadeoxycytidine (AzadC) and 5-fluorodeoxycytidine (FdC) provides a well-documented example of mechanism-based inhibition of enzymes central to nucleic acid metabolism. Here, we describe the interaction between the C5 MTase from Haemophilus haemolyticus (M.HhaI) and an oligodeoxynucleotide duplex containing 2-H pyrimidinone, an analogue often referred to as zebularine and known to give rise to high-affinity complexes with MTases. X-ray crystallography has demonstrated the formation of a covalent bond between M.HhaI and the 2-H pyrimidinone-containing oligodeoxynucleotide. This observation enables a comparison between the mechanisms of action of 2-H pyrimidinone with other mechanism-based inhibitors such as FdC. This novel complex provides a molecular explanation for the mechanism of action of the anti-cancer drug zebularine.

04 OIL SHALES AND TAR SANDS↗

New Parallel computing framework for radiation transport codes

A new parallel computing framework has been developed to use with general-purpose radiation transport codes. The framework was implemented as a C++ module that uses MPI for message passing. The module is significantly independent of radiation transport codes it can be used with, and is connected to the codes by means of a number of interface functions. The framework was integrated with the MARS15 code, and an effort is under way to deploy it in PHITS. Besides the parallel computing functionality, the framework offers a checkpoint facility that allows restarting calculations with a saved checkpoint file. The checkpoint facility can be used in single process calculations as well as in the parallel regime. Several checkpoint files can be merged into one thus combining results of several calculations. The framework also corrects some of the known problems with the scheduling and load balancing found in the original implementations of the parallel computing functionality in MARS15 and PHITS. The framework can be used efficiently on homogeneous systems and networks of workstations, where the interference from the other users is possible.

43 PARTICLE ACCELERATORS↗

High level language-based robotic control system

This invention is a robot control system based on a high level language implementing a spatial operator algebra. There are two high level languages included within the system. At the highest level, applications programs can be written in a robot-oriented applications language including broad operators such as MOVE and GRASP. The robot-oriented applications language statements are translated into statements in the spatial operator algebra language. Programming can also take place using the spatial operator algebra language. The statements in the spatial operator algebra language from either source are then translated into machine language statements for execution by a digital control computer. The system also includes the capability of executing the control code sequences in a simulation mode before actual execution to assure proper action at execution time. The robot's environment is checked as part of the process and dynamic reconfiguration is also possible. The languages and system allow the programming and control of multiple arms and the use of inward/outward spatial recursions in which every computational step can be related to a transformation from one point in the mechanical robot to another point to name two major advantages.

Rodriguez, Guillermo↗

High level language-based robotic control system

This invention is a robot control system based on a high level language implementing a spatial operator algebra. There are two high level languages included within the system. At the highest level, applications programs can be written in a robot-oriented applications language including broad operators such as MOVE and GRASP. The robot-oriented applications language statements are translated into statements in the spatial operator algebra language. Programming can also take place using the spatial operator algebra language. The statements in the spatial operator algebra language from either source are then translated into machine language statements for execution by a digital control computer. The system also includes the capability of executing the control code sequences in a simulation mode before actual execution to assure proper action at execution time. The robot's environment is checked as part of the process and dynamic reconfiguration is also possible. The languages and system allow the programming and control of multiple arms and the use of inward/outward spatial recursions in which every computational step can be related to a transformation from one point in the mechanical robot to another point to name two major advantages.

Rodriguez, Guillermo↗

Computer enhancement through interpretive techniques

The improvement in the usage of the digital computer through the use of the technique of interpretation rather than the compilation of higher ordered languages was investigated by studying the efficiency of coding and execution of programs written in FORTRAN, ALGOL, PL/I and COBOL. FORTRAN was selected as the high level language for examining programs which were compiled, and A Programming Language (APL) was chosen for the interpretive language. It is concluded that APL is competitive, not because it and the algorithms being executed are well written, but rather because the batch processing is less efficient than has been admitted. There is not a broad base of experience founded on trying different implementation strategies which have been targeted at open competition with traditional processing methods.

Foster, G.↗

A computer program for estimating the power-density spectrum of advanced continuous simulation language generated time histories

A computer program for performing frequency analysis of time history data is presented. The program uses circular convolution and the fast Fourier transform to calculate power density spectrum (PDS) of time history data. The program interfaces with the advanced continuous simulation language (ACSL) so that a frequency analysis may be performed on ACSL generated simulation variables. An example of the calculation of the PDS of a Van de Pol oscillator is presented.

Dunn, H. J.↗

RACER: Effective Race Detection Using AspectJ

The limits of coding with joint constraints on detected and undetected error rates Programming errors occur frequently in large software systems, and even more so if these systems are concurrent. In the past, researchers have developed specialized programs to aid programmers detecting concurrent programming errors such as deadlocks, livelocks, starvation and data races. In this work we propose a language extension to the aspect-oriented programming language AspectJ, in the form of three new built-in pointcuts, lock(), unlock() and may be Shared(), which allow programmers to monitor program events where locks are granted or handed back, and where values are accessed that may be shared amongst multiple Java threads. We decide thread-locality using a static thread-local objects analysis developed by others. Using the three new primitive pointcuts, researchers can directly implement efficient monitoring algorithms to detect concurrent programming errors online. As an example, we expose a new algorithm which we call RACER, an adoption of the well-known ERASER algorithm to the memory model of Java. We implemented the new pointcuts as an extension to the Aspect Bench Compiler, implemented the RACER algorithm using this language extension and then applied the algorithm to the NASA K9 Rover Executive. Our experiments proved our implementation very effective. In the Rover Executive RACER finds 70 data races. Only one of these races was previously known.We further applied the algorithm to two other multi-threaded programs written by Computer Science researchers, in which we found races as well.

data analysis↗