Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “APIs”

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 811 records · Page 45

rabpro: global watershed boundaries, river elevation profiles, and catchment statistics

River and Basin Profiler (rabpro) is a Python package to delineate watersheds, extract river flowlines and elevation profiles, and compute watershed statistics for any location on the Earth’s surface. As fundamental hydrologically-relevant units of surface area, watersheds are areas of land that drain via aboveground pathways to the same location, or outlet. Delineations of watershed boundaries are typically performed on digital elevation models (DEMs) that represent surface elevations as gridded rasters. Depending on the resolution of the DEM and the size of the watershed, delineation may be very computationally expensive. With this in mind, we designed rabpro to provide user-friendly workflows to manage the complexity and computational expense of watershed calculations given an arbitrary coordinate pair. In addition to basic watershed delineation, rabpro will extract the elevation profile for a watershed’s mainchannel flowline. This enables the computation of river slope, which is a critical parameter in many hydrologic and geomorphologic models. Finally, rabpro provides a user-friendly wrapper around Google Earth Engine’s (GEE) Python API to enable cloud-computing of zonal watershed statistics and/or time-varying forcing data from hundreds of available datasets. Altogether, rabpro provides the ability to automate or semi-automate complex watershed analysis workflows across broad spatial extents.

54 ENVIRONMENTAL SCIENCES↗

Scientific Computational Imaging Code (SCICO)

Scientific Computational Imaging Code (SCICO) is a Python package for solving the inverse problems that arise in scientific imaging applications. Its primary focus is providing methods for solving ill-posed inverse problems by using an appropriate prior model of the reconstruction space. SCICO includes a growing suite of operators, cost functionals, regularizers, and optimization routines that may be combined to solve a wide range of problems, and is designed so that it is easy to add new building blocks. SCICO is built on top of JAX rather than NumPy, enabling GPU/TPU acceleration, just-in-time compilation, and automatic gradient functionality, which is used to automatically compute the adjoints of linear operators. An example of how to solve a multi-channel tomography problem with SCICO is shown in Figure 1. The SCICO source code is available from GitHub, and pre-built packages are available from PyPI. It has extensive online documentation, including API documentation and usage examples, which can be run online at Google Colab and binder.

97 MATHEMATICS AND COMPUTING↗

WATTS: Workflow and template toolkit for simulation

Modeling and simulation in many science and engineering domains often involves the execution and/or iteration of a sequence of applications, with data transfer between applications typically required. These applications often do not have a formal application programming interface (API). Instead, executing an application requires first writing a text-based input file, the format of which is typically defined in a user’s manual. While text-based input files are suitable for simple one-off calculations, they can become cumbersome if a user wants to execute the applications multiple times and systematically vary input parameters, especially when a complex workflow is involved. In this case, they must resort to either manually making changes in the input file or developing their own script that modifies the input file and executes the application. Depending on the format of the input file, writing such a script can be a non-trivial and error-prone task.

97 MATHEMATICS AND COMPUTING↗

xCDAT: A Python Package for Simple and Robust Analysis of Climate Data

xCDAT (Xarray Climate Data Analysis Tools) is an open-source Python package that extends Xarray (Hoyer & Hamman, 2017) for climate data analysis on structured grids. xCDAT streamlines analysis of climate data by exposing common climate analysis operations through a set of straightforward APIs. Some of xCDAT’s key features include spatial averaging, temporal averaging, and regridding. These features are inspired by the Community Data Analysis Tools (CDAT) library (Dean N. Williams et al., 2009) (D. N. Williams, 2014) (Doutriaux et al., 2019) and leverage powerful packages in the Xarray ecosystem including xESMF (Zhuang et al., 2023), xgcm (Abernathey et al., 2022), and CF xarray (Cherian et al., 2023). To ensure general compatibility across various climate models, xCDAT operates on datasets that are compliant with the Climate and Forecast (CF) metadata conventions (Hassell et al., 2017).

54 ENVIRONMENTAL SCIENCES↗

hashin_shtrikman_mp: a package for the optimal design and discovery of multi-phase composite materials

hashin_shtrikman_mp is a tool for composites designers who have desired composite properties in mind, but who do not yet have an underlying formulation. The library utilizes the tightest theoretical bounds on the effective properties of composite materials with unspecified microstructure – the Hashin-Shtrikman bounds – to identify candidate theoretical materials, find real materials that are close to the candidates, and determine the optimal volume fractions for each of the constituents in the resulting composite. Its features include (i) leveraging of materials in the Materials Project database, (ii) integration with the Materials Project API, (iii) use of genetic machine-learning, (iv) agnosticism to underlying microstructure, and (v) ultimate engineering application, make it a tool with much broader applications than its predecessors.

97 MATHEMATICS AND COMPUTING↗

JAXtronomy: A JAX port of lenstronomy

Gravitational lensing is a phenomenon where light bends around massive objects, resulting in distorted images seen by an observer. Studying gravitationally lensed systems provides insights into cosmology and astrophysics, including constraints of the expansion rate of the Universe and the distribution of dark matter. Thus, we introduce JAXtronomy, a re-implementation of the gravitational lensing software package lenstronomy (Birrer, 2021; Birrer & Amara, 2018) using JAX (Bradbury et al., 2018). JAX is a Python library that uses an accelerated linear algebra (XLA) compiler to improve the performance of computing software. Our core design principle of JAXtronomy is to maintain an identical API to that of lenstronomy. The main JAX features utilized in JAXtronomy are just-in-time compilation, which can lead to significant reductions in execution time, and automatic differentiation, which allows for the implementation of gradient-based algorithms that were previously impossible. Additionally, JAX allows code to be run on GPUs or parallelized across CPU cores, further boosting the performance of JAXtronomy.

astronomy↗

Discrete Element Modeling Results of Proppant Rearrangement in the Cooke Conductivity Cell

The study of propped fracture conductivity began in earnest with the development of the Cooke cell which later became part of the initial API standard. Subsequent developments included a patented multicell design to conduct 4 tests in a press at the same time. Other modifications have been used by various investigators. Recent studies by the Stim-Lab proppant consortium have indicated that the flow field across a Cooke proppant conductivity testing cell may not be uniform as initially believed which resulted is significantly different conductivity results. Post test analysis of low temperature metal alloy injections at the termination of proppant testing prior to the release of the applied stress suggest that higher flow is to be expected along the sides and top of the proppant pack than compared to the middle of the pack. To evaluate these experimental findings, a physics-based two-dimensional (2-D) discrete element model (DEM) was developed and applied to simulate proppant rearrangement during stress loading in the Cooke conductivity cell and the resulting porosity field. Analysis of these simulations are critical to understanding the impact of modification to the testing cell as well as understanding key proppant conductivity issues such as how these effects are manifested in proppant concentration testing results. The 2-D DEM model was constructed to represent a realistic cross section of the Cooke cell with a distribution of four material properties, three that represented the Cooke cell (steel, sandstone,square rings), and one representing the proppant. In principle, Cooke cell materials can be approximated as assemblies of independent discrete elements (particles) of various sizes and material properties that interact via cohesive interactions, repulsive forces, and frictional forces. The macroscopic behavior can then be modeled as the collective behavior of many interacting discrete elements. This DEM model is particularly suitable for modeling proppant mechanical interactions subjected to an applied stress, where the experimental cell is represented as a cohesive body composed of a large number of discrete elements, and proppants can be modeled as the individual discrete particles with various sizes (following the proppant size distribution-density function used in the test) that exhibit no cohesive strength between the particles. Initial 2-D DEM modeling results suggest that proppant rearrangement and non-uniform stress distribution across the proppant pack results in significant non-uniform porosity distribution across the Cooke cell. Larger porosities develop along the edge of the proppant pack beneath the square ring seal and would result in a disproportionate higher flow field along these edges as compared to the middle of the proppant pack. These results suggest that reported conductivity values determined by the Cooke cell may be biased to overestimate the actual conductivity of the proppant at high stresses and that modifications to the standard Cooke cell will affect the magnitude of this bias.

03 NATURAL GAS↗

Produced water volumes and management practices in the United States.

Produced water volume generation and management in the United States are not well characterized at a national level. The U.S. Department of Energy (DOE) asked Argonne National Laboratory to compile data on produced water associated with oil and gas production to better understand the production volumes and management of this water. The purpose of this report is to improve understanding of produced water by providing detailed information on the volume of produced water generated in the United States and the ways in which produced water is disposed or reused. As the demand for fresh water resources increases, with no concomitant increase in surface or ground water supplies, alternate water sources, like produced water, may play an important role. Produced water is water from underground formations that is brought to the surface during oil or gas production. Because the water has been in contact with hydrocarbon-bearing formations, it contains some of the chemical characteristics of the formations and the hydrocarbons. It may include water from the reservoir, water previously injected into the formation, and any chemicals added during the production processes. The physical and chemical properties of produced water vary considerably depending on the geographic location of the field, the geologic formation, and the type of hydrocarbon product being produced. Produced water properties and volume also vary throughout the lifetime of a reservoir. Produced water is the largest volume by-product or waste stream associated with oil and gas exploration and production. Previous national produced water volume estimates are in the range of 15 to 20 billion barrels (bbl; 1 bbl = 42 U.S. gallons) generated each year in the United States (API 1988, 2000; Veil et al. 2004). However, the details on generation and management of produced water are not well understood on a national scale. Argonne National Laboratory developed detailed national-level information on the volume of produced water generated in the United States and the manner in which produced water is managed. This report presents an overview of produced water, summarizes the study, and presents results from the study at both the national level and the state level. Chapter 2 presents background information on produced water, describing its chemical and physical characteristics, where it is produced, and the potential impacts of produced water to the environment and to oil and gas operations. A review of relevant literature is also included. Chapter 3 describes the methods used to collect information, including outreach efforts to state oil and gas agencies and related federal programs. Because of the inconsistency in the level of detail provided by various state agencies, the approaches and assumptions used to extrapolate data values are also discussed. In Chapter 4, the data are presented, and national trends and observations are discussed. Chapter 5 presents detailed results for each state, while Chapter 6 presents results from federal sources for oil and gas production (i.e., offshore, onshore, and tribal lands). Chapter 7 summarizes the study and presents conclusions.

58 GEOSCIENCES↗

Development of a Navigator and Imaging Techniques for the Cryogenic Dark Matter Search Detectors

This project contributes to the detection of flaws in the germanium detectors for the Cryogenic Dark Matter Search (CDMS) experiment. Specifically, after imaging the detector surface with a precise imaging and measuring device, they developed software to stitch the resulting images together, applying any necessary rotations, offsets, and averaging, to produce a smooth image of the whole detector that can be used to detect flaws on the surface of the detector. These images were also tiled appropriately for the Google Maps API to use as a navigation tool, allowing viewers to smoothly zoom and pan across the detector surface. Automated defect identification can now be implemented, increasing the scalability of the germanium detector fabrication.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Visualization Tools for Lattice QCD - Final Report

Our research project is about the development of visualization tools for Lattice QCD. We developed various tools by extending existing libraries, adding new algorithms, exposing new APIs, and creating web interfaces (including the new NERSC gauge connection web site). Our tools cover the full stack of operations from automating download of data, to generating VTK files (topological charge, plaquette, Polyakov lines, quark and meson propagators, currents), to turning the VTK files into images, movies, and web pages. Some of the tools have their own web interfaces. Some Lattice QCD visualization have been created in the past but, to our knowledge, our tools are the only ones of their kind since they are general purpose, customizable, and relatively easy to use. We believe they will be valuable to physicists working in the field. They can be used to better teach Lattice QCD concepts to new graduate students; they can be used to observe the changes in topological charge density and detect possible sources of bias in computations; they can be used to observe the convergence of the algorithms at a local level and determine possible problems; they can be used to probe heavy-light mesons with currents and determine their spatial distribution; they can be used to detect corrupted gauge configurations. There are some indirect results of this grant that will benefit a broader audience than Lattice QCD physicists.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

National Utility Rate Database: Preprint

When modeling solar energy technologies and other distributed energy systems, using high-quality expansive electricity rates is essential. The National Renewable Energy Laboratory (NREL) developed a utility rate platform for entering, storing, updating, and accessing a large collection of utility rates from around the United States. This utility rate platform lives on the Open Energy Information(OpenEI) website, OpenEI.org, allowing the data to be programmatically accessed from a web browser, using an application programming interface (API). The semantic-based utility rate platform currently has record of 1,885 utility rates and covers over 85% of the electricity consumption in the United States.

24 POWER TRANSMISSION AND DISTRIBUTION↗

OpenSHMEM Application Programming Interface (V.1.0 FINAL)

This document defines the elements of the OpenSHMEM Application Programming Interface. The purpose of the OpenSHMEM API is to provide programmers with a standard interface for writing parallel programs using C, C++ and Fortran with one-sided communication.

99 GENERAL AND MISCELLANEOUS↗

Interoperable Technologies for Advanced Petascale Simulations

Our final report on the accomplishments of ITAPS at Stony Brook during period covered by the research award includes component service, interface service and applications. On the component service, we have designed and implemented a robust functionality for the Lagrangian tracking of dynamic interface. We have migrated the hyperbolic, parabolic and elliptic solver from stage-wise second order toward global second order schemes. We have implemented high order coupling between interface propagation and interior PDE solvers. On the interface service, we have constructed the FronTier application programer's interface (API) and its manual page using doxygen. We installed the FronTier functional interface to conform with the ITAPS specifications, especially the iMesh and iMeshP interfaces. On applications, we have implemented deposition and dissolution models with flow and implemented the two-reactant model for a more realistic precipitation at the pore level and its coupling with Darcy level model. We have continued our support to the study of fluid mixing problem for problems in inertial confinement fusion. We have continued our support to the MHD model and its application to plasma liner implosion in fusion confinement. We have simulated a step in the reprocessing and separation of spent fuels from nuclear power plant fuel rods. We have implemented the fluid-structure interaction for 3D windmill and parachute simulations. We have continued our collaboration with PNNL, BNL, LANL, ORNL, and other SciDAC institutions.

97 MATHEMATICS AND COMPUTING↗

Exomerge user's manual :

Exomerge is a lightweight Python module for reading, manipulating and writing data within ExodusII files. It is built upon a Python wrapper around the ExodusII API functions. This module, the Python wrapper, and the ExodusII libraries are available as part of the standard SIERRA installation.

Kostka, Timothy D.↗

NEAMS VLTS project :

The objective of the U.S. Department of Energy Office of Nuclear Energy Advanced Modeling and Simulation (NEAMS) Very Long Term Storage (VLTS) Project is to develop a simple, benchmark model that describes the performance of Zry4 d-hydrides in cladding, under conditions of long-term storage of used fuel. This model will be used to further explore the requirements of hydride modeling for used fuel storage and transport. It is expected that this model will be further developed as its weaknesses are understood, and as a basis of comparison as the Used Fuel Disposition (UFD) Campaign explores more comprehensive, multiscale approaches. Cladding hydride processes, a thermal model, a hydride model API, and the initial implementation of the J2Fiber hydride model is documented in this report.

Hansen, Glen A.↗

Parallel tools GUI framework-DOE SBIR phase I final technical report

Many parallel performance, profiling, and debugging tools require a graphical way of displaying the very large datasets typically gathered from high performance computing (HPC) applications. Most tool projects create their graphical user interfaces (GUI) from scratch, many times spending their project resources on simply redeveloping commonly used infrastructure. Our goal was to create a multiplatform GUI framework, based on Nokia/Digia’s popular Qt libraries, which will specifically address the needs of these parallel tools. The Parallel Tools GUI Framework (PTGF) uses a plugin architecture facilitating rapid GUI development and reduced development costs for new and existing tool projects by allowing the reuse of many common GUI elements, called “widgets.” Widgets created include, 2D data visualizations, a source code viewer with syntax highlighting, and integrated help and welcome screens. Application programming interface (API) design was focused on minimizing the time to getting a functional tool working. Having a standard, unified, and userfriendly interface which operates on multiple platforms will benefit HPC application developers by reducing training time and allowing users to move between tools rapidly during a single session. However, Argo Navis Technologies LLC will not be submitting a DOE SBIR Phase II proposal and commercialization plan for the PTGF project. Our preliminary estimates for gross income over the next several years was based upon initial customer interest and income generated by similar projects. Unfortunately, as we further assessed the market during Phase I, we grew to realize that there was not enough demand to warrant such a large investment. While we do find that the project is worth our continued investment of time and money, we do not think it worthy of the DOE's investment at this time. We are grateful that the DOE has afforded us the opportunity to make this assessment, and come to this conclusion.

97 MATHEMATICS AND COMPUTING↗

Solar Avoided Cost Solution SunShot 6 Final Report

The core objectives of this project were two separate but integrated products, collectively providing game-changing Avoided Cost capabilities. The first was a kit of avoided cost tools and data that any solar provider can use a-lacarte or as a whole. It’s open and easily accessible nature allows the rapid and accurate calculation of avoided cost in whatever context and software that make sense (“Typical and Avoided Cost Tools”). This kit includes a dataset of typical energy rates, costs and usage that can be used for solar prospecting, lead generation and any situation where data about an opportunity is missing or imperfect. The second is a web application and related APIs specifically built for solar providers to radically streamline their lead-to-sale process (“Solar Provider Module”). The typical and Avoided Cost tools are built directly into this, and allow for solar providers to track their opportunities, collaborate with their installers and financiers, and close more sales faster.

14 SOLAR ENERGY↗

Power/energy use cases for high performance computing

Power and Energy have been identified as a first order challenge for future extreme scale high performance computing (HPC) systems. In practice the breakthroughs will need to be provided by the hardware vendors. But to make the best use of the solutions in an HPC environment, it will likely require periodic tuning by facility operators and software components. This document describes the actions and interactions needed to maximize power resources. It strives to cover the entire operational space in which an HPC system occupies. The descriptions are presented as formal use cases, as documented in the Unified Modeling Language Specification [1]. The document is intended to provide a common understanding to the HPC community of the necessary management and control capabilities. Assuming a common understanding can be achieved, the next step will be to develop a set of Application Programing Interfaces (APIs) to which hardware vendors and software developers could utilize to steer power consumption.

97 MATHEMATICS AND COMPUTING↗