Search NASA⌕ Search

SEARCH · Search NASA

Results for “Computer Programming”

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 91 records · Page 5

Optimization-Driven Scenario Grouping

Scenario decomposition algorithms for stochastic programs compute bounds by dualizing all nonanticipativity constraints and solving individual scenario problems independently. Here, we develop an approach that improves on these bounds by reinforcing a carefully chosen subset of nonanticipativity constraints, effectively placing scenarios into groups. Specifically, we formulate an optimization problem for grouping scenarios that aims to improve the bound by optimizing a proxy metric based on information obtained from evaluating a subset of candidate feasible solutions. We show that the proposed grouping problem is NP-hard in general, identify a polynomially solvable case, and present two formulations for solving the problem: a matching formulation for a special case and a mixed-integer programming formulation for the general case. We use the proposed grouping scheme as a preprocessing step for a particular scenario decomposition algorithm and demonstrate its effectiveness in solving standard test instances of two-stage 0–1 stochastic programs. Using this approach, we are able to prove optimality for all previously unsolved instances of a standard test set. Additionally, we implement this scheme as a preprocessing step for PySP, a publicly available and widely used implementation of progressive hedging, and compare this grouping approach with standard grouping approaches on large-scale stochastic unit commitment instances. Finally, the idea is extended to propose a finitely convergent algorithm for two-stage stochastic programs with a finite feasible region.

97 MATHEMATICS AND COMPUTING↗

Development and Porting of Nuclear Reactor Computational Models for the NRIC Virtual Test Bed in FY23

The U.S. DOE’s National Reactor Innovation Center (NRIC) hosts an open-source website and associated GitHub repository called the Virtual Test Bed (VTB) on which computational models for advanced reactors are documented and shared with the reactor community. In FY23 under the NRIC program, computational models for nuclear reactor analysis were developed and contributed to the VTB Github repository during FY23 by contributors at Argonne National Laboratory. Other models developed outside of NRIC were also ported to the VTB as part of this work, serving a broader mission to make computational reactor analysis models more widely available to the reactor community. The model development activities focused on demonstration of gas-cooled microreactor models including computational fluid dynamics simulations of flow through an industry-inspired air jacket design, and simulation of multiphysics transients for a gas-cooled microreactor assembly. Additionally, development of a molten salt reactor (led at Idaho National Laboratory) was supported through Argonne’s expertise in multigroup cross sections generation. Models for these two reactor types were targeted due to their relevancy to NRIC’s Demonstration of Microreactor Experiments (DOME) and Laboratory for Operation and Testing in the U.S. (LOTUS) physical test beds, which are slated to host microreactor and molten salt reactor experiments. The model porting activities consisted of developing detailed documentation for several physics models which originate from the Nuclear Energy Advanced Modeling and Simulation (NEAMS) program. We include only contributions from Argonne National Laboratory in this report.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

HIGH BURNUP FUEL-COOLANT INTERACTION ANALYSIS SUPPORTING FUEL SAFETY TESTING AT IDAHO NATIONAL LABORATORY

In the near future, experiments on HBu fuel under loss-of-coolant accident (LOCA) and reactivity-initiated accident (RIA) conditions will be performed within the Transient Reactor Test Facility (TREAT) at Idaho National Laboratory (INL). These experiments will be performed using the Transient Water Irradiation System for TREAT (TWIST) experiment vehicle. To support these experiments, analysis of fuel-coolant interaction (FCI) energetics is underway. This paper discusses FCIs in the context of light water reactor (LWR) safety, differentiating between the severe accident focus of commercial reactors and experimental RIA test programs where FCIs have occurred. However, it is highlighted that as the nuclear industry aims for increased burnup limits, the FCI events observed in RIA test programs may become relevant to commercial LWR safety analysis. The paper then presents developments to the UW-FCI computer program to enable simulation of FCIs initiated by solid fuel particles dispersing into the coolant during RIAs.

11 - NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

JaqalPaq v.1.1

Jaqal-pup (Jaqal Programming Utilities Project) is a high-level Python metaprogramming interface for Jaqal, a quantum programming language for near-term quantum hardware (see https://arxiv.org/abs/2003.09382 for a description of Jaqal). In addition to parsing and writing out Jaqal programs, it includes the ability to read in and write out quantum programs in other languages and frameworks, e.g. Qiskit (IBM), Quil (Rigetti), Cirq (Google), Q# (Microsoft), ProjectQ (ETH Zurich), and tket (Cambridge Quantum Computing). It implements a gate scheduler, an emulator of a small-scale quantum computer programmed using Jaqal, and tie-ins for other simulation back-ends. SAND2020-12710 M Sandia National Laboratories is a multimission laboratory managed and operated by National Technology & Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.

Russo, Antonio↗

Two new SciDAC institutes promote mathematical tools and software technology for high-performance computing

Bigger is often said to be better, and the newest extreme-scale computers certainly are bigger, with millions of processing units. Moreover, the breadth of science performed on the U.S. Department of Energy (DOE) computing facilities is expanding, with new technology such as artificial intelligence emerging. These advances are exciting, creating new opportunities for scientific discovery; however, they also raise new questions for scientists who want to exploit these advances for tackling more complex problems. Will my simulation code be able to utilize the accelerators in extreme-scale computing systems? Can I take advantage of the deepening memory hierarchy in heterogeneous processors? Is there a way around bottlenecks caused by the widening ratio of peak floating-point operations per second to I/0 bandwidth? How can I manage my huge amounts of data effectively? Can I analyze data in situ, or must I transfer it to offline storage for later analysis? To address such questions, DOE announced that it is providing $57.5 million over the next five years for two multidisciplinary teams — FASTMath and RAPIDS2 — to develop new tools and techniques to harness supercomputers for scientific discovery. The teams, called SciDAC Institutes, are part of the Scientific Discovery through Advanced Computing program.

97 MATHEMATICS AND COMPUTING↗

Design of a Do-It-Yourself Geiger-Muller Counter With Smartphone Mapping Application

Legacy Geiger-Muller (GM) survey meters recovered from fallout shelters have been used by several nuclear scientific societies as part of high school outreach programs. A donated antique instrument helps teachers demonstrate radiological principles, but fails to develop student's electronics skills, generate excitement for nuclear careers, or provide individuals with their own devices to explore the radioactive planet. A simple, affordable GM survey meter built by each student would increase direct engagement while providing hands-on experience with circuit-building, soldering, and computer programming. The inclusion of an affordable single-board computer as a component in the survey meter would enable students to tackle more various computer science and electronics projects, thereby potentially recruiting more students into technology and engineering. This paper details the challenges faced by an interdisciplinary undergraduate team designing an easy-to-assemble smart GM survey meter. Their iterative research, design, and testing process included modification to a basic circuit to enable use of different tube types, component cost reduction, application development, and data communication. The ultimate product of the team's efforts, a survey meter with affordable components and a smartphone application capable of creating radiation maps, is detailed in full.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Molecular-level origin of the carboxylate head group response to divalent metal ion complexation at the air-water interface

We exploit gas-phase cluster ion techniques to provide insight into the local interactions underlying divalent metal ion-driven changes in the spectra of carboxylic acids at the air-water interface. This information is used to clarify the experimental findings of surface sensitive spectroscopies that the CO stretching bands of long chain acids appear at very similar energies when the head group is deprotonated by high sub-phase pH or is exposed to relatively high concentrations of Ca2+ divalent metal ions (e.g., Ca2+ and Mg2+). To this end, we report the evolution of the vibrational spectra of size-selected [Ca2+·RCO2¯]+·(H2O)n=0-14 and RCO2¯·(H2O)n=0-14 cluster ions obtained using infrared photofragmentation mass spectrometry toward the features observed at the air-water interface. The carboxylate with R = -CD2CD3 was chosen in order to capture the longer chain behavior and to suppress band congestion that complicates the spectra of the light isotopologue. Surprisingly, not only does stepwise hydration of the RCO2¯ anion and the [Ca2+·RCO2¯]+ contact ion pair yield solvatochromic responses in opposite directions, but in both cases the responses of the two CO bands (?_s^COO and ?_as^COO) to hydration are opposite to each other! The result is that the two CO bands evolve toward their interfacial and bulk asymptotes from opposite directions. Theoretical simulations of the [Ca2+·RCO2¯]+·(H2O)n clusters indicate that the metal ion remains directly bound to the head group in a contact ion pair motif as the asymmetric CO stretch converges at the bulk value by n = 12, establishing that direct metal complexation can account for the interfacial and bulk behavior. We discuss these effects in the context of a qualitative model that invokes the water network-dependent local electric field along the C-C bond connecting the head group to the tail as the key parameter driving the observed trends. M.A.J. and H.C.A. thank the National Science Foundation through the NSF Center for Aerosol Impacts on Chemistry of the Environment (NSF-CAICE), CHE-1305427 for supporting this work. M.A.J. thanks the Air Force Office of Scientific Research for the cryogenic spectrometer used in the gas phase experiments. K.D.J. thanks the Department of Energy under grant no. DE-FG02-00ER15066. C.J. Mundy and S.M. Kathmann are supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, Division of Chemical Sciences, Geosciences & Biosciences. M.D. Baer was supported by the U.S. Department of Energy, Office of Basic Energy Sciences, Biomolecular Materials Program at PNNL. PNNL is operated by Battelle Memorial Institute for the U.S. Department of Energy under Contract No. DE-AC05- 76RL01830. Computing resources for the calculation of harmonic spectra were allocated by PNNL’s Institutional Computing program.

Denton, Joanna↗

Highly interactive, steered scientific workflows on HPC systems: optimizing design solutions

Scientific workflows are becoming increasingly important in high performance computing (HPC) settings, as the feasibility and appeal of many simultaneous heterogeneous tasks increases with increasing hardware capabilities. Currently no HPC-based workflow platform supports a dynamically adaptable workflow with interactive steering and analysis at run-time. Furthermore, for most workflow programs, compute resources are fixed for a given instance, resulting in a possible waste of expensive allocation resources when tasks are spawned and killed. Here we describe the design and testing of a run-time-interactive, adaptable, steered workflow tool capable of executing thousands of parallel tasks without an MPI programming model, using a database management system to facilitate task management through multiple live connections. We find that on the Oak Ridge Leadership Computing Facility pre-exascale Summit supercomputer it is possible to launch and interactively steer workflows with thousands of simultaneous tasks with negligible latency. For the case of particle simulation and analysis tasks that run for minutes to hours, this paradigm offers the prospect of a robust and efficient means to perform simulation-space exploration with on-the-fly analysis and adaptation.

Ossyra, John R↗

Method and system for semantic metadata compression in a two-tier storage system using copy-on-write

Example embodiments of the present invention relate to a method, a system, and a computer program product for managing metadata. The method includes determining a common characteristic of metadata entries for a plurality of files in a directory of a file system and computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries. The plurality of metadata entries in the file system then may be represented according to the computed representative metadata entry.

97 MATHEMATICS AND COMPUTING↗

On-the fly scheduling of execution of dynamic hardware behaviors

Methods for dynamically executing computer code across multiple disparate processing unit architectures are disclosed. During execution of a first portion of computer code on a first processing unit, it is determined that a first dynamic hardware behavior of a plurality of dynamic hardware behaviors will occur at a subsequent point in time, based on a second dynamic hardware behavior that is occurring. The methods include determining to execute code corresponding to the first dynamic hardware behavior on a second processing unit, rather than the first processing unit, and scheduling computer program code corresponding to the first dynamic hardware behavior to execute on the second processing unit rather than the first processing unit. Upon completion of execution of the computer code corresponding to the first dynamic hardware behavior, a remaining portion of the computer code is scheduled to execute on the first processing unit.

97 MATHEMATICS AND COMPUTING↗

A Comparison of GoldSim, RESRAD-Onsite, and NORMALYSA Modeling Tools at Radioactive Waste Sites - 19480

Radioactive waste disposal and associated decision making is a challenging problem around the world. A strong performance assessment model plays a crucial role in making good management and remediation decisions and in optimizing the performance of a site. The International Atomic Energy Agency (IAEA) MODARIA II Working Group 1 (WG1) is comparing the performance of various modeling platforms used at Naturally Occurring Radioactive Material (NORM) and legacy waste sites to support risk-informed decision making. Neptune and Company, Inc. (Neptune) has developed probabilistic performance assessment models using the GoldSim system modeling software at a variety of radioactive waste sites. This paper presents a comparison between GoldSim and two other tools used to evaluate radiation exposure and their associated risks: the NORM And Legacy Site Assessment (NORMALYSA) tool used to assess risk at the Zapadnoe mill tailings site, and the residual radioactivity (RESRAD-Onsite) computer program used to calculate Authorized Limits at the Los Alamos National Laboratory (LANL). The International Atomic Energy Agency (IAEA) supported development of NORMALYSA based off of Ecolego 6.0, in which the user connects several universal modules, representing various environmental transport and exposure pathways, and enters in site-specific data. Further work with NORMALYSA has continued under the MODARIA II WG 1. A radionuclide transport and dose calculation model of the Zapadnoe uranium mill tailings site at the Pridneprovsky Chemical Plant in the Ukraine has been configured by MODARIA II WG1 to test the capabilities of NORMALYSA. Under this test case, contaminant transport and effective dose calculations were performed for two exposure scenarios. The onsite worker is exposed via external ground irradiation and radon and radioactive dust inhalation. The offsite resident defines a residence established 300 years after institutional control has ended, 800 meters downstream from the site with exposure pathways including: ingestion of garden vegetables irrigated by contaminated ground water, ingestion of fish from the Konoplyanka River and agricultural activities in the contaminated garden. GoldSim modeling software is a dynamic probabilistic modeling platform that evaluates uncertainty in a robust and transparent manner. Although GoldSim provides contaminant and radionuclide transport modules to facilitate integrated modeling of radionuclide migration in the environment, these features are not embedded in an existing modeling framework, except as created by the user. Neptune developed a GoldSim model for the two exposure scenarios of the Zapadnoe test case. Neptune's Generic PA Model was used as a starting point for the Zapadnoe site. Input parameters for the GoldSim model include site-specific parameters from the MODARIA Working Group as well as parameters from the Generic PA Model and other PA models created by Neptune. For the other comparison, Version 7.0 of RESRAD-Onsite, developed by Argonne National Laboratory for the U.S. Department of Energy (DOE), was used to calculate Authorized Limits for LANL. Authorized Limits are concentrations of radionuclides in soil that support the evaluation process to clear land for release under different uses. The RESRAD-Onsite computer code was used to calculate Authorized Limits because this program was specifically designed to derive radionuclide soil guidelines corresponding to a specific dose criterion. The scope of the RESRAD dose or risk evaluation is constrained to the transport and exposure pathways that have been included in the computer code. To assist in illustrating the capability of GoldSim modeling software, a GoldSim model was created to replicate the calculation of LANL's Authorized Limits for soil. The main exposure pathways in this model are inhalation of dust and gas, plant ingestion, soil ingestion, and external ground irradiation. All of the processes and outputs of RESRAD-Onsite and NORMALYSA can be created in a GoldSim model, but the value of GoldSim lies in its flexibility for application to any of a wide variety of environmental modeling problems. GoldSim allows development of site-specific inventory, transport mechanisms and risk assessment scenarios. If all potentially complete release, transport, and exposure pathways are addressed in an existing dose and risk assessment computer code, and if the code's capabilities fulfill the project modeling objectives, then expending resources to create a GoldSim model may not be necessary. Site optimization and good decision making about site management are often best when supported with the flexibility of GoldSim as a modeling tool. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

The case for free and open source software in research and scholarship

Free and open source software (FOSS) is any computer program released under a licence that grants users rights to run the program for any purpose, to study it, to modify it, and to redistribute it in original or modified form. Here, our aim is to explore the intersection between FOSS and computational reproducibility. We begin by situating FOSS in relation to other ‘open’ initiatives, and specifically open science, open research, and open scholarship. In this context, we argue that anyone who actively contributes to the research process today is a computational researcher, in that they use computers to manage and store information. We then provide a primer to FOSS suitable for anyone concerned with research quality and sustainability—including researchers in any field, as well as support staff, administrators, publishers, funders, and so on. Next, we illustrate how the notions introduced in the primer apply to resources for scientific computing, with reference to the GNU Scientific Library as a case study. We conclude by discussing why the common interpretation of ‘open source’ as ‘open code’ is misplaced, and we use this example to articulate the role of FOSS in research and scholarship today.

97 MATHEMATICS AND COMPUTING↗

Simulation of Motion of H{sub 2} and D{sub 2} Molecules in Sextupole Magnets

We simulate the motion of hydrogen and deuterium molecules in the magnetic system of a setup intended for obtaining nuclear-spin-polarized molecules. Spatial separation of molecules with different magnetic moment projections by the spin filtration method in a nonuniform magnetic field is performed using superconducting sextupole magnets. Calculations are carried out for a magnetic field induction of 3.7 T at the poles and a nozzle temperature of 7 K. Simulation show that the ratio of polarized flux of hydrogen molecules to the detector to the total flux from the source nozzle is 2.3 × 10{sup –6}, nuclear polarization being close to 100%. Calculations performed for deuterium reveal that this ratio is 7 times smaller due to the smallness of the magnetic moment relative to hydrogen molecules. Trajectories of molecules in the magnetic system and their spatial distribution are represented graphically. Mathematical aspects of the algorithm of the computer program developed for this purpose are considered.

74 ATOMIC AND MOLECULAR PHYSICS↗

Spinteract: a program to refine magnetic interactions to diffuse scattering data

Magnetic diffuse scattering—the broad magnetic scattering features observed in neutron-diffraction data above a material's magnetic ordering temperature—provides a rich source of information about the material's magnetic Hamiltonian. However, this information has often remained under-utilised due to a lack of available computer software that can fit values of magnetic interaction parameters to such data. Here, an open-source computer program, Spinteract, is presented, which enables straightforward refinement of magnetic interaction parameters to powder and single-crystal magnetic diffuse scattering data. Here, the theory and implementation of this approach are summarised. Examples are presented of refinements to published experimental diffuse-scattering data sets for the canonical antiferromagnet MnO and the highly-frustrated classical spin liquid Gd 3 Ga 5 O 12 . Guidelines for data collection and refinement are outlined, and possible developments of the approach are discussed.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

TEAM Project Review, Year 2

This report summarizes our research activities within the TEAM project between December 2020 and December 2021, funded by the ASCR Advanced Research in Quantum Computing program. During the reporting period the LLNL-MSU team has made progress on several fronts. An overarching goal of the team is to provide a comprehensive suite of software tools that can be used for the Characterize-Optimize-Compute loop needed to implement and execute algorithms on quantum devices. We are concurrently developing lightweight solvers that can be used on desktop computers to find optimal control pulses and to characterize small quantum systems (consisting of a few transmons and cavities). However, desktop computers are insufficient for simulating and characterizing larger quantum systems. We have therefore also developed parallel, distributed memory, simulators and optimization solvers, both for open and closed quantum systems. These parallel solvers have, for example, been used to study quantum optimal control for pure-state preparation, utilizing 1000’s of cores on a modern high-performance computing (HPC) platform.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

SonicPy: a suite of programs for ultrasound pulse-echo data acquisition and analysis

Sound speed and elastic constants measurements in solids and liquids are commonly performed using the ultrasound pulse-echo technique. Recent advances have expanded the use of this technique at numerous high pressure synchrotron beamlines and offline laboratories. However, the increased experimental throughput has revealed many limitations in existing software for handling the rapid measurement and the subsequent data-reduction. Here, we report the development of a collection of computer programs for sound speed measurements using the ultrasound pulse-echo technique, compatible with stepped multi-frequency, as well as broadband-pulse, couplant-corrected methods. The programs provide a highly interactive graphical interface, enable efficient measurement, exploration and near real-time analysis of the ultrasound data, and contain features useful for working with samples under high pressure and/or high temperature. The included analysis programs can alleviate the time required for data reduction from hours to less than a minute, allowing users to make timely and informed decisions regarding the appropriate experimental parameters.

97 MATHEMATICS AND COMPUTING↗

Global Benefits: the LBNF/DUNE Project

LBNF/DUNE is an international mega-science project hosted by the Department of Energy’s Fermilab. http://www.fnal.gov/dune It will send a beam of tiny particles called neutrinos 1,300 kilometers straight through the earth from Fermilab to the Sanford Underground Research Facility. It will help solve some of the deepest mysteries of the universe and boost innovation while training young people around the world in science, engineering and computing. Scientists and engineers at universities and laboratories are working hand-in-hand with companies to design electronics, build hardware and develop computer programs for the project. LBNF and DUNE will create jobs as well as demand for materials, products and services. Students in dozens of countries around the world will start their careers in science and engineering with this project, and then transfer their knowledge into industry, medicine, computer science and many other fields.

43 PARTICLE ACCELERATORS↗