Search NASA⌕ Search

SEARCH · Search NASA

Results for “scripting”

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 397 records · Page 22

NUCLEAR INCIDENT CAPABILITIES, KNOWLEDGE & ENABLER LEVERAGING

The detonation of a 10 Kiloton Improvised Nuclear Device (IND) is a serious scenario that the United States must be prepared to address. The likelihood of a single nuclear bomb exploding in a single city is greater today than at the height of the Cold War. Layered defenses against domestic nuclear terrorism indicate that our government continues to view the threat as credible. The risk of such an event is further evidenced by terrorists desire to acquire nuclear weapons. The act of nuclear terrorism, particularly an act directed against a large population center in the United States, will overwhelm the capabilities of many local and state governments to respond, and will seriously challenge existing federal response capabilities. A 10 Kiloton IND detonation would cause total infrastructure damage in a 3-mile radius and levels of radiation spanning out 3,000 square miles. In a densely populated urban area, the anticipated casualties would be in excess of several hundred thousand. Although there would be enormous loss of life, housing and infrastructure, an IND detonation is a recoverable event. We can reduce the risk of these high-consequence, nontraditional threats by enhancing our nuclear detection architecture and establishing well planned and rehearsed plans for coordinated response. It is also important for us to identify new and improved ways to foster collaboration regarding the response to the IND threat to ensure the demand and density of expertise required for such an event is postured and prepared to mobilize, integrate, and support a myriad of anticipated challenges. We must be prepared to manage the consequences of such an event in a deliberate manner and get beyond notions of total devastation by adopting planning assumptions around survivability and resiliency. Planning for such a scenario needs to be decisive in determining a response based on competencies and desired outcomes. It is time to synthesize known threats and plausible consequences into action. Much work needs to be accomplished to enhance nuclear preparedness and to substantially bolster and clarify the capacity to deploy competent resources. Until detailed plans are scripted, and personnel and other resources are postured, and exercised, IND specific planning remains an urgent need requiring attention and action. Although strategic guidance, policies, concepts of operations, roles, responsibilities, and plans governing the response and consequence management for the IND scenario exist, an ongoing integration challenge prevails regarding how best to get capable and competent surge capacity personnel (disaster reservists) and other resources engaged and readied in an up-front manner with pre-scripted assignments to augment the magnitude of anticipated demands of expertise. With the above in mind, Savannah River National Laboratory (SRNL) puts science to work to create and deploy practical, high-value, cost-effective nuclear solutions. As the Department of Energy's (DOE) applied research and development laboratory, SRNL supports Savannah River Site (SRS) operations, DOE, national initiatives, and other federal agencies, across the country and around the world. SRNL's parent at SRS also employs more than 8,000 personnel. The team is a great asset that seeks to continue their service in the interest of national security and stands ready to accomplish new missions. Overall, an integral part of the vision for SRNL's National and Homeland Security Directorate is the establishment of a National Security Center at SRNL, and development of state of the science capabilities (technologies and trained technical personnel) for responding to emergency events on local, regional, or national scales. This entails leveraging and posturing the skills, knowledge and experience base of SRS personnel to deliver an integrated capability to support local, state, and federal authorities through the development of pre-scripted requests for assistance, agreements, and plans. It also includes developing plans, training, exercises, recruitment strategies, and processes to establish a 1,000 plus person nuclear disaster workforce capable of providing surge capacity support that can be deployed in part or in all.

45 MILITARY TECHNOLOGY, WEAPONRY, AND NATIONAL DEF↗

The CINDER'90 transmutation code package for use in accelerator applications in combination with MCNPX

CINDER'90, a nuclear inventory code originated at the Bettis Atomic Power Laboratory for reactor irradiation calculations and extended for use of in accelerator dr iven systems and high-energy applications at Los Alamos National Laboratory, has been released as a code package for distribution through the Radiation Safety Information Computational Center (RSICC). The code package and its updated data libraries come with several scripts that allow calculations of multi-cell problems in combination with the radiation transport code MCNPX. A script was developed that manages all the pre-processing steps extracting the necessary information from MCNPX output or from one input file, and that runs the CINDER’90 code for a requested list of MCNPX cells and for a requested time history. A second script was developed that extracts the decay photon sources from CINDER’90 output for a requested list of cells and for a requested irradiation or decay time step and builds source deck for subsequent MCNPX calculations. Since the package release, improvements to CINDER’90 are underway in algorithms, libraries, and interfaces to transport codes.

43 PARTICLE ACCELERATORS↗

Climate Data Analysis Tools

Climate Data Analysis Tools (CDAT) is a software infrastructure that uses an object-oriented scripting language to link together separate software subsystems and packages thus forming an integrated environment for solving model diagnosis problems, The power of the system comes from Python and its ability to seamlissly interconnect software. Python provides a general purpose and full-featured scripting language with a variety of user interfaces including command-line interaction, stand-alone scripts (applications) and fraphical user interfaces (GUI). The CDAT subsystems, implemented as modules, provide access to and management of gridded data (Climate Data Management Systems or CDMS); large-array numerical operations (Numerical Python); and visualization (Visualization and Control System or VCS).

Source record↗

HC-NIDS: signatures and simulations for detecting cyber-attacks aiming to cause damage against cyber-physical energy systems

Physical device safety is typically implemented locally using embedded controllers, while operations safety is primarily performed in control centers. Safe operations can be enhanced by correct design of device-level control algorithms, and protocols, procedures and operator training at the control-room level, but all can fail. Moreover, these elements exchange data and issue commands via vulnerable communication layers. In order to secure these gaps and enhance operational safety, we believe monitoring of command sequences must be combined with an awareness of physical device limitations and automata models that capture safety mechanisms. One way of doing this is by leveraging specification-based intrusion detection to monitor for physical constraint violations. The method can also verify that physical infrastructure state is consistent with monitoring information and control commands exchanged between field devices and control centers. This additional security layer enhances protection from both outsider attacks and insider mistakes. We implemented specification-based SCADA command analyzers using physical constraint algorithms directly in the Bro framework and Broccoli APIs for three separate scenarios: a water heater, an automated distribution system, and an over-current protection scheme. To accomplish this, we added low-level analyzers capable of examining control system-specific protocol packets for both Modbus TCP and DNP3, and also higher-level analyzers able to interpret device command and data streams within the context of each device's physical capabilities and present operational state. Thus the software that we are making available includes the Bro/Broccoli scripts for these three scenarios, as well as simulators, written in C, of those scenarios that generate sample traffic that is monitored by the Bro/Broccoli scripts. In addition, we have also implemented systems to directly pull cyber-physical information from the OSIsoft PI historian system. We have included the Python scripts used to perform that monitoring.

Source record↗

Anger Camera Calibration and QA Software

Create an easy to use software package for calibration and QA testing of the Anger Camera. The software uses python scripts and interacts with two different C++ programs. The C++ programs simply transfer data to the python scripts via a file or UDP call. The python scripts analyze the data preform motor movement functions and create calibration data files for transfer to the Anger Camera configuration files.

Riedel, Richard A.↗

Document Set Differentiability Analyzer v. 0.1

Software is a JMP Scripting Language (JSL) script designed to evaluate the differentiability of a set of documents that exhibit some conceptual commonalities but are expected to describe substantially different – thus differentiable – categories. The script imports the document set, a subset of which may be partitioned into an additions pool. The bulk of the documents form a basis pool. Text analysis is applied to the basis pool to extract a mathematical representation of its conceptual content, referred to as the document concept space. A bootstrapping approach is applied to that mathematical representation in order to generate a representation of a large population of randomly designed documents that could be written within the concept space, notably without actually writing the text of those documents.The Kolmogorov-Smirnov test is applied to determine whether the basis pool document set exhibits superior differentiation relative to the randomly designed virtual documents produced by bootstrapping. If an additions pool exists, the documents are incrementally added to the basis pool, choosing the best differentiated remaining document at each step. In this manner the impact of additional categories to overall document set differentiability may be assessed.The software was developed to assess the differentiability of job description document sets. Differentiability is key to meaningful categorization. Poor job differentiation may have economic, ethical, and/or legal implications for an organization. Job categories are used in the assignment of market-based salaries; consequently, poor differentiation of job duties may set the stage for legal challenges if very similar jobs pay differently depending on title, a circumstance that also invites economic waste.The software can be applied to ensure job description set differentiability, reducing legal, economic, and ethical risks to an organization and its people. The extraction of the conceptual space to a mathematical representation enables identification of exceedingly similar documents. In the event of redundancy, two jobs may be collapsed into one. If in the judgment of the subject matter experts the jobs are truly different, the conceptual similarities are highlighted, inviting inclusion of appropriate descriptive content to explicitly characterize those differences. When additional job categories may be needed as the organization changes, the software enables evaluation of proposed additions to ensure that the resulting document set remains adequately differentiated.

Osborn, Thor D.↗

Tabulated Database of Closed-Loop Geothermal Systems Performance for Cloud-Based Technical and Economic Modeling of Heat Production and Electricity Generation: Preprint

To better understand the heat production, electricity generation performance and economic viability of closed loop geothermal systems in hot-dry-rock, the Closed Loop Geothermal Group, a consortium of several national labs and academic institutions has tabulated time-dependent numerical solutions and levelized cost results of two popular closed loop heat exchanger designs (u-tube and co-axial). The heat exchanger designs were evaluated for two working fluids (water and super-critical CO2) while varying seven continuous independent parameters of interest (i.e., mass flow rate, vertical depth, horizontal extent, borehole diameter, formation gradient, formation conductivity, and injection temperature). The corresponding numerical solutions (approximately 1.2 million per heat exchanger design) are stored as multi-dimensional HDF5 datasets and can be queried at off-grid points using multi-dimensional linear interpolation. A Python script was developed to query this database and estimate time-dependent electricity generation using an Organic Rankine cycle (for water) or direct turbine expansion cycle (for CO2) and perform a cost assessment. This document aims to give an overview of the HDF5 database file and highlights how to read, visualize, and query quantities of interest (e.g., levelized cost of electricity, levelized cost of heat) using the accompanying python scripts. Details regarding the capital, operation, and maintenance and levelized cost calculation using the TEA (techno-economic analysis) script are provided.

co-axial↗

Application of Monte Carlo Methods to Perform Uncertainty and Sensitivity Analysis on Inverse Water-Rock Reactions with NETPATH

Methods were developed to quantify uncertainty and sensitivity for NETPATH inverse water-rock reaction models and to calculate dissolved inorganic carbon, carbon-14 groundwater travel times. The NETPATH models calculate upgradient groundwater mixing fractions that produce the downgradient target water chemistry along with amounts of mineral phases that are either precipitated or dissolved. Carbon-14 groundwater travel times are calculated based on the upgradient source-water fractions, carbonate mineral phase changes, and isotopic fractionation. Custom scripts and statistical code were developed for this study to facilitate modifying input parameters, running the NETPATH simulations, extracting relevant output, postprocessing the results, and producing graphs and summaries. The scripts read userspecified values for each constituent’s coefficient of variation, distribution, sensitivity parameter, maximum dissolution or precipitation amounts, and number of Monte Carlo simulations. Monte Carlo methods for analysis of parametric uncertainty assign a distribution to each uncertain variable, sample from those distributions, and evaluate the ensemble output. The uncertainty in input affected the variability of outputs, namely source-water mixing, phase dissolution and precipitation amounts, and carbon-14 travel time. Although NETPATH may provide models that satisfy the constraints, it is up to the geochemist to determine whether the results are geochemically reasonable. Two example water-rock reaction models from previous geochemical reports were considered in this study. Sensitivity analysis was also conducted to evaluate the change in output caused by a small change in input, one constituent at a time. Results were standardized to allow for sensitivity comparisons across all inputs, which results in a representative value for each scenario. The approach yielded insight into the uncertainty in water-rock reactions and travel times. For example, there was little variation in source-water fraction between the deterministic and Monte Carlo approaches, and therefore, little variation in travel times between approaches. Sensitivity analysis proved very useful for identifying the most important input constraints (dissolved-ion concentrations), which can reveal the variables that have the most influence on source-water fractions and carbon-14 travel times. Once these variables are determined, more focused effort can be applied to determining the proper distribution for each constraint. Second, Monte Carlo results for water-rock reaction modeling showed discrete and nonunique results. The NETPATH models provide the solutions that satisfy the constraints of upgradient and downgradient water chemistry. There can exist multiple, discrete solutions for any scenario and these discrete solutions cause grouping of results. As a result, the variability in output may not easily be represented by a single distribution or a mean and variance and care should be taken in the interpretation and reporting of results.

phase dissolution and precipitation amounts↗

Programs and Code for Geothermal Exploration Artificial Intelligence

The scripts below are used to run the Geothermal Exploration Artificial Intelligence developed within the "Detection of Potential Geothermal Exploration Sites from Hyperspectral Images via Deep Learning" project. It includes all scripts for pre-processing and processing, including: - Land Surface Temperature K-Means classifier - Labeling AI using Self Organizing Maps (SOM) - Post-processing for Permanent Scatterer InSAR (PSInSAR) analysis with SOM - Mineral marker summarizing - Artificial Intelligence (AI) Data splitting: creates data set from a single raster file - Artificial Intelligence Model: creates AI from a single data set, after splitting in Train, Validation and Test subsets - AI Mapper: creates a classification map based on a raster file

15 GEOTHERMAL ENERGY↗

Underwater Target Detection Software Demonstration on the RivGen Turbine

This repository contains data and processing scripts necessary to train the object detection models utilized in the underwater target detection software demonstration on the RivGen turbine project and to produce performance metrics (precision, recall, mAP50, mAP50-95). - Contents - Data consist of "images" and "labels". Each image has an associated label, both share the same time string in its file name (e.g., 2024_05_25_09_01_57.98.jpg and 2024_05_25_09_01_57.98.txt). Time strings have the format %yyyy_%mm_%dd_%HH_%MM_%SS.%3f. Images and labels were curated from 2021 and 2024 smolt outmigration periods at the project site in Igiugig, AK. Images are monochrome 8-bit images of objects (smolt, debris, and other) passing through the field of view of the deployed cameras during various operational stages of the RivGen turbine. Labels are text files indicating the class and bounding polygon of each object in an image. The provided labels use the "YOLO" label format. - Requirements - Python3.8+ is required to install and run the train and validation script. The README.md provides instruction for installing the requirements from the requirements.py file. - Instructions - The "example_train.py" file ingests the provided data, trains a model, and produces model performance metrics at completion. NOTE: model performance metrics will vary from run to run as a consequence of the random selection of training and validation data.

16 TIDAL AND WAVE POWER↗

Integration and Testing of LCS Software

Kennedy Space Center is in the midst of developing a command and control system for the launch of the next generation manned space vehicle. The Space Launch System (SLS) will launch using the new Spaceport Command and Control System (SCCS). As a member of the Software Integration and Test (SWIT) Team, command scripts, and bash scripts were written to assist in integration and testing of the Launch Control System (LCS), which is a component of SCCS. The short term and midterm tasks are for the most part completed. The long term tasks if time permits will require a presentation and demonstration.

Command Script↗

Reproducible, Component-based Modeling with TopoFlow, A Spatial Hydrologic Modeling Toolkit

Modern geoscientists have online access to an abundance of different data sets and models, but these resources differ from each other in myriad ways and this heterogeneity works against interoperability as well as reproducibility. The purpose of this paper is to illustrate the main issues and some best practices for addressing the challenge of reproducible science in the context of a relatively simple hydrologic modeling study for a small Arctic watershed near Fairbanks, Alaska. This study requires several different types of input data in addition to several, coupled model components. All data sets, model components and processing scripts (e.g. for preparation of data and figures, and for analysis of model output) are fully documented and made available online at persistent URLs. Similarly, all source code for the models and scripts is open-source, version controlled and made available online via GitHub. Each model component has a Basic Model Interface (BMI) to simplify coupling and its own HTML help page that includes a list of all equations and variables used. The set of all model components (TopoFlow) has also been made available as a Python package for easy installation. Three different graphical user interfaces for setting up TopoFlow runs are described, including one that allows model components to run and be coupled as web services.

58 GEOSCIENCES↗

BAD2matrix: Phylogenomic matrix concatenation, indel coding, and more

Common steps in phylogenomic matrix production include biological sequence concatenation, morphological data concatenation, insertion/deletion (indel) coding, gene content (presence/absence) coding, removing uninformative characters for parsimony analysis, recording with reduced amino acid alphabets, and occupancy filtering. Existing software does not accomplish these tasks on a phylogenomic scale using a single program. BAD2matrix is a Python script that performs the above-mentioned steps in phylogenomic matrix construction for DNA or amino acid sequences as well as morphological data. The script works in UNIX-like environments (e.g., LINUX, MacOS, Windows Subsystem for LINUX).

59 BASIC BIOLOGICAL SCIENCES↗

Accelerating virtual high-throughput ligand docking: current technology and case study on a petascale supercomputer

In this paper, we give the current state of high-throughput virtual screening. We describe a case study of using a task-parallel Message Passing Interface version of AutoDock4 to run a virtual high-throughput screen of one million compounds on the Jaguar Cray XK6 Supercomputer at Oak Ridge National Laboratory. We include a description of scripts developed to increase the efficiency of the predocking file preparation and postdocking analysis. A detailed tutorial, scripts, and source code for this Message Passing Interface version of AutoDock4 are available online at http://www.bio.utk.edu/baudrylab/autodockmpi.htm.

97 MATHEMATICS AND COMPUTING↗

How to achieve patient-centered testing: role of the protocol nurse

Introduction: Patient-centered cardiac testing is predicated on choosing the right test for the right patient. We studied the effects of changing from script-driven scheduling to nurse-driven protocoling of stress tests. Methods and Results: A protocol nurse reviewed records before scheduling and communicated with patients and ordering providers if needed. We found that instituting nurse protocolling of all non-imaging (ETT) and nuclear (MPI) stress tests (N = 3071) resulted in protocol changes in 37% of our patients, and reduced the proportion of tests that could not be performed as scheduled by 56% and cancelations by 71% (P < 0.001 for each). These changes were sustained over two successive 6-month periods following a baseline observation period of 6 months. For MPI, the most frequent nurse interventions were re-protocoling as stress-first MPI (12% of tests), changing test location for clinical reasons (13%), changing stress modality (7%), and care coordination (5%). Conclusions: Changing from script-driven scheduling to protocol nursing contributed measurably to patient-centered testing.

62 RADIOLOGY AND NUCLEAR MEDICINE↗

Calculation of the cross and auto power spectral densities for low neutron counting from pulse mode detectors

Here, this report introduces a methodology to calculate the prompt neutron decay constant of a subcritical assembly from the cross and auto power spectral densities of detectors operating in pulse mode when the neutron counting is low. The pulse operation mode allows the easy discrimination of the gamma contribution to the detector signal by the pulse height or shape techniques. The methodology is based on a MATLAB script that allows to change arbitrary parameters at any time after the experiment is performed. This technique requires list mode data and is much more flexible than programming the digital acquisition system because in the latter case the arbitrary parameters are set prior to the experiment and cannot be changed any longer after the experiment is performed. The MATLAB script processes all the detectors timestamps from several thousand pulses of the particle accelerator and redistributes them into a time interval that spreads over only 10 particle accelerator pulses. This pulses collapsing procedure has been performed because of the low neutron counting.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

SAXS Assistant: Automated SAXS analysis for structural discovery in biologics and polymeric nanoparticles

Small-angle x-ray scattering (SAXS) is a powerful technique for assessing macromolecular structure. High-throughput SAXS is limited by the time-consuming and, at times, subjective nature of SAXS data interpretation. Here, we present SAXS Assistant, a Python-based script that streamlines SAXS data analysis to extract features for machine learning (ML) and key structural parameters, including the Guinier radius of gyration (R g ), pair distance distribution function (PDDF)-derived R g , maximum particle dimension (D max ), and Kratky plots. The script builds upon BioXTAS RAW and validates reliability via Guinier/PDDF R g agreement, an important indicator of well-measured data sets. For assistance in D max estimation, a multilayer perceptron regressor was trained with 1940 data files from the Small Angle Scattering Biological Data Bank. The model achieved a test set performance R 2 = 0.90 and mean absolute error = 11.7 Å. Training exclusively with experimental data translates analyses from researchers, including experts in the field, to the ML model, which helps assess D max estimations from PDDF. Gaussian mixture model clustering was implemented to classify profiles into structural classes based on entries in the Small Angle Scattering Biological Data Bank. Users may therefore assess the similarity between experimental samples and known biomolecular shapes within the mapped repository entries. This probabilistic clustering aids in quantifying information from Kratky and generating shape-descriptive features. SAXS Assistant accelerates SAXS data analysis through enforced quality control, ML-ready outputs, and flags for low-confidence results. In addition to providing the ability to analyze large data sets at high throughput, this tool is versatile and may serve researchers in both biological and synthetic polymer research fields.

36 MATERIALS SCIENCE↗