Search NASA⌕ Search

SEARCH · Search NASA

Results for “api”

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 37 records · Page 2

Using Map Service API for Driving Cycle Detection for Wearable GPS Data: Preprint

Following advancements in smartphone and portable global positioning system (GPS) data collection, wearable GPS data have realized extensive use in transportation surveys and studies. The task of detecting driving cycles (driving or car-mode trajectory segments) from wearable GPS data has been the subject of much research. Specifically, distinguishing driving cycles from other motorized trips (such as taking a bus) is the main research problem in this paper. Many mode detection methods only focus on raw GPS speed data while some studies apply additional information, such as geographic information system (GIS) data, to obtain better detection performance. Procuring and maintaining dedicated road GIS data are costly and not trivial, whereas the technical maturity and broad use of map service application program interface (API) queries offers opportunities for mode detection tasks. The proposed driving cycle detection method takes advantage of map service APIs to obtain high-quality car-mode API route information and uses a trajectory segmentation algorithm to find the best-matched API route. The car-mode API route data combined with the actual route information, including the actual mode information, are used to train a logistic regression machine learning model, which estimates car modes and non-car modes with probability rates. The experimental results show promise for the proposed method's ability to detect vehicle mode accurately.

33 ADVANCED PROPULSION SYSTEMS↗

Domain-Specific Type-Safe APIs for Hierarchical Scientific Data with Modern C++

General-purpose library application programming interfaces (APIs) for self-describing hierarchical scientific data storage, such as the HDF5 and NetCDF libraries, are traditionally of runtime nature. Runtime errors for entry existence and data types are typically caught later in the development process of higher-level application-specific APIs. In this paper, we propose exploiting modern C++ metaprogramming features to add compile-time type-safety to improve the interaction with a well-defined metadata-rich scientific schema in domain-specific hierarchical datasets. We tackle two aspects of common use: (i) direct data access, (ii) flexible “in-memory” index models for efficient search and data processing. The proposed APIs use C++17’s template type auto deduction features, C++11’s enum class for type-safety and C-style preprocessor macros for generative templated code. We showcase the pros and cons of our initial work on the standard NeXus schema used for annotating and storing experimental neutron scattering data at several facilities around the world on top of HDF5. Extendable compile-time type-safe APIs are a desirable feature that could be indexed by any modern integrated development environment (IDE). Hence, such APIs can help ease the learning curve for domain scientists using a less error-prone software interaction to enhance the findability of their data without resorting to a domain-specific language (DSL).

Godoy, William↗

Navigation API Route Fuel Saving Opportunity Assessment on Large-Scale Real-World Travel Data for Conventional Vehicles and Hybrid Electric Vehicles: Preprint

The green routing strategy instructing a vehicle to select a fuel-efficient route benefits the current transportation system with fuel-saving opportunities. This paper introduces a navigation API route fuel-saving evaluation framework for estimating fuel advantages of alternative API routes based on large-scale, real-world travel data for conventional vehicles (CVs) and hybrid electric vehicles (HEVs). The navigation APIs, such Google Directions API, integrate traffic conditions and provide feasible alternative routes for origin-destination pairs. This paper develops two link-based fuel-consumption models stratified by link-level speed, road grade, and functional class (local/non-local), one for CVs and the other for HEVs. The link-based fuel-consumption models are built by assigning travel from a large number of GPS driving traces to the links in TomTom MultiNet as the underlying road network layer and road grade data from a U.S. Geological Survey elevation data set. Fuel consumption on a link is calculated by the proposed fuel consumption model. This paper envisions two kinds of applications: 1) identifying alternate routes that save fuel, and 2) quantifying the potential fuel savings for large amounts of travel. An experiment based on a large-scale California Household Travel Survey GPS trajectory data set is conducted. The fuel consumption and savings of CVs and HEVs are investigated. At the same time, the trade-off between fuel saving and time saving for choosing different routes is also examined for both powertrains.

33 ADVANCED PROPULSION SYSTEMS↗

A Scientific Data Provenance API for Distributed Applications

Data provenance has been an active area of research as a means to standardize how the origin of data, process event history, and what or who was responsible for influencing results is explained. There are two approaches to capture provenance information. The first approach is to collect observed evidence produced by an executing application using log files, event listeners, and temporary files that are used by the application or application developer. The provenance translated from these observations is an interpretation of the provided evidence. The second approach is called disclosed because the application provides a firsthand account of the provenance based on the anticipated questions on data flow, process flow, and responsible agents. Most observed provenance collection systems collect lot of provenance information during an application run or workflow execution. The common trend in capturing provenance is to collect all possible information, then attempt to find relevant information, which is not efficient. Existing disclosed provenance system APIs do not work well in distributed environment and have trouble finding where to fit the individual pieces of provenance information. This work focuses on determining more reliable solutions for provenance capture. As part of the Integrated End-to-end Performance Prediction and Diagnosis for Extreme Scientific Workflows (IPPD) project, an API was developed, called Producer API (PAPI), which can disclose application targeted provenance, designed to work in distributed environments by means of unique object identification methods. The provenance disclosure approach used adds additional metadata to the provenance information to uniquely identify the pieces and connect them together. PAPI uses a common provenance model to support this provenance integration across disclosure sources. The API also provides the flexibility to let the user decide what to do with the collected provenance. The collected provenance can be sent to a triple store using REST services or it can be logged to a file.

Raju, Bibi↗

UCX: An Open Source Framework for HPC Network APIs and Beyond, In: 2015 IEEE 23rd Annual Symposium on High-Performance Interconnects

This paper presents Unified Communication X (UCX), a set of network APIs and their implementations for high throughput computing. UCX comes from the combined effort of national laboratories, industry, and academia to design and implement a high-performing and highly-scalable network stack for next generation applications and systems. UCX design provides the ability to tailor its APIs and network functionality to suit a wide variety of application domains and hardware. We envision these APIs to satisfy the networking needs of many programming models such as Message Passing Interface (MPI), OpenSHMEM, Partitioned Global Address Space (PGAS) languages, task-based paradigms and I/O bound applications. To evaluate the design we implement the APIs and protocols, and measure the performance of overhead-critical network primitives fundamental for implementing many parallel programming models and system libraries. Our results show that the latency, bandwidth, and message rate achieved by the portable UCX prototype is very close to that of the underlying driver. With UCX, we achieved a message exchange latency of 0.89 us, a bandwidth of 6138.5 MB/s, and a message rate of 14 million messages per second. As far as we know, this is the highest bandwidth and message rate achieved by any network stack (publicly known) on this hardware.

Computer Science↗

ThunderBoltz API

The ThunderBoltz application programming interface (API) code is written in Python and is comprised of a set of tools to facilitate compilation of the ThunderBoltz code, as well as fast assembly and formatting of input files for the ThunderBoltz code, post-processing tools of ThunderBoltz results, plotting tools, and runs/schedules the ThunderBoltz code executable for calculations. The ThunderBoltz API code is utilized for importing and manipulating input cross section sets, input conditions, and any other simulation settings made available within the ThunderBoltz input deck via user-defined settings or via automatic generation. The API comes with a set of plotting capabilities of input cross sections, results from ThunderBoltz, and post-processed results carried out with the API.

Park, Ryan↗

Evaluation of radiation hardness of semiconductor materials against alpha particles for an API detector

An Associated Particle Imaging (API) system consists of a high vacuum chamber where deuterium ions are accelerated on a tritium-loaded target, resulting in alpha particles and neutrons emitted back-to-back, the latter escaping the chamber and used, for example, for tomography of a high-Z sample. An accurate determination of the alpha position is crucial to determine the trajectory of the neutron. Existing API systems have several limitations which a semiconductor-based API detector placed inside the vacuum chamber should not present. The semiconductor material can be either silicon or diamond. In particular, large and fast signals are generated by the alpha interactions in these materials. A pixelated API detector will measure the time and hit position of the alphas produced in the reaction. However, during the lifetime of the generator, the semiconductor detector will be exposed to an intense flux of alpha particles that will degrade its performance over time. To assess the radiation hardness of silicon and diamond against the alpha particles, we exposed single diodes made of either of the two materials to a 5 MeV alpha flux generated by an 241Am radioactive source. During irradiation, the diodes were biased and mounted on current-sensitive preamplifier boards. We have therefore been able to measure insitu the evolution of the waveforms as the damage was accumulating in their substrates.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

OPTIMADE, an API for exchanging materials data

Abstract The Open Databases Integration for Materials Design (OPTIMADE) consortium has designed a universal application programming interface (API) to make materials databases accessible and interoperable. We outline the first stable release of the specification, v1.0, which is already supported by many leading databases and several software packages. We illustrate the advantages of the OPTIMADE API through worked examples on each of the public materials databases that support the full API specification.

96 KNOWLEDGE MANAGEMENT AND PRESERVATION↗

Mechanical Characteristics of Submerged Arc Weldment in API Gas Pipeline Steel of Grade X65

The mechanical properties of submerged arc weldment (SAW) in gas transportation pipeline steel of grade API X65 (65 ksi yield strength) were investigated. This steel is produced by thermo mechanical control rolled (TMC), and is largely used in Iran gas piping systems and networks. The results from laboratory study on three different regions; i.e. base metal (BM), fusion zone (FZ) and heat affected zone (HAZ) were used to compare weldment mechanical characteristics with those specified by API 5L (revision 2004) standard code. Different laboratory experiments were conducted on test specimens taken from 48 inch outside diameter and 14.3 mm wall thickness gas pipeline. The test results showed a gradient of microstructure and Vickers hardness data from the centerline of FZ towards the unaffected MB. Similarly, lower Charpy absorbed energy (compared to BM) was observed in the FZ impact specimens. Despite this, the API specifications were fulfilled in three tested zones, ensuring pipeline structural integrity under working conditions.

36 MATERIALS SCIENCE↗

The JANA Calibrations and Conditions Database API

Calibrations and conditions databases can be accessed from within the JANA Event Processing framework through the API defined in its JCalibration base class. The API is designed to support everything from databases, to web services to flat files for the backend. A Web Service backend using the gSOAP toolkit has been implemented which is particularly interesting since it addresses many modern cybersecurity issues including support for SSL. The API allows constants to be retrieved through a single line of C++ code with most of the context, including the transport mechanism, being implied by the run currently being analyzed and the environment relieving developers from implementing such details.

97 MATHEMATICS AND COMPUTING↗

Python wrapper library and analysis functions for Geotab Altitude API [SWR-24-77]

This software library serves as a Python wrapper for Geotab's Altitude API. It streamlines querying of the API, converts loosely structured API outputs into a standardized tabular data format, and enables analysis of the resulting data tables. It also includes example notebooks showing how to use the library.

Bruchon, Matthew↗

Accessing the SEED Genome Databases via Web Services API: Tools for Programmers

Background: The SEED integrates many publicly available genome sequences into a single resource. The database contains accurate and up-to-date annotations based on the subsystems concept that leverages clustering between genomes and other clues to accurately and efficiently annotate microbial genomes. The backend is used as the foundation for many genome annotation tools, such as the Rapid Annotation using Subsystems Technology (RAST) server for whole genome annotation, the metagenomics RAST server for random community genome annotations, and the annotation clearinghouse for exchanging annotations from different resources. In addition to a web user interface, the SEED also provides Web services based API for programmatic access to the data in the SEED, allowing the development of third-party tools and mash-ups. Results: The currently exposed Web services encompass over forty different methods for accessing data related to microbial genome annotations. The Web services provide comprehensive access to the database back end, allowing any programmer access to the most consistent and accurate genome annotations available. The Web services are deployed using a platform independent service-oriented approach that allows the user to choose the most suitable programming platform for their application. Example code demonstrate that Web services can be used to access the SEED using common bioinformatics programming languages such as Perl, Python, and Java. Conclusions: We present a novel approach to access the SEED database. Using Web services, a robust API for access to genomics data is provided, without requiring large volume downloads all at once. The API ensures timely access to the most current datasets available, including the new genomes as soon as they come online.

59 BASIC BIOLOGICAL SCIENCES↗

PvaPy: Python API for EPICS PV Access

As the number of sites deploying and adopting EPICS Version 4 grows, so does the need to support PV Access from multiple languages. Especially important are the widely used scripting languages that tend to reduce both software development time and the learning curve for new users. In this paper we describe PvaPy, a Python API for the EPICS PV Access protocol and its accompanying structured data API. Rather than implementing the protocol itself in Python, PvaPy wraps the existing EPICS Version 4 C++ libraries using the Boost.Python framework. This approach allows us to benefit from the existing code base and functionality, and to significantly reduce the Python API development effort. PvaPy objects are based on Python dictionaries and provide users with the ability to access even the most complex of PV Data structures in a relatively straightforward way. Its interfaces are easy to use, and include support for advanced EPICS Version 4 features such as implementation of client and server Remote Procedure Calls (RPC).

Veseli, S.↗

SNL API-653 In-Service Tank Inspection and Evaluation Tank ID: 981-A2-T0 (West)

An API Standard 653 In-Service inspection was completed on Tank 981-A2-T0 (West) located at the Sandia National Laboratories TAIV tank farm in Albuquerque, NM on September 22, 2015. The inspection was completed to collect data to evaluate the mechanical integrity and fitness for continued service of the tank. No indication or records of any previous inspection were identified for this tank. The inspection and engineering evaluation were completed using API-653, 5 th Edition and conservative engineering practices. The tank was not removed from service, so an internal inspection could not be completed. The tank was also fully insulated. The insulation was removed in specified areas of the tank shell and tank chime to accommodate an acoustic emission scan of the tank and an ultrasonic thickness evaluation of portions of the tank. The acoustic emission scan resulted in a grade of B / I - II indicating an overall TANKPAC grade B and composite grade II indicating minor active damage with highly concentrated sources related to corrosion found in the southeast and west side section of the tank. Eight Potential Localized Damage sources were found mainly in the west side (re-test in 2 years). The tank chime could not be inspected due to the configuration of the insulation welded angle support. An ultrasonic guided bulk wave inspection was completed on the tank shell to assess the lower shell section. At the time of the inspection the limited data collected showed minimal material loss from the shell at the thickness monitoring locations, however, visual inspection and pit depth gauge measurements showed > 3/16” inch pitting and significant general external surface corrosion on the shell at the shell to floor joint. This corrosion is caused by the insulation sheeting support welded angle iron trapping moisture and dirt against the tank shell. This tank should be removed from service, internally inspected, and repaired. Ultrasonic thickness measurement locations were established on this tank and the data is included in this report. The limited data collected indicated minimal material loss at these locations, with the only noted corrosion occurring on the tank shell to floor joint as noted above. An API-653 Annex B Evaluation of Tank Bottom Settlement was completed and the results are included in this report. No significant settlement issues were identified.

42 ENGINEERING↗

Standardized Protocol for Real-Time APIs as Required by Title 23 CFR 680.116(c)

Improving the ability of drivers to easily locate working and available chargers is key to improving the public charging experience. Electric vehicle charging providers who are recipients of federal funds through the National Electric Vehicle Infrastructure (NEVI) Formula Program, Charging and Fueling Infrastructure (CFI) Discretionary Grant Program, and other funding programs as identified under Title 23 of the U.S. Code must deploy and maintain an application programming interface (API) to access information about charging stations they operate.1 This includes information about individual charging ports, pricing, and availability in accordance with the Federal Highway Administration’s National Electric Vehicle Infrastructure Standards and Requirements, 23 CFR 680.116(c), herein referred to as the minimum standards (Federal Highway Administration 2023). Specifically outlined in the minimum standards, states and other designated recipients are required to ensure that charging station information including location, connector type, power level, real-time status, and real-time price to charge are available free of charge to third-party software developers through an API. These requirements are intended to enable effective communication with consumers about available charging stations and help consumers make informed decisions about trip planning, including when and where to charge. This document provides a standardized protocol for how to structure data, data update frequency, and practices for making the data required to be shared via API usable for improving public transparency and the customer experience. These are recommendations only and do not modify the Federal Highway Administration’s minimum standards in any way.

33 ADVANCED PROPULSION SYSTEMS↗

Preliminary API design to access SG-50 database [Slides]

This presentation details the design and use of a rudimentary example API. The example API reads JSON; eventually it needs to operate with the database. It demonstrates ease in applying powerful, publicly available tools.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Effect of Different Thermomechanical Processes on the Microstructure, Texture, and Mechanical Properties of API 5L X70 Steel

A commercial API 5L X70 steel plate was subjected to different thermomechanical processes to propose a novel thermomechanical rolling path to achieve improved mechanical properties. Scanning electron microscopy, electron backscatter diffraction, and x-ray texture analysis were employed for microstructural characterization. The results showed that strain-free recrystallized {001} ferrite grains that developed at higher rolling temperature could not meet the American Petroleum Institute (API) requirements. Also, refined and work-hardened grains that have formed in the intercritical region with high stored energy do not provide suitable tensile properties. However, fine martensite–austenite constituents dispersed in ferrite matrix with grains having predominantly {111} and {110} orientations parallel to the normal direction that developed under isothermal rolling at 850 °C provided an outstanding combination of tensile strength and ductility.

36 MATERIALS SCIENCE↗

Electron backscatter diffraction helps direct calculation of magnetocrystalline anisotropy energy in API 5L steels

Highlights: • Experimental evidence of the capability of EBSD to accurately estimate MAE of API 5L steels. • MAE can be calculated directly from raw EBSD data for reduced sample sizes. • Number of grains sufficient to estimate MAE from EBSD is in the order of several hundreds. • The use of equivalent orientations increases drastically the accuracy of MAE estimations. • EBSD helps explain origin of the observed correlation between MAE and Barkhausen noise. - Abstract: This paper shows evidence of the capability of electron backscatter diffraction (EBSD) to accurately estimate the magnetocrystalline anisotropy energy (MAE) of API 5L steels. The crystallographic texture of five circular steel samples was characterized by X-ray global texture and EBSD microtexture measurements. The average MAE of each one of these samples was estimated from the set of individual grain orientations obtained from orientation maps measured by EBSD. The angular dependence of EBSD-derived MAE was compared with predictions made from X-ray texture and Barkhausen noise (BHN) measurements. The average MAE determined from the EBSD data is in good agreement with the predictions made from X-ray and BHN measurements for all the studied samples. This agreement can be explained by the fact that the number of grains used to predict the average MAE from the EBSD results was statistically sufficient to reproduce the MAE predicted by the other two methods. The EBSD measurement strategy for the accurate MAE estimation was established in terms of parameters such as the number of individual grain orientations to be measured, the sample's texture acuity and grain size, the use of equivalent orientations given by the statistical orthorhombic symmetry of the studied samples, and different measurement planes.

36 MATERIALS SCIENCE↗