Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “open source codes”

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,261 records · Page 70

CLMM : a LSST-DESC cluster weak lensing mass modeling library for cosmology

ABSTRACT We present the v1.0 release of CLMM, an open source python library for the estimation of the weak lensing masses of clusters of galaxies. CLMM is designed as a stand-alone toolkit of building blocks to enable end-to-end analysis pipeline validation for upcoming cluster cosmology analyses such as the ones that will be performed by the Vera C. Rubin Legacy Survey of Space and Time-Dark Energy Science Collaboration (LSST-DESC). Its purpose is to serve as a flexible, easy-to-install, and easy-to-use interface for both weak lensing simulators and observers and can be applied to real and mock data to study the systematics affecting weak lensing mass reconstruction. At the core of CLMM are routines to model the weak lensing shear signal given the underlying mass distribution of galaxy clusters and a set of data operations to prepare the corresponding data vectors. The theoretical predictions rely on existing software, used as backends in the code, that have been thoroughly tested and cross-checked. Combined theoretical predictions and data can be used to constrain the mass distribution of galaxy clusters as demonstrated in a suite of example Jupyter Notebooks shipped with the software and also available in the extensive online documentation.

79 ASTRONOMY AND ASTROPHYSICS↗

Imprinting a Focused X-Ray Laser Beam to Measure Its Full Spatial Characteristics

The new generation of x-ray free-electron lasers opens up unique avenues for exploring matter under exotic and extreme conditions. Extensive spatial characterization of focused, typically (sub)micron-sized, laser beams is indispensable but, nevertheless, difficult to be accomplished due to excessive radiation intensities. Methods exist allowing indirect or semidirect focus characterization from a safe distance far from the focal point. Here, in this study, we present a direct method of in-focus numerical phase recovery exploiting multishot desorption imprints in poly(methyl methacrylate). Shapes of the imprints serve as input data for the newly developed code PhaRe (phase recovery), inspired by the iterative Gerchberg-Saxton algorithm. A procedure of dynamic input-output mixing guarantees that the algorithm always converges to a self-consistent paraxial Helmholtz equation solution, which is thereafter optimized for transverse spatial coherence. Very good agreement with single-shot ablation imprints in lead tungstate (PbWO 4 ) is found. The experiment is carried out at the Linac Coherent Light Source with a focused beam monochromatized at 800 eV. The results of the coherence optimization indicate that the act of monochromatization may have an effect on otherwise very good transverse coherence of free-electron laser beams.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

SU-E-T-240: Monte Carlo Modelling of SMC Proton Nozzles Using TOPAS

Purpose: To simulate the 60Co beam from a novel Gamma—Tomo SBRT system and to calculate the output factors and dose rates for different source configurations and collimator sizes. Methods: The BEAM-Monte Carlo code is used to realistically model the system geometry, including 32 source capsules, source housing, primary collimator and 4 different changeable collimators. The sources (6.22 mm of diameter) are located in 2 rows with different angles and distances to the longitudinal axis and the beams can be collimated to obtain four different circular field sizes at the isocenter (35 mm, 16 mm, 7mm, and 3.5mm). Since the dose distributions will be determined in a spherical polystyrene phantom of 8cm radius centered at the isocenter, a new geometry module is designed for the dose calculation. Results: : The caracteristics of the particle spectra emerging from each source are determined and the influence of the source position on the spectra reaching the isocenter is found to be minimal (<2%). We found that the scattered photons represent about 15% of the total number of photons reaching the scoring plane immediately (1 mm) below the source and primary collimator. The radial photon fluence does not vary significantly inside the collimator opening and decreases quickly beyond the 3cm radius (projected at the isocenter plane). Conclusion: Our preliminary results indicate that the position of the source and primary collimator assembly does not affect the energy spectra and fluence distributions reaching the isocenter significantly. This allows the use of a well-represented source model for all the sources to perform the dose calculations for all the changeable collimators for this novel Gamma-Tomo SBRT system.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Fermilab&#x27;s Transition to Token Authentication

Fermilab is the first High Energy Physics institution to transition from X.509 user certificates to authentication tokens in production systems. All the experiments that Fermilab hosts are now using JSON Web Token (JWT) access tokens in their grid jobs. Many software components have been either updated or created for this transition, and most of the software is available to others as open source. The tokens are defined using the WLCG Common JWT Profile. Token attributes for all the tokens are stored in the Fermilab FERRY system which generates the configuration for the CILogon token issuer. High security-value refresh tokens are stored in Hashicorp Vault configured by htvault-config, and JWT access tokens are requested by the htgettoken client through its integration with HTCondor. The Fermilab job submission system jobsub was redesigned to be a lightweight wrapper around HTCondor. The grid workload management system GlideinWMS which is also based on HTCondor was updated to use tokens for pilot job submission. For automated job submissions a managed tokens service was created to reduce duplication of effort and knowledge of how to securely keep tokens active. The existing Fermilab file transfer tool ifdh was updated to work seamlessly with tokens, as well as the Fermilab POMS (Production Operations Management System) which is used to manage automatic job submission and the RCDS (Rapid Code Distribution System) which is used to distribute analysis code via the CernVM FileSystem. The dCache storage system was reconfigured to accept tokens for authentication in place of X.509 proxy certificates. As some services and sites have not yet implemented token support, proxy certificates are still sent with jobs for backwards compatibility, but some experiments are beginning to transition to stop using them.

Dykstra, Dave [Fermilab] (ORCID:0000000326539015)↗

AtomicJ: An open source software for analysis of force curves

We present an open source Java application for analysis of force curves and images recorded with the Atomic Force Microscope. AtomicJ supports a wide range of contact mechanics models and implements procedures that reduce the influence of deviations from the contact model. It generates maps of mechanical properties, including maps of Young's modulus, adhesion force, and sample height. It can also calculate stacks, which reveal how sample's response to deformation changes with indentation depth. AtomicJ analyzes force curves concurrently on multiple threads, which allows for high speed of analysis. It runs on all popular operating systems, including Windows, Linux, and Macintosh.

42 ENGINEERING↗

T3: Secure, Scalable, Distributed Data Movement and Remote System Control for Enterprise Level Cyber Security

Enterprise level cyber security requires the deployment, operation, and monitoring of many sensors across geographically dispersed sites. Communicating with the sensors to gather data and control behavior is a challenging task when the number of sensors is rapidly growing. This paper describes the system requirements, design, and implementation of T3, the third generation of our transport software that performs this task. T3 relies on open source software and open Internet standards. Data is encoded in MIME format messages and transported via NNTP, which provides scalability. OpenSSL and public key cryptography are used to secure the data. Robustness and ease of development are increased by defining an internal cryptographic API, implemented by modules in C, Perl, and Python. We are currently using T3 in a production environment. It is freely available to download and use for other projects.

97 MATHEMATICS AND COMPUTING↗

ITER Port Interspace Pressure Calculations

The ITER ('the way' in Latin) project in Cadarache, France, will operate the largest tokamak ever built to demonstrate the physical and technical feasibility of nuclear fusion as an energy source. The ITER vacuum vessel is equipped with 50 access ports. Each port has an opening in the bio-shield that communicates with a dedicated port cell. During tokamak operation, the bio-shield opening must be closed with a concrete plug to shield the radiation coming from the plasma. This port plug separates the port cell into a port interspace (between vacuum vessel closure lid and port plug) on the inner side and a port cell on the outer side. This paper presents calculations of pressures and temperatures in the ITER port interspace after a double-ended guillotine break (DEGB) of a pipe in the tokamak cooling water system (TCWS). It is assumed that the DEGB occurs during the worst possible conditions-during water baking operation, with water at 523 K (250 deg. C) and 4.4 MPa. These conditions are more severe than during normal tokamak operation with the water at 398 K (125 deg. C) and 2 MPa. Two computer codes are employed in these calculations: RELAP5-3D Version 4.2.1 to calculate blowdown releases from the pipe break, and MELCOR, Version 1.8.6 to calculate pressures and temperatures in the port interspace. A sensitivity study has been performed to optimize the maximum peak pressure in the port interspace volume of ITER. The optimum case was for a labyrinth area (FL131) of 0.5 m{sup 2} and a relief panel (FL135) kept open after the first cycle. This case keeps the pressure in the port interspace under 150 kPa and the temperatures under 385 K. (authors)

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Pseudonymization at Scale: OLCF’s Summit Usage Data Case Study

The analysis of vast amounts of data and the processing of complex computational jobs have traditionally relied upon high performance computing (HPC) systems, which offer reliable and efficient management of large-scale computational and data resources. Understanding these analyses’ needs is paramount for designing solutions that can lead to better science, and similarly, understanding the characteristics of the user behavior on those systems is important for improving user experiences on HPC systems. A common approach to gathering data about user behavior is to extract workload characteristics from system log data available only to system administrators. Recently at Oak Ridge Leadership Computing Facility (OLCF), however, we unveiled user behavior about the Summit supercomputer by collecting data from a user’s point of view with ordinary Unix commands.In this paper, we discuss the process, challenges, and lessons learned while preparing this dataset for publication and submission to an open data challenge. The original dataset contains personal identifiable information (PII) about the users of OLCF which needed be masked prior to publication, and we determined that anonymization, which scrubs PII completely, destroyed too much of the structure of the data to be interesting for the data challenge. We instead chose to pseudonymize the dataset, which reduced the linkability of the dataset to the users’ identities. Pseudonymization is significantly more computationally expensive than anonymization, and the size of our dataset, which is approximately 175 million lines of raw text, necessitated the development of a parallelized workflow that could be reused on different HPC machines. We demonstrate the scaling behavior of the workflow on two leadership class HPC systems at OLCF, and we show that we were able to bring the overall makespan time from an impractical 20+ hours on a single node down to around 2 hours. As a result of this work, we release the entire pseudonymized dataset and make the workflows and source code publicly available.

Maheshwari, Ketan↗

Velo: Riding the Knowledge Management Wave for Simulation and Modeling

Modern scientific enterprises are inherently knowledge-intensive. In general, scientific studies in domains such as geosciences, climate, and biology require the acquisition and manipulation of large amounts of experimental and field data in order to create inputs for large-scale computational simulations. The results of these simulations must then be analyzed, leading to refinements of inputs and models and further simulations. Further, these results must be managed and archived to provide justifications for publications and regulatory decisions that are based on these models. In this paper we describe our Velo framework that is designed as a reusable, domain independent knowledge management infrastructure for modeling and simulation. Velo leverages, integrates, and extends open source collaborative and content management technologies to create a scalable and flexible core platform that can be tailored to specific scientific domains. In this paper we describe the architecture of Velo for managing and associating the various types of data that are used and created in modeling and simulation projects, as well as the framework for integrating domain-specific tools. To demonstrate a realization of Velo, we describe the Geologic Sequestration Software Suite (GS3) that has been developed to support geologic sequestration modeling. This provides a concrete example of the inherent extensibility and utility of our approach.

99 GENERAL AND MISCELLANEOUS↗

Implementation of a practical Markov chain Monte Carlo sampling algorithm in PyBioNetFit

Abstract Summary Bayesian inference in biological modeling commonly relies on Markov chain Monte Carlo (MCMC) sampling of a multidimensional and non-Gaussian posterior distribution that is not analytically tractable. Here, we present the implementation of a practical MCMC method in the open-source software package PyBioNetFit (PyBNF), which is designed to support parameterization of mathematical models for biological systems. The new MCMC method, am, incorporates an adaptive move proposal distribution. For warm starts, sampling can be initiated at a specified location in parameter space and with a multivariate Gaussian proposal distribution defined initially by a specified covariance matrix. Multiple chains can be generated in parallel using a computer cluster. We demonstrate that am can be used to successfully solve real-world Bayesian inference problems, including forecasting of new Coronavirus Disease 2019 case detection with Bayesian quantification of forecast uncertainty. Availability and implementation PyBNF version 1.1.9, the first stable release with am, is available at PyPI and can be installed using the pip package-management system on platforms that have a working installation of Python 3. PyBNF relies on libRoadRunner and BioNetGen for simulations (e.g. numerical integration of ordinary differential equations defined in SBML or BNGL files) and Dask.Distributed for task scheduling on Linux computer clusters. The Python source code can be freely downloaded/cloned from GitHub and used and modified under terms of the BSD-3 license (https://github.com/lanl/pybnf). Online documentation covering installation/usage is available (https://pybnf.readthedocs.io/en/latest/). A tutorial video is available on YouTube (https://www.youtube.com/watch?v=2aRqpqFOiS4&t=63s). Supplementary information Supplementary data are available at Bioinformatics online.

59 BASIC BIOLOGICAL SCIENCES↗

Development of a time-variable nuclear pulser for half life measurements

In this work a time-variable pulser system with an exponentially-decaying pulse frequency is presented, which was developed using the low-cost, open-source Arduino microcontroler plataform. In this system, the microcontroller produces a TTL signal in the selected rate and a pulse shaper board adjusts it to be entered in an amplifier as a conventional pulser signal; both the decay constant and the initial pulse rate can be adjusted using a user-friendly control software, and the pulse amplitude can be adjusted using a potentiometer in the pulse shaper board. The pulser was tested using several combinations of initial pulse rate and decay constant, and the results show that the system is stable and reliable, and is suitable to be used in half-life measurements.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

PetIGA: A framework for high-performance isogeometric analysis

We present PetIGA, a code framework to approximate the solution of partial differential equations using isogeometric analysis. PetIGA can be used to assemble matrices and vectors which come from a Galerkin weak form, discretized with Non-Uniform Rational B-spline basis functions. We base our framework on PETSc, a high-performance library for the scalable solution of partial differential equations, which simplifies the development of large-scale scientific codes, provides a rich environment for prototyping, and separates parallelism from algorithm choice. We describe the implementation of PetIGA, and exemplify its use by solving a model nonlinear problem. To illustrate the robustness and flexibility of PetIGA, we solve some challenging nonlinear partial differential equations that include problems in both solid and fluid mechanics. Lastly, we show strong scaling results on up to 4096 cores, which confirm the suitability of PetIGA for large scale simulations.

97 MATHEMATICS AND COMPUTING↗

FENIX: Towards a Fully Integrated Multiphysics Framework for Plasma Facing Component Modeling

Computational tools have a crucial role to play in accelerating the deployment of fusion as a clean, reliable, abundant, and sustainable energy source. Multiphysics, high-fidelity simulation capabilities can help model, study, and predict intricate interactions between materials performance, plasma exposure, neutron irradiation, and engineering processes. As such, they can assist in the resolution of scientific and engineering challenges underpinning design, construction, and commission of fusion power plants. To address these needs, ongoing efforts are leveraging the Multiphysics Object-Oriented Simulation Environment (MOOSE) framework and delivering new computational tools for the fusion community. These tools inherit crucial attributes from MOOSE. They are open-source, modular, integrated with nuclear industry-standard software quality assurance processes, and enable multiphysics, multi-fidelity, fully integrated, zero- to three-dimensional, and massively parallel simulations. After a short overview of these capabilities, we will present the development of Fusion ENergy Integrated multiphys-X (FENIX), a MOOSE-based application designed to enable plasma facing component design and performance evaluation. Throughout their lifetime, plasma facing components are exposed to extreme thermal loads, repeated thermal shocks, and irradiation by plasma ions, neutral particles, and high-energy neutrons. Consequently, designing a plasma facing component with acceptable lifetime degradation is extremely challenging. FENIX aims to model the multiphysics environment in which plasma facing components evolve to accelerate their design studies. To that end, FENIX couples existing MOOSE capabilities such as heat transfer, thermomechanics, and thermal hydraulics, with tritium transport via the MOOSE-based Tritium Migration Analysis Program, Version 8 (TMAP8), with neutronics via the MOOSE-based high-fidelity neutron-photon transport and fluid dynamics code Cardinal, and finally with Particle-in-Cell plasma simulation capabilities being developed in this project. In this study, we present the current FENIX capabilities and preliminary results of its application to model the Tritium Plasma Experiment set up at Idaho National Laboratory.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

MPI-AMRVAC FOR SOLAR AND ASTROPHYSICS

In this paper, we present an update to the open source MPI-AMRVAC simulation toolkit where we focus on solar and non-relativistic astrophysical magnetofluid dynamics. We highlight recent developments in terms of physics modules, such as hydrodynamics with dust coupling and the conservative implementation of Hall magnetohydrodynamics. A simple conservative high-order finite difference scheme that works in combination with all available physics modules is introduced and demonstrated with the example of monotonicity-preserving fifth-order reconstruction. Strong stability-preserving high-order Runge-Kutta time steppers are used to obtain stable evolutions in multi-dimensional applications, realizing up to fourth-order accuracy in space and time. With the new distinction between active and passive grid cells, MPI-AMRVAC is ideally suited to simulate evolutions where parts of the solution are controlled analytically or have a tendency to progress into or out of a stationary state. Typical test problems and representative applications are discussed with an outlook toward follow-up research. Finally, we discuss the parallel scaling of the code and demonstrate excellent weak scaling up to 30, 000 processors, allowing us to exploit modern peta-scale infrastructure.

79 ASTRONOMY AND ASTROPHYSICS↗

astroABC : An Approximate Bayesian Computation Sequential Monte Carlo sampler for cosmological parameter estimation

Given the complexity of modern cosmological parameter inference where we arefaced with non-Gaussian data and noise, correlated systematics and multi-probecorrelated data sets, the Approximate Bayesian Computation (ABC) method is apromising alternative to traditional Markov Chain Monte Carlo approaches in thecase where the Likelihood is intractable or unknown. The ABC method is called"Likelihood free" as it avoids explicit evaluation of the Likelihood by using aforward model simulation of the data which can include systematics. Weintroduce astroABC, an open source ABC Sequential Monte Carlo (SMC) sampler forparameter estimation. A key challenge in astrophysics is the efficient use oflarge multi-probe datasets to constrain high dimensional, possibly correlatedparameter spaces. With this in mind astroABC allows for massive parallelizationusing MPI, a framework that handles spawning of jobs across multiple nodes. Akey new feature of astroABC is the ability to create MPI groups with differentcommunicators, one for the sampler and several others for the forward modelsimulation, which speeds up sampling time considerably. For smaller jobs thePython multiprocessing option is also available. Other key features include: aSequential Monte Carlo sampler, a method for iteratively adapting tolerancelevels, local covariance estimate using scikit-learn's KDTree, modules forspecifying optimal covariance matrix for a component-wise or multivariatenormal perturbation kernel, output and restart files are backed up everyiteration, user defined metric and simulation methods, a module for specifyingheterogeneous parameter priors including non-standard prior PDFs, a module forspecifying a constant, linear, log or exponential tolerance level,well-documented examples and sample scripts. This code is hosted online athttps://github.com/EliseJ/astroABC

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

s-PROCESSING IN THE GALACTIC DISK. I. SUPER-SOLAR ABUNDANCES OF Y, Zr, La, AND Ce IN YOUNG OPEN CLUSTERS

In a recent study based on homogeneous barium abundance measurements in open clusters (OCs), a trend of increasing [Ba/Fe] ratios for decreasing cluster age was reported. We present here further abundance determinations, relative to four other elements having important s-process contributions, with the aim of investigating whether or not the growth found for [Ba/Fe] is indicative of a general property, shared also by the other heavy elements formed by slow neutron captures. In particular, we derived abundances for yttrium, zirconium, lanthanum, and cerium, using equivalent width measurements and the MOOG code. Our sample includes 19 OCs of different ages, for which the spectra were obtained by the ESO Very Large Telescope using the UVES spectrometer. The growth previously suggested for Ba is confirmed for all the elements analyzed in our study. This fact implies significant changes in our views of the Galactic chemical evolution for elements beyond iron. Our results necessarily require that very low mass asymptotic giant branch stars (M{approx}<1.5 M{sub sun}) produce larger amounts of s-process elements (and hence activate the {sup 13}C-neutron source more effectively) than previously expected. Their role in producing neutron-rich elements in the Galactic disk has been so far underestimated, and their evolution and neutron-capture nucleosynthesis should now be reconsidered.

79 ASTRONOMY AND ASTROPHYSICS↗

SCALE Modeling of the Sodium Cooled Fast-Spectrum Advanced Burner Test Reactor

This report documents the modeling and simulation of a sodium-cooled fast reactor (SFR) as part of a U.S. Nuclear Regulatory Commission–sponsored project to assess the modeling and simulation capabilities for accident progression, source term, and consequence analysis for advanced reactor technologies with the Oak Ridge National Laboratory code SCALE and the Sandia National Laboratories (SNL) code MELCOR. Based on publicly available benchmark specifications, a fully heterogeneous 3D SCALE model of the 250 MWth Advanced Burner Test Reactor (ABTR) was developed to demonstrate SCALE’s capabilities for full-core reactivity analysis, fuel inventory prediction, and decay heat analysis of an SFR. The benchmark specifications contain modeling details for the ABTR core at the beginning of equilibrium cycle (BOEC) at operating conditions; they were derived from a 2006 preconceptual design report produced by Argonne National Laboratory. The ABTR was designed to demonstrate reactor-based transmutation of transuranics, that is, to “burn” transuranics recovered from light-water reactor (LWR) spent fuel. The ABTR’s fuel is designed to operate in 4 month cycles using uranium/transuranic (U/TRU) metallic fuel, with a TRU content of approximately 20%, at a conversion ratio of approximately 0.6. Various reactivity calculations were performed with SCALE for the ABTR and, where possible, compared with results available in the open literature. Additionally, SCALE was used to perform a full-core depletion calculation over the 4 month cycle to obtain the nuclide inventory at the end of equilibrium cycle (EOEC). These nuclide inventories, decay heat, power profiles, and reactivity feedback coefficients at EOEC represent the initial conditions for analyzing severe accident scenarios with MELCOR.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Interactive statistical decision tools (GiSdT): An open source software integration of decision analysis and stakeholder judgment for sustainable waste management, disposal and remediation - 15650

The vast majority of remediation and waste management decisions are made without quantitative consideration of economic and socio-political factors. They are made instead based on quantitative metrics of human health risk. Sustainable decisions need to be made based on all three 'pillars of sustainability' (economics, environment and social), and require understanding and characterization of the costs and values associated with each pillar. In addition, such decisions need to conform to regulatory or other legal requirements, which often constrains the decision space of interest. Although efforts are often made to include factors across all three pillars (for example, for decisions made under CERCLA), these efforts are usually qualitative, and hence difficult to defend. They lack technical defensibility, transparency and traceability. The purpose of GiSdT (Guided Interactive Statistical Decision Tools) is to provide a quantitative framework whereby all aspects of a decision problem, such as remediation and waste management decisions, can be addressed quantitatively, and hence, defensibly, transparently and traceably. Most decision-makers do not currently have access to useful or usable methods and approaches when are presented with choices that have significant impacts across all three pillars of sustainability. The goal of GiSdT is to provide that access by identifying or developing effective and user-friendly decision methods and approaches that empower decision-makers to explicitly and routinely incorporate all aspects of sustainability into their decision-making. To identify and develop these methods and approaches, GiSdT provides the tools needed for decision-makers and stakeholders to understand and characterize their knowledge of their current decision-making processes, and what methods and approaches they need to pro-actively and quantitatively address all aspects of sustainability in their decisions. GiSdT is an open source interactive framework program that provides the tools needed to address the relevant components of a sustainability-based decision problem, including describing the decision landscape, translating that landscape into goals and objectives, valuing the measurable attributes that describe each objective, identifying decision options and addressing the uncertainty in the attributes (e.g., human health risk, institutional controls) through appropriate probabilistic models. In addition to addressing these quantitative technical components, the GiSdT program is aimed at facilitating stakeholder involvement so that the perspectives, values and objectives are all relevant stakeholders are addressed explicitly in the decision making process. The technical underpinnings of our software program, called Guided Interactive Statistical Decision Tools (GiSdT), are described. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗