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 217 records · Page 12

Home Energy Management System - VOLTTRON Integration

In most Home Energy Management Systems (HEMS) available in the market, different devices running different communication protocols cannot interact with each other and exchange information. As a result of this integration, the information about different devices running different communication protocol can be accessible by other agents and devices running on VOLTTRON platform. The integration process can be used by any HEMS available in the market regardless of the programming language they use. If the existing HEMS provides an Application Programming Interface (API) based on the RESTFul architecture, that API can be used for integration. Our candidate HEMS in this project is home-assistant (Hass). An agent is implemented which can communicate with the Hass API and receives information about the devices loaded on the API. The agent publishes the information it receives on the VOLTTRON message bus so other agents can have access to this information. On the other side, for each type of devices, an agent is implemented such as Climate Agent, Lock Agent, Switch Agent, Light Agent, etc. Each of these agents is subscribed to the messages published on the message bus about their associated devices. These agents can also change the status of the devices by sending appropriate service calls to the API. Other agents and services on the platform can also access this information and coordinate their decision-making process based on this information.

Zandi, Helia↗

DiTTo (Distribution Transformation Tool) [SWR-18-16]

The Distribution Transformation Tool (DiTTo) provides a framework for converting between and modifying several different types of distribution model formats . These include commercial formats such as CYME, Synergi, DEW, ePHASORSIM as well as open source formats such as OpenDSS and GridLAB-D. DiTTo consists of an API which represents electrical equipment, configurations, settings and timeseries data. This API acts as an intermediary between different distribution model formats. Several modules for reading and writing the models connect to this API to facilitate easy conversion between formats. Once feeder models are converted into the intermediate API, analysis can be done on the feeder using a network module. The modification module allows changes to be made to the model in the intermediate API. This allows a clear workflow that supports reading a model from one format, performing analysis, making modifications and writing the model to a different format.

Elgindy, Tarek↗

Nanoparticle-Surfactant Stabilized Strong Foam for Enhanced Oil Recovery in High-Salinity Fractured Carbonate Reservoirs

Summary Foam flooding can minimize bypassing in gasfloods in fractured reservoirs. Finding a foam formulation effective in high-salinity brine is challenging, especially with divalent cations, e.g., American Petroleum Institute (API) brine (8% NaCl with 2% CaCl2). When formulating with nanoparticles, the colloidal dispersion stability is difficult due to the dramatic reduction in zeta potential and the Debye length at high salinity. The aim of this work was to develop a strong foam in API brine at the ambient temperature, using a nonionic surfactant and ethyl cellulose nanoparticles (ECNP), for gasflooding in fractured carbonate reservoirs. ECNPs was synthesized and dispersed in API brine using a nonionic surfactant (also denoted as SF). SF and SF/ECNP foams were generated, and their stability was studied at atmospheric pressure and 950 psi. Foam mobility was measured in a sandpack at high pressure. Foam flood experiments were conducted in oil-saturated fractured carbonate cores. The nonionic surfactant proved to be a good dispersion agent for ECNP in API brine. The SF/ECNP mixture stabilized foam in API brine, even in the presence of oil. Injecting a partially miscible gas (below its minimum miscibility pressure) as an SF foam into a fractured core more than doubles the oil recovery over injection of the gas alone. The injection of the strong foam (SF/ECNP) further improves the oil recovery over that of the SF foam, indicating the synergy between ECNP and surfactant. ECNP accumulates in the foam lamella and induces larger pressure gradients in the fracture to divert more gas into the matrix for oil displacement.

Engineering↗

EVALUATION OF SPRING OPERATED RELIEF VALVE MAINTENANCE INTERVALS AND EXTENSION OF MAINTENANCE TIMES USING A WEIBULL ANALYSIS WITH MODIFIED BAYESIAN UPDATING

The Savannah River Site (SRS) spring operated pressure relief valve (SORV) maintenance intervals were evaluated using an approach provided by the American Petroleum Institute (API RP 581) for risk-based inspection technology (RBI). In addition, the impact of extending the inspection schedule was evaluated using Monte Carlo Simulation (MCS). The API RP 581 approach is characterized as a Weibull analysis with modified Bayesian updating provided by SRS SORV proof testing experience. Initial Weibull parameter estimates were updated as per SRS's historical proof test records contained in the Center for Chemical Process Safety (CCPS) Process Equipment Reliability Database (PERD). The API RP 581 methodology was used to estimate the SORV's probability of failing on demand (PFD), and the annual expected risk. The API RP 581 methodology indicates that the current SRS maintenance plan is conservative. Cost savings may be attained in certain mild service applications that present low PFD and overall risk. Current practices are reviewed and recommendations are made for extending inspection intervals. The paper gives an illustration of the inspection costs versus the associated risks by using API RP 581 Risk Based Inspection (RBI) Technology. A cost effective maintenance frequency balancing both financial risk and inspection cost is demonstrated.

02 PETROLEUM↗

geryon v. 0.1

Geryon is intended to be a simple library for managing the CUDA Runtime, CUDA Driver, and OpenCL APIs with a consistent interface * Change from one API to another by simply changing the namespace * Use multiple APIs in the same code * Lightweight (only include files no build required) * Manage device query and selection * Simple vector and matrix containers * Simple routines for data copy and type casting * Simple routines for data I/O * Simple classes for managing device timing * Simple classes for managing kernel compilation and execution The primary application is to facilitate writing a single code that can be compiled using the CUDA Runtime API, the CUDA Driver API, or OpenCL.

Brown, William↗

DARMA v. Beta 0.5

DARMA is a portability layer for asynchronous many-task (AMT) runtime systems. AMT runtime systems show promise to mitigate challenges imposed by next generation high performance computing architectures. However, current runtime system technologies are not production-ready. DARMA is a portability layer that seeks to insulate application developers from idiosyncrasies of individual runtime systems, thereby facilitating application-developer use of these technologies. DARMA comprises a frontend application programming interface (API) for application developers, a backend API for runtime system developers, and a translation that translates frontend API calls into backend API calls. Application developers use C++ abstractions to annotate both data and tasks in their code. The DARMA translation layer uses C++ template metaprogramming to capture data-task dependencies, and provides this information to a potential backend runtime system via a series of backend API calls.

Hollman, David↗

Home Energy Management System - VOLTTRON Integration

In most Home Energy Management Systems (HEMS) available in the market, different devices running different communication protocols cannot interact with each other and exchange information. As a result of this integration, the information about different devices running different communication protocol can be accessible by other agents and devices running on VOLTTRON platform. The integration process can be used by any HEMS available in the market regardless of the programming language they use. If the existing HEMS provides an Application Programming Interface (API) based on the RESTFul architecture, that API can be used for integration. Our candidate HEMS in this project is home-assistant (Hass). An agent is implemented which can communicate with the Hass API and receives information about the devices loaded on the API. The agent publishes the information it receives on the VOLTTRON message bus so other agents can have access to this information. On the other side, for each type of devices, an agent is implemented such as Climate Agent, Lock Agent, Switch Agent, Light Agent, etc. Each of these agents is subscribed to the messages published on the message bus about their associated devices. These agents can also change the status of the devices by sending appropriate service calls to the API. Other agents and services on the platform can also access this information and coordinate their decision-making process based on this information.

Zandi, Helia↗

Leveraging OpenStudio's Application Programming Interfaces: Preprint

OpenStudio development efforts have been focused on providing Application Programming Interfaces (APIs) where users are able to extend OpenStudio without the need to compile the open source libraries. This paper will discuss the basic purposes and functionalities of the core libraries that have been wrapped with APIs including the Building Model, Results Processing, Advanced Analysis, UncertaintyQuantification, and Data Interoperability through Translators. Several building energy modeling applications have been produced using OpenStudio's API and Software Development Kits (SDK) including the United States Department of Energy's Asset ScoreCalculator, a mobile-based audit tool, an energy design assistance reporting protocol, and a portfolio scale incentive optimization analysismethodology. Each of these software applications will be discussed briefly and will describe how the APIs were leveraged for various uses including high-level modeling, data transformations from detailed building audits, error checking/quality assurance of models, and use of high-performance computing for mass simulations.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Efficient data IO for a Parallel Global Cloud Resolving Model

Execution of a Global Cloud Resolving Model (GCRM) at target resolutions of 2-4 km will generate, at a minimum, 10s of Gigabytes of data per variable per snapshot. Writing this data to disk without creating a serious bottleneck in the execution of the GCRM code while also supporting efficient post-execution data analysis is a significant challenge. This paper discusses an Input/Output (IO) application programmer interface (API) for the GCRM that efficiently moves data from the model to disk while maintaining support for community standard formats, avoiding the creation of very large numbers of files, and supporting efficient analysis. Several aspects of the API will be discussed in detail. First, we discuss the output data layout which linearizes the data in a consistent way that is independent of the number of processors used to run the simulation and provides a convenient format for subsequent analyses of the data. Second, we discuss the flexible API interface that enables modelers to easily add variables to the output stream by specifying where in the GCRM code these variables are located and to flexibly configure the choice of outputs and distribution of data across files. The flexibility of the API is designed to allow model developers to add new data fields to the output as the model develops and new physics is added and also provides a mechanism for allowing users of the GCRM code itself to adjust the output frequency and the number of fields written depending on the needs of individual calculations. Third, we describe the mapping to the NetCDF data model with an emphasis on the grid description. Fourth, we describe our messaging algorithms and IO aggregation strategies that are used to achieve high bandwidth while simultaneously writing concurrently from many processors to shared files. We conclude with initial performance results.

99 GENERAL AND MISCELLANEOUS↗

Dehydration of gas-phase benzyl amine alcohols studied at atmospheric pressure

Gas-phase ion chemistry is a useful approach for the investigation of physical organic chemistry and the study of reactivity, structure, and thermochemical properties of ionic and neutral organic substrates. Herein, one-step dehydration of gas-phase benzyl amine alcohols to give benzazetidines was discovered without the use of catalysts. Mechanistic investigations of the gas-phase dehydration reactions were explored to study the possible influence of charged microdroplet acceleration during electrospray ionization (ESI) and collisions occurring during ion transfer through the atmospheric pressure interface (API) of the mass spectrometer. The product ion distribution was observed to be less sensitive to droplet effects (spray distance and voltage), and temperature of transfer capillary in the API. However, the product ion distribution exhibit high sensitivity to different S-lens radio frequency (RF) voltage of the API, providing evidence that the dehydration reaction is driven by collisions during ion transfer in the API. With this insight, we developed atmospheric pressure thermal dissociation platform that allowed thermal-induced collisions outside of the mass spectrometer when the benzyl amine alcohols are carried through a heated coiled tube. Up to 98% dissociation efficiency was achieved with the coiled tube heated to a temperature of 200 °C, yielding only the desired benzazetidine product. Finally, by performing the atmospheric pressure thermal dissociation experiment outside of the mass spectrometer, we believe it will be straightforward to collect the dehydration product.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Synthesis and investigation of proton conductivity for intercalated kaolinite with 4-amidinopyridinium chloride

The proton-conducting materials have potential application in devices such as fuel cells. In this study, a mineral kaolinite-based proton conducting material, kaolinite-4-amidinopyridinium hydrochloride (K-4-APy–HCl), was synthesized by the intercalated compound kaolinite-4-amidinopyridine (K-4-APy) adsorbing volatilizing HCl. The thermogravimetric analysis (TG), powder X-ray diffraction (PXRD) and IR spectrum confirmed the HCl successfully inserting into the interlayer space of kaolinite and the 4-aminopyridine being protonated. The intercalation efficiency is estimated to be ca. 85.6%. With respect to K-4-APy, the interlayer space expends by 1.53 Å. The thermal decomposition mechanism was studied by PXRD and TG techniques. The K-4-APy–HCl shows proton conductivity with σ=3.379×10{sup −8} S cm{sup −1} at 373 K and E{sub a}=1.159 eV in the anhydrous condition, which are comparable to MOFs-based proton conducting materials. - Graphical abstract: The intercalated hybrid of mineral kaolinite with 4-amidinopyridinium hydrochloride is prepared to use as proton conducting material. - Highlights: • A new strategy is proposed for preparation of kaolinite-based proton conductor. • Intercalatied hybrid was prepared by sequentially inserting 4-amidinopyridine and adsorbing HCl. • The proton conductivity of intercalated hybrid is comparable to MOFs-based proton-conductors.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Photoinitiated Charge Transport through π-Stacked Electron Conduits in Supramolecular Ordered Assemblies of Donor−Acceptor Triads

Photochemical electron donor-acceptor triads having an aminopyrene primary donor (APy) and a p-diaminobenzene secondary donor (DAB) attached to either one or both imide nitrogen atoms of a perylene-3,4:9,10-bis(dicarboximide) (PDI) electron acceptor were prepared to give DAB-APy-PDI and DAB-APy-PDI-APy-DAB. In toluene, both triads are monomeric, but in methylcyclohexane, they self-assemble into ordered helical heptamers and hexamers, respectively, in which the PDI molecules are {pi}-stacked in a columnar fashion, as evidenced by small- and wide-angle X-ray scattering. Photoexcitation of these supramolecular assemblies results in rapid formation of DAB{sup +}-PDI{sup -} spin-polarized radical ion pairs having spin-spin dipolar interactions, which show that the average distance between the two radical ions is much larger in the assemblies (31 {angstrom}) than it is in their monomeric building blocks (23 {angstrom}). This work demonstrates that electron hopping through the {pi}-stacked PDI molecules is fast enough to compete effectively with charge recombination (40 ns) in these systems, making these materials of interest as photoactive assemblies for artificial photosynthesis and organic photovoltaics.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Activity, structure, and diversity of Type II proline-rich antimicrobial peptides from insects

Abstract Apidaecin 1b (Api), the first characterized Type II Proline-rich antimicrobial peptide (PrAMP), is encoded in the honey bee genome. It inhibits bacterial growth by binding in the nascent peptide exit tunnel of the ribosome after the release of the completed protein and trapping the release factors. By genome mining, we have identified 71 PrAMPs encoded in insect genomes as pre-pro-polyproteins. Having chemically synthesized and tested the activity of 26 peptides, we demonstrate that despite significant sequence variation in the N-terminal sequence, the majority of the PrAMPs that retain the conserved C-terminal sequence of Api are able to trap the ribosome at the stop codons and induce stop codon readthrough—all hallmarks of Type II PrAMP mode of action. Some of the characterized PrAMPs exhibit superior antibacterial activity in comparison with Api. The newly solved crystallographic structures of the ribosome complexed with Api and with the more active peptide Fva1 from the stingless bee demonstrate the universal placement of the PrAMPs’ C-terminal pharmacophore in the post-release ribosome despite variations in their N-terminal sequence.

Huang, Weiping (ORCID:0000000273063550)↗

Synergizing human expertise and AI efficiency with language model for microscopy operation and automated experiment design

With the advent of large language models (LLMs), in both the open source and proprietary domains, attention is turning to how to exploit such artificial intelligence (AI) systems in assisting complex scientific tasks, such as material synthesis, characterization, analysis and discovery. Here, we explore the utility of LLMs, particularly ChatGPT4, in combination with application program interfaces (APIs) in tasks of experimental design, programming workflows, and data analysis in scanning probe microscopy, using both in-house developed APIs and APIs given by a commercial vendor for instrument control. We find that the LLM can be especially useful in converting ideations of experimental workflows to executable code on microscope APIs. Beyond code generation, we find that the GPT4 is capable of analyzing microscopy images in a generic sense. At the same time, we find that GPT4 suffers from an inability to extend beyond basic analyses for more in-depth technical experimental design. We argue that an LLM specifically fine-tuned for individual scientific domains can potentially be a better language interface for converting scientific ideations from human experts to executable workflows. Such a synergy between human expertise and LLM efficiency in experimentation can open new doors for accelerating scientific research, enabling effective experimental protocols sharing in the scientific community.

97 MATHEMATICS AND COMPUTING↗

Predicting plant attractiveness to pollinators with passive crowdsourcing

Global concern regarding pollinator decline has intensified interest in enhancing pollinator resources in managed landscapes. These efforts frequently emphasize restoration or planting of flowering plants to provide pollen and nectar resources that are highly attractive to the desired pollinators. However, determining exactly which plant species should be used to enhance a landscape is difficult. Empirical screening of plants for such purposes is logistically daunting, but could be streamlined by crowdsourcing data to create lists of plants most probable to attract the desired pollinator taxa. People frequently photograph plants in bloom and the Internet has become a vast repository of such images. A proportion of these images also capture floral visitation by arthropods. Here, we test the hypothesis that the abundance of floral images containing identifiable pollinator and other beneficial insects is positively associated with the observed attractiveness of the same species in controlled field trials from previously published studies. We used Google Image searches to determine the correlation of pollinator visitation captured by photographs on the Internet relative to the attractiveness of the same species in common-garden field trials for 43 plant species. From the first 30 photographs, which successfully identified the plant, we recorded the number of Apis (managed honeybees), non-Apis (exclusively wild bees) and the number of bee-mimicking syrphid flies. We used these observations from search hits as well as bloom period (BP) as predictor variables in Generalized Linear Models (GLMs) for field-observed abundances of each of these groups. We found that non-Apis bees observed in controlled field trials were positively associated with observations of these taxa in Google Image searches (pseudo-R 2 of 0.668). Syrphid fly observations in the field were also associated with the frequency they were observed in images, but this relationship was weak. Apis bee observations were not associated with Internet images, but were slightly associated with BP. Our results suggest that passively crowdsourced image data can potentially be a useful screening tool to identify candidate plants for pollinator habitat restoration efforts directed at wild bee conservation. Increasing our understanding of the attractiveness of a greater diversity of plants increases the potential for more rapid and efficient research in creating pollinator-supportive landscapes.

59 BASIC BIOLOGICAL SCIENCES↗

SEAS Communication Engine: An Extensible, Flexible Wrapper for Co-Simulation Agents

When modeling and analyzing the power grid and other large scale systems, researchers often express scenarios as optimization problems and feed them into advanced software solvers. In order to allow multiple solvers to communicate with each other and share data from different domains, the National Renewable Energy Laboratory (NREL) and associated Department of Energy (DOE) labs have developed a software framework called the Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS). HELICS allows cosimulation via a collection of client libraries for different languages that can be called from the appropriate optimization software. However, these client libraries do not provide a higher level of abstraction beyond reading and writing data off of the shared HELICS bus. In this paper, we describe a new software library called the SEAS Communication Engine that exposes a higher-level API for running cosimulation problems. The SEAS Engine provides a class-based abstraction on top of the Python HELICS client, in order to allow users to implement their domain-specific cosimulations without needing to interact with core HELICS primitives. This will make adoption of HELICS and cosimulation in general easier, by exposing a simpler API. In the second part of the paper, we validate our library on a collection of different simulation examples, including the canonical IEEE 13 Bus Feeder. Lastly, we demonstrate using the SEAS Engine to directly call domain-specific code written in the Julia programming language. Our hope is that this will serve as a template for easily calling software in different programming languages via the SEAS Engine, thereby avoiding code duplication and complexity.

co-simulation↗

The Ongoing Evolution of OpenMP

Here, this paper presents an overview of the past, present and future of the OpenMP application programming interface (API). While the API originally specified a small set of directives that guided shared memory fork-join parallelization of loops and program sections, OpenMP now provides a richer set of directives that capture a wide range of parallelization strategies that are not strictly limited to shared memory. As we look toward the future of OpenMP, we immediately see further evolution of the support for that range of parallelization strategies and the addition of direct support for debugging and performance analysis tools. Looking beyond the next major release of the specification of the OpenMP API, we expect the specification eventually to include support for more parallelization strategies and to embrace closer integration into its Fortran, C and, in particular, C++ base languages, which will likely require the API to adopt additional programming abstractions.

97 MATHEMATICS AND COMPUTING↗

Software defined grid energy storage

Today, consumer battery installations are isolated, physical devices. Virtual power plants (VPPs) allow consumer devices to aggregate for grid services, but they are are vertically integrated, vendor controlled systems (e.g., Tesla’s VPP). Consumer batteries are therefore unable to participate in energy markets or other grid services outside what their vendor provides. We describe a software system that provides software control of multiple, networked battery energy storage systems in the electric grid. The system introduces two new ideas that enable flexible and dependable management of energy storage. The first is a virtual battery, which can either partition a battery or aggregate multiple batteries. The second is a reservation-based API which allows asynchronous control of batteries to meet contractual guarantees in a safe and dependable manner. Virtual batteries and a reservation-based API address the unique challenges of achieving high and efficient utilization of energy storage systems, including heterogeneity of battery systems such as varying C-rates, participation in energy markets, utility bill management systems, community resource sharing, and reliability. Using a testbed comprised of sonnen Inc. storage units installed in several homes and a lab, we demonstrate that virtualized batteries can seamlessly replace physical batteries, flexibly manage energy storage resources, isolate multiple clients using a shared battery, and create new energy storage applications.

25 ENERGY STORAGE↗