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 829 records · Page 46

Vistransformers Explained

The Vistransformers Explained library is a collection of python notebooks that demonstrate the internal mechanics and uses of visual-transformer (ViT) machine learning models. The code implements, with mild modifications, ViT models that have been made publicly available through publication and GitHub code. The value added by this code is in-depth explanations of the mathematics behind the sub-modules of the ViT models, including original figures. Additionally, the library contains the code necessary to implement and train the ViT models. The library does not include example training data for the models; instead, it would rely on users generating their own datasets. The code is based on the PyTorch python library. It does not include any files other than python scripts, modules, or notebooks.

Callis, Skylar↗

Neutron/gamma coupled library generation and gamma transport calculation with KARMA 1.2

KAERI has developed a lattice transport calculation code KARMA and its multi-group cross section library generation system. Recently, the multi-group cross section library generation system has included a gamma cross section generation capability and KARMA also has been improved to include a gamma transport calculation module. This paper addresses the multi-group gamma cross section generation capability for the KARMA 1.2 code and the preliminary test results of the KARMA 1.2 gamma transport calculations. The gamma transport calculation with KARMA 1.2 gives the gamma flux, gamma smeared power, and gamma energy deposition distributions. The results of the KARMA gamma calculations were compared with those of HELIOS and they showed that KARMA 1.2 gives reasonable gamma transport calculation results. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Comparison of Modeled to Measured Spectra using MCNP and GADRAS to Benchmark and Contrast Modeling Limitations

The desire to improve nuclear material detection through portal monitors and other low resolution detectors has led to interest in benchmarking the performance of radiation transport codes. These codes can be used to generate a variety and quantity of spectra that may be cost prohibitive to measure directly. Particular characteristics of typical detection scenarios were isolated to compare the performance of radiation transport codes to laboratory experiments. These benchmark experiments were performed to validate simulations in a number of key areas. These experiments included high areal density configurations in both one- and three-dimensional configurations. In addition, off-angle measurements were conducted to investigate the impact of detector response assumptions on complex geometries, for example where an unknown source is not physically collocated with an apparent hot spot. Furthermore, by examining both simple shielding and backscatter configurations, isolation of the scatter emanating from the object and environmental background scatter contributions to the spectra could be elucidated. A series of experiments were performed in which the order of shielding layers and the thickness were evaluated to examine the ability of the simulations to address these variables. Experiments with increasing thickness of polyethylene around a neutron source also allows for examinations of the ability of the transport simulations to properly model n,γ reactions. Finally, depleted uranium (DU) measurements have more complicated spectra than the cobalt-60 and consequently allow for investigations into the ability of transport simulations to model self-shielding. In each case, the results of the experiments were compared to MCNP simulations to judge the performance of the code, as was done previously with GADRAS 18.7.9 simulations [7]. All of the benchmark measurements were taken with a liquid nitrogen cooled 140% high purity germanium (HPGe) detector with a bismuth collimator that had the front tin filter removed. The measurement location and detector configuration were subsequently used for all experimental configurations. The remainder of this report details the experimental measurements, Section 2 and the MCNP model, Section 3. Comparisons between the experimental results and MCNP-generated spectra are performed, Section 4. Section 5 compares the results obtained with MCNP with the previously reported results obtained with GADRAS [2]. Finally, Section 6 presents the conclusions.

61 RADIATION PROTECTION AND DOSIMETRY↗

RISMC Industry Application no. 1 (ECCS/LOCA) Core characterization automation: Reference PWR designs for IA no. 1

The U.S. NRC is currently proposing rulemaking '10 CFR 50.46c' to revise the loss-of-coolant-accident (LOCA) and emergency core cooling system (ECCS) acceptance criteria to include the effects of higher burn-up on cladding performance. The key implications of this proposition are that both cladding and ECCS performance need to be considered in a coupled manner. This implies that LOCA methodologies will need to be updated for regulatory purposes. The Risk-Informed Safety Margin Characterization (RISMC) Pathway, as part of the DOE Light Water Reactor Sustainability (LWRS) research and development program initialed several programs at the Idaho National Laboratory (INL) to support the industry by offering potential solutions to this new LOCA/ECCS analysis. One of these programs is the Industry Application no. 1 (IA1). It's goal is to develop an integrated evaluation model called LOCA Toolkit for the US (LOTUS) to revisit how risks are evaluated in a LOCA under 10 CFR 50.46c. The focus of LOTUS is to establish the automation interfaces among the physics disciplines involved, namely the core design automation, the fuels/clad performance, the system analysis, the risk assessment and the core design optimization. The risk-informed margins management approach for IA1 will provide a means of quantifying the impact on the key LOCA analysis figures-of-merit like peak cladding temperature (PCT), equivalent cladding reacted (ECR), etc. of a change in LOCA analysis inputs. The information obtained can then be used for decision-making and margin management. The modular approach for LOTUS will enable plant owners/vendors to further customize the LOTUS framework for use within their established codes and methods. One of the LOTUS modules deals with the core design automation (CD-A). The purpose of this module is to supply the LOCA analysis with initial conditions, i.e. assembly/pin power histories, power shapes, etc. to be employed by the Fuels/Clad Performance (EP) and System Analysis (SA) modules. In the CD-A module, the plant owner/operator will characterize his core design with the tools he has. For the current LOTUS demonstration, the tools used are the already coupled codes PHISICS and RELAP5-3D2,3. Cross section generation will be done using the Studsvik lattice code HELIOS-2.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Mechanism of generating fast electrons by an intense laser at a steep overdense interface

The acceleration and heating of electrons by an intense laser normally incident on a steep overdense plasma interface is investigated using the particle-in-cell code osiris. Energetic electrons are generated by the laser's electric field in the vacuum region within {lambda}/4 of the surface. Only those electrons which originate within the plasma with a sufficiently large transverse momentum can escape the plasma. This mechanism relies on the standing wave structure created by the incoming and reflected wave and is therefore very different for linear and circularly polarized light.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Error Assessment of Homogenized Cross Sections Generation for Whole Core Neutronic Calculation

The objective of the work here was to assess the errors introduced by using 2D, few group homogenized cross sections to perform neutronic analysis of BWR problems with significant axial heterogeneities. The 3D method of characteristics code DeCART is used to generate 2-group assembly homogenized cross sections first using a conventional 2D lattice model and then using a full 3D solution of the assembly. A single BWR fuel assembly model based on an advanced BWR lattice design is used with a typical void distribution applied to the fuel channel coolant. This model is validated against an MCNP model. A comparison of the cross sections is performed for the assembly homogenized planar cross sections from the DeCART 3D and DeCART 2D solutions.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Generation of the TSL for Zirconium Hydrides from Ab Initio Methods

Zirconium hydride (ZrHx) is a moderator material used in TRIGA and other reactors that may exist in multiple phases with varying stoichiometry, which include the δ phase and the ϵ phase. Current ENDF/B-VIII.0 ZrHx thermal scattering law (TSL) evaluations do not distinguish between phases. These sub-libraries were generated with the LEAPR module of NJOY using historic phonon spectra derived from a central force model and assume incoherent elastic scattering for both bound hydrogen and zirconium, which neglects the effects of crystal structures important for scattering from zirconium bound in ZrHx. In this work, the TSLs for hydrogen and zirconium bound in δ-ZrHx and ϵ-ZrH2 were generated from phonon spectra derived from modern ab initio lattice dynamics methods and ab initio molecular dynamics. Subsequently, TSLs for hydrogen and zirconium in ZrHx and ZrH2 were generated using the Full Law Analysis Scattering System Hub (FLASSH) code. The built-in generalized coherent elastic routine was used to generate the previously neglected elastic contribution from zirconium for this material. The present TSLs provide both a re-evaluation of the current ZrH sub-libraries and expansion of the set of TSLs available for the examination of neutrons in systems with zirconium hydride, permitting explicit treatment of δ and ϵ phases.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Simulation of beam-induced plasma for the mitigation of beam-beam effects

One of the main challenges in the increase of luminosity of circular colliders is the control of the beam-beam effect. In the process of exploring beam-beam mitigation methods using plasma, we evaluated the possibility of plasma generation via ionization of neutral gas by proton beams, and performed highly resolved simulations of the beam-plasma interaction using SPACE, a 3D electromagnetic particle-in-cell code. The process of plasma generation is modelled using experimentally measured cross-section coefficients and a plasma recombination model that takes into account the presence of neutral gas and beam-induced electromagnetic fields. Numerically simulated plasma oscillations are consistent with theoretical analysis. In the beam-plasma interaction process, high-density neutral gas reduces the mean free path of plasma electrons and their acceleration. A numerical model for the drift speed as a limit of plasma electron velocity was developed. Simulations demonstrate a significant reduction of the beam electric field in the presence of plasma. Preliminary simulations using fully-ionized plasma have also been performed and compared with the case of beam-induced plasma.

43 PARTICLE ACCELERATORS↗

Development of nuclear data processing code FRENDY version 2

Nuclear data processing is an important interface between an evaluated nuclear data library and neutronics calculation codes. JAEA has been developed the new nuclear data processing code FRENDY from 2013. FRENDY version 1 generates the ACE files used for the continuous-energy Monte Carlo codes including PHITS, Solomon, Serpent,and MCNP and it was released as the open-source software under the 2-clause BSD license in 2019.After we released FRENDY version 1, many functions, e.g., the multi-group neutron cross-section library generation, the statistical uncertainty quantification of the probability tables for unresolved resonance cross-section, the 'perturbation' of the ACE file for uncertainty quantification, and the modification of the ENDF-6 formatted nuclear data file, have been developed. We released FRENDY version 2 including these functions. The present paper gives an overview of FRENDY and presents features of new functions implemented in FRENDY version 2. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

The AGORA High-resolution Galaxy Simulations Comparison Project. III. Cosmological Zoom-in Simulation of a Milky Way–mass Halo

In this work, we present a suite of high-resolution cosmological zoom-in simulations to z = 4 of a 10 12 M⊙ halo at z = 0, obtained using seven contemporary astrophysical simulation codes (Art-I, Enzo, Ramses, Changa, Gadget-3, Gear, and Gizmo) widely used in the numerical galaxy formation community. The physics prescriptions for gas cooling and heating and star formation are the same as the ones used in our previous Assembling Galaxies of Resolved Anatomy (AGORA) disk comparison but now account for the effects of cosmological processes such as the expansion of the universe, intergalactic gas inflow, and the cosmic ultraviolet background radiation emitted by massive stars and quasars. In this work, we introduce the most careful comparison yet of galaxy formation simulations run by different code groups, together with a series of four calibration steps each of which is designed to reduce the number of tunable simulation parameters adopted in the final run. In the first two steps, we methodically calibrate the gas physics, such as cooling and heating, in simulations without star formation. In the third step, we seek agreement on the total stellar mass produced with the common star formation prescription used in the AGORA disk comparison, in stellar-feedback-free simulations. In the last calibration step, we activate stellar feedback, where each code group is asked to set the feedback prescription to as close to the most widely used one in its code community as possible, while aiming for convergence in the stellar mass at z = 4 to the values predicted by semiempirical models. After all the participating code groups successfully complete the calibration steps, we achieve a suite of cosmological simulations with similar mass assembly histories down to z = 4. With numerical accuracy that resolves the internal structure of a target halo (≲100 physical pc at z = 4), we find that the codes overall agree well with one another, e.g., in gas and stellar properties, but also show differences, e.g., in circumgalactic medium (CGM) properties. We argue that, if adequately tested in accordance with our proposed calibration steps and common parameters, high-resolution cosmological zoom-in simulations can have robust and reproducible results. New code groups are invited to join and enrich this comparison by generating equivalent models or to test the code's compatibility on their own, by adopting the common initial conditions, the common easy-to-implement physics package, and the proposed calibration steps. Further analyses of the zoom-in simulations presented here will be presented in forthcoming reports from the AGORA Collaboration, including studies of the CGM, simulations by additional codes, and results at lower redshift.

79 ASTRONOMY AND ASTROPHYSICS↗

Dose Rate Evaluation for the ES-3100 Package with HEU Content Using MCNP, ADVANTG, Monaco, and MAVRIC

Here, this paper presents a comparative study of dose rate calculations for the ES-3100 package with highly enriched uranium (HEU) content for different source configurations using computer codes: (1) MCNP; (2) Automated Variance Reduction Generator (ADVANTG)/MCNP; (3) Monaco; and (4) Monaco with Automated Variance Reduction using Importance Calculations (MAVRIC). The Model ES-3100 package was developed at the Y-12 National Security Complex for domestic and international transportation of Type B fissile radioactive material. In this study, six different source configurations (i.e., solid cylinder, cylindrical hemi-shell, cylindrical shell, rectangular plate, cylindrical rod, or cylindrical segment form) having 36 kg of HEU metal inside the package containment vessel (based on configurations in the ES-3100/HEU safety analysis report for packaging) are evaluated. Dose rates at the package surfaces and 1 m from the package surfaces are calculated for these different source configurations. MCNP and Monaco cases are run without any biasing options to accelerate the convergence. Consistent Adjoint Driven Importance Sampling (CADIS) and Forward-Weighted CADIS (FW-CADIS) methods developed at the Oak Ridge National Laboratory are implemented in ADVANTG/MCNP and MAVRIC codes to accelerate the convergence. ADVANTG generates variance reduction parameters using Denovo code, and MCNP is used with the variance reduction parameters to accelerate the convergence. MAVRIC uses Denovo code to construct an importance map and a biased source distribution that are supplied to Monaco to accelerate the Monte Carlo simulation. The FW-CADIS option in ADVANTG and MAVRIC is used to accelerate the convergence in this study. The accelerated convergence cases (ADVANTG/MCNP and MAVRIC) are about 100 times faster with 100 times less particle simulation than those cases run without biasing options (analog MCNP and analog Monaco). Lastly, the MCNP, ADVANTG/MCNP, Monaco, and MAVRIC calculated dose rates at the package surfaces and at 1 m from the package surfaces for the different source configurations are compared and are found to be in general agreement.

42 ENGINEERING↗

Dose Rate Evaluation for the ES-3100 Package with HEU Content Using MCNP, ADVANTG, Monaco, and MAVRIC

This paper presents a comparative study of dose rate calculations for the ES-3100 package with highly enriched uranium (HEU) content for different source configurations using computer codes: (1) MCNP; (2) Automated Variance Reduction Generator (ADVANTG)/MCNP; (3) Monaco; and (4) Monaco with Automated Variance Reduction using Importance Calculations (MAVRIC). The Model ES-3100 package was developed at the Y-12 National Security Complex for domestic and international transportation of Type B fissile radioactive material. In this study, six different source configurations (i.e., solid cylinder, cylindrical hemi-shell, cylindrical shell, rectangular plate, cylindrical rod, or cylindrical segment form) having 36 kg of HEU metal inside the package containment vessel (based on configurations in the ES-3100/HEU safety analysis report for packaging) are evaluated. Dose rates at the package surfaces and 1 m from the package surfaces are calculated for these different source configurations. MCNP and Monaco cases are run without any biasing options to accelerate the convergence. Consistent Adjoint Driven Importance Sampling (CADIS) and Forward-Weighted CADIS (FW-CADIS) methods developed at the Oak Ridge National Laboratory are implemented in ADVANTG/MCNP and MAVRIC codes to accelerate the convergence. ADVANTG generates variance reduction parameters using Denovo code, and MCNP is used with the variance reduction parameters to accelerate the convergence. MAVRIC uses Denovo code to construct an importance map and a biased source distribution that are supplied to Monaco to accelerate the Monte Carlo simulation. The FW-CADIS option in ADVANTG and MAVRIC is used to accelerate the convergence in this study. The accelerated convergence cases (ADVANTG/MCNP and MAVRIC) are about 100 times faster with 100 times less particle simulation than those cases run without biasing options (analog MCNP and analog Monaco). The MCNP, ADVANTG/MCNP, Monaco, and MAVRIC calculated dose rates at the package surfaces and at 1 m from the package surfaces for the different source configurations are compared and are found to be in general agreement.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Education and training in the field of nuclear instrumentation and measurement: CEA/INSTN (National Institute for Nuclear Sciences and Technologies) strategy to improve and develop new pedagogical tools and methods

Part of the French Alternative Energies and Atomic Energy Commission (CEA), the National Institute for Nuclear Science and Technology (INSTN) is a higher education institution whose mission is to provide students and professionals a high level of scientific and technological qualification in all disciplines related to nuclear energy applications. In this frame, INSTN carries out education and training (E and T) programs in nuclear instrumentation and radioprotection. Its strategy has always been to complete theoretical courses by training courses and laboratory works carried out on an extensive range of training tools that includes a large panel of nuclear instrumentation as well as software applications. Since its creation in 1956, the INSTN has conducted both education and vocational programs on ionizing radiation detection. An extensive range of techniques have commonly been used during practical works with students and employees of companies who need to get the knowledge and specialization in this field. Today, the INSTN is mainly equipped with usual detectors and electronics in large numbers in order to be able to accommodate up to 48 trainees at the same time in two classrooms, with only two trainees for one workstation in order to optimize their learning. In the field of the neutron detection systems, the INSTN has strongly developed its offer taking advantage of the use of research reactors, such as ISIS reactor (700 kW) at Saclay. The implementation of neutron detection systems specific to the courses offers a unique way of observing and analysing the signal coming from neutron detectors, as well as learning how to set the parameters of the detection system in real conditions. Providing the trainees with an extensive overview of each part of the neutron monitoring instrumentation apply to a nuclear reactor, hands-on measurements on the ISIS reactor play a major role in ensuring a practical and comprehensive understanding of the neutron detection system and their integration in the safety system of nuclear reactors. It also gives a solid background for the follow up and the development of the neutron detection systems. Another field of activity of the INSTN is the development of new teaching tools using software applications. We describe hereafter two applications that have recently been developed by the institute, O.S.I.R.I.S and DOSIMEX. The INSTN and the company OREKA have developed an innovative teaching tool named O.S.I.R.I.S. The tool is built on a virtual 3D environment in which users operate in a totally free way. The action is located in a pressurised water reactor in the environment of a steam generator building. The users are students or professionals who want to learn and train on concrete situations on how to protect the workers against radiation. Through the use of this serious game, users must: establish a predictive dose evaluation, implement the principles of radiation protection, perform the dose result of the operation, analyse the gap between the predictive collective dose and the collective dose achieved, and decide about the lessons to provide feedback. Taking into account the increasing constraints related to radiation protection, it is essential to use computer codes to evaluate the dose rates generated by sources of ionizing radiation. Many powerful codes exist but are often relatively complex to implement and are dedicated to experts. In addition, these codes are often 'black boxes' that does not allow the user to understand the underlying physics. The objective of DOSIMEX codes developed by the INSTN is to give, by the means of a VBA code with a simple interface, the ability to easily conduct a wide range of radiological exposure situations: calculation of gamma, beta, neutron equivalent dose rate, calculation of internal contamination and atmospheric transfer.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Hyper-Heuristics to Automatically Target Code to Computer Architectures

With each new generation of High Performance Computing (HPC) architecture, the gap between peak theoretical performance and the observed performance is growing. The goal of this research is to develop a tool to utilize hyper-heuristics to target code to a computational environment. In order to test this, sorting algorithms will be evolved on several different architectures. The final solutions will then migrate to all other architectures and their fitnesses compared. If the natively-evolved algorithms out-perform all others, then it can be concluded that the tool successfully targeted its solutions to the architecture of origin. This is the first step towards creating a program-agnostic tool for optimizing code to the native environment. The results are pending testing on the high performance cluster. If it can be shown that the tool is able to optimize solutions for the environment, then the door opens to automatically optimizing entire programs.

97 MATHEMATICS AND COMPUTING↗

The search for a 100MA RancheroS magnetic flux compression generator

The Eulerian AMR rad-hydro-MHD code Roxane was used to investigate modifications to existing designs of the new RancheroS class of Magnetic Flux Compression Generators (FCGs) which might allow some members of this FCG family to exceed 100 MA driving a 10 nH static load. This report details the results of that study and proposes a specific generator modification which seems to satisfy both the peak current and desired risetime for the current pulse into the load. The details of the study and necessary modifications are presented. For details of the LA43S RancheroS FCG design and predictions for the first use of the generator refer to the relevant publications.

42 ENGINEERING↗

Evolutionary optimization of PAW data-sets for accurate high pressure simulations

We examine the challenge of performing accurate electronic structure calculations at high pressures by comparing the results of all-electron full potential linearized augmented-plane-wave calculations, as implemented in the WIEN2k code, with those of the projector augmented wave (PAW) method, as implemented in Quantum ESPRESSO or Abinit code. In particular, we focus on developing an automated and consistent way of generating transferable PAW data-sets that can closely produce the all electron equation of state defined from zero to arbitrary high pressures. The technique we propose is an evolutionary search procedure that exploits the ATOMPAW code to generate atomic data-sets and the Quantum ESPRESSO software suite for total energy calculations. We demonstrate different aspects of its workability by optimizing PAW basis functions of some elements relatively abundant in planetary interiors. In addition, we introduce a new measure of atomic data-set goodness by considering their performance uniformity over an extended pressure range. - Highlights: • An attempt made to achieve the AE-FLAPW accuracy, at the favorable computational efficiency of the PAW approach for an outspread pressure range. • Provided an automatic and consistent route for developing efficient and transferable PAW data-sets. • Explicated an improved measure for the goodness of data-sets by including uniformity of the data-set performance over an extended pressure range.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Numerical and simulation study of terahertz radiation generation by laser pulses propagating in the extraordinary mode in magnetized plasma

A one-dimensional numerical model for studying terahertz radiation generation by intense laser pulses propagating, in the extraordinary mode, through magnetized plasma has been presented. The direction of the static external magnetic field is perpendicular to the polarization as well as propagation direction of the laser pulse. A transverse electromagnetic wave with frequency in the terahertz range is generated due to the presence of the magnetic field. Further, two-dimensional simulations using XOOPIC code show that the THz fields generated in plasma are transmitted into vacuum. The fields obtained via simulation study are found to be compatible with those obtained from the numerical model.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Local non-Calderbank-Shor-Steane quantum error-correcting code on a three-dimensional lattice

We present a family of non-Calderbank-Shor-Steane quantum error-correcting code consisting of geometrically local stabilizer generators on a 3D lattice. We study the Hamiltonian constructed from ferromagnetic interaction of overcomplete set of local stabilizer generators. The degenerate ground state of the system is characterized by a quantum error-correcting code whose number of encoded qubits are equal to the second Betti number of the manifold. These models (i) have solely local interactions; (ii) admit a strong-weak duality relation with an Ising model on a dual lattice; (iii) have topological order in the ground state, some of which survive at finite temperature; and (iv) behave as classical memory at finite temperature.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗