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 1,297 records · Page 72

NSLS-II HIGH LEVEL APPLICATION INFRASTRUCTURE AND CLIENT API DESIGN

The beam commissioning software framework of NSLS-II project adopts a client/server based architecture to replace the more traditional monolithic high level application approach. It is an open structure platform, and we try to provide a narrow API set for client application. With this narrow API, existing applications developed in different language under different architecture could be ported to our platform with small modification. This paper describes system infrastructure design, client API and system integration, and latest progress. As a new 3rd generation synchrotron light source with ultra low emittance, there are new requirements and challenges to control and manipulate the beam. A use case study and a theoretical analysis have been performed to clarify requirements and challenges to the high level applications (HLA) software environment. To satisfy those requirements and challenges, adequate system architecture of the software framework is critical for beam commissioning, study and operation. The existing traditional approaches are self-consistent, and monolithic. Some of them have adopted a concept of middle layer to separate low level hardware processing from numerical algorithm computing, physics modelling, data manipulating, plotting, and error handling. However, none of the existing approaches can satisfy the requirement. A new design has been proposed by introducing service oriented architecture technology. The HLA is combination of tools for accelerator physicists and operators, which is same as traditional approach. In NSLS-II, they include monitoring applications and control routines. Scripting environment is very important for the later part of HLA and both parts are designed based on a common set of APIs. Physicists and operators are users of these APIs, while control system engineers and a few accelerator physicists are the developers of these APIs. With our Client/Server mode based approach, we leave how to retrieve information to the developers of APIs and how to use them to form a physics application to the users. For example, how the channels are related to magnet and what the current real-time setting of a magnet is in physics unit are the internals of APIs. Measuring chromaticities are the users of APIs. All the users of APIs are working with magnet and instrument names in a physics unit. The low level communications in current or voltage unit are minimized. In this paper, we discussed our recent progress of our infrastructure development, and client API.

43 PARTICLE ACCELERATORS↗

Visualization Techniques for Computer Network Defense

Effective visual analysis of computer network defense (CND) information is challenging due to the volume and complexity of both the raw and analyzed network data. A typical CND is comprised of multiple niche intrusion detection tools, each of which performs network data analysis and produces a unique alerting output. The state-of-the-practice in the situational awareness of CND data is the prevalent use of custom-developed scripts by Information Technology (IT) professionals to retrieve, organize, and understand potential threat events. We propose a new visual analytics framework, called the Oak Ridge Cyber Analytics (ORCA) system, for CND data that allows an operator to interact with all detection tool outputs simultaneously. Aggregated alert events are presented in multiple coordinated views with timeline, cluster, and swarm model analysis displays. These displays are complemented with both supervised and semi-supervised machine learning classifiers. The intent of the visual analytics framework is to improve CND situational awareness, to enable an analyst to quickly navigate and analyze thousands of detected events, and to combine sophisticated data analysis techniques with interactive visualization such that patterns of anomalous activities may be more easily identified and investigated.

99 GENERAL AND MISCELLANEOUS↗

PV array simulator development and validation.

The ability to harvest all available energy from a photovoltaic (PV) array is essential if new system developments are to meet levelized cost of energy targets and achieve grid parity with conventional centralized utility power. Therefore, exercising maximum power point tracking (MPPT) algorithms, dynamic irradiance condition operation and startup and shutdown routines and evaluating inverter performance with various PV module fill-factor characteristics must be performed with a repeatable, reliable PV source. Sandia National Laboratories is collaborating with Ametek Programmable Power to develop and demonstrate a multi-port TerraSAS PV array simulator. The simulator will replicate challenging PV module profiles, enabling the evaluation of inverter performance through analyses of the parameters listed above. Energy harvest algorithms have traditionally implemented methods that successfully utilize available energy. However, the quantification of energy capture has always been difficult to conduct, specifically when characterizing the inverter performance under non-reproducible dynamic irradiance conditions. Theoretical models of the MPPT algorithms can simulate capture effectiveness, but full validation requires a DC source with representative field effects. The DC source being developed by Ametek and validated by Sandia is a fully integrated system that can simulate an IV curve from the Solar Advisor Model (SAM) module data base. The PV simulator allows the user to change the fill factor by programming the maximum power point voltage and current parameters and the open circuit voltage and short circuit current. The integrated PV simulator can incorporate captured irradiance and module temperature data files for playback, and scripted profiles can be generated to validate new emerging hardware embedded with existing and evolving MPPT algorithms. Since the simulator has multiple independent outputs, it also has the flexibility to evaluate an inverter with multiple MPPT DC inputs. The flexibility of the PV simulator enables the validation of the inverter's capability to handle vastly different array configurations.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

The CEBAF Element Database

With the inauguration of the CEBAF Element Database (CED) in Fall 2010, Jefferson Lab computer scientists have taken a step toward the eventual goal of a model-driven accelerator. Once fully populated, the database will be the primary repository of information used for everything from generating lattice decks to booting control computers to building controls screens. A requirement influencing the CED design is that it provide access to not only present, but also future and past configurations of the accelerator. To accomplish this, an introspective database schema was designed that allows new elements, types, and properties to be defined on-the-fly with no changes to table structure. Used in conjunction with Oracle Workspace Manager, it allows users to query data from any time in the database history with the same tools used to query the present configuration. Users can also check-out workspaces to use as staging areas for upcoming machine configurations. All Access to the CED is through a well-documented Application Programming Interface (API) that is translated automatically from original C++ source code into native libraries for scripting languages such as perl, php, and TCL making access to the CED easy and ubiquitous.

99 GENERAL AND MISCELLANEOUS↗

Oracle Database DBFS Hierarchical Storage Overview

The National Ignition Facility (NIF) at the Lawrence Livermore National Laboratory creates large numbers of images during each shot cycle for the analysis of optics, target inspection and target diagnostics. These images must be readily accessible once they are created and available for the 30 year lifetime of the facility. The Livermore Computing Center (LC) runs a High Performance Storage System (HPSS) that is capable of storing NIF's estimated 1 petabyte of diagnostic images at a fraction of what it would cost NIF to operate its own automated tape library. With Oracle 11g Release 2 database, it is now possible to create an application transparent, hierarchical storage system using the LC's HPSS. Using the Oracle DBMS-LOB and DBMS-DBFS-HS packages a SecureFile LOB can now be archived to storage outside of the database and accessed seamlessly through a DBFS 'link'. NIF has chosen to use this technology to implement a hierarchical store for its image based SecureFile LOBs. Using a modified external store and DBFS links, files are written to and read from a disk 'staging area' using Oracle's backup utility. Database external procedure calls invoke OS based scripts to manage a staging area and the transfer of the backup files between the staging area and the Lab's HPSS.

42 ENGINEERING↗

Lattice Commissioning Stretgy Simulation for the B Factory

To prepare for the PEP-II turn on, we have studied one commissioning strategy with simulated lattice errors. Features such as difference and absolute orbit analysis and correction are discussed. To prepare for the commissioning of the PEP-II injection line and high energy ring (HER), we have developed a system for on-line orbit analysis by merging two existing codes: LEGO and RESOLVE. With the LEGO-RESOLVE system, we can study the problem of finding quadrupole alignment and beam position (BPM) offset errors with simulated data. We have increased the speed and versatility of the orbit analysis process by using a command file written in a script language designed specifically for RESOLVE. In addition, we have interfaced the LEGO-RESOLVE system to the control system of the B-Factory. In this paper, we describe online analysis features of the LEGO-RESOLVE system and present examples of practical applications.

43 PARTICLE ACCELERATORS↗

RESOLVE Upgrades for on Line Lattice Error Analysis

We have increased the speed and versatility of the orbit analysis process by adding a command file, or 'script' language, to RESOLVE. This command file feature enables us to automate data analysis procedures to detect lattice errors. We describe the RESOLVE command file and present examples of practical applications.

43 PARTICLE ACCELERATORS↗

Cadmium Depletion Impacts on Hardening Neutron6 Spectrum for Advanced Fuel Testing in ATR

For transmuting long-lived isotopes contained in spent nuclear fuel into shorter-lived fission products effectively is in a fast neutron spectrum reactor. In the absence of a fast spectrum test reactor in the United States of America (USA), initial irradiation testing of candidate fuels can be performed in a thermal test reactor that has been modified to produce a test region with a hardened neutron spectrum. A test region is achieved with a Cadmium (Cd) filter which can harden the neutron spectrum to a spectrum similar (although still somewhat softer) to that of the liquid metal fast breeder reactor (LMFBR). A fuel test loop with a Cd-filter has been installed within the East Flux Trap (EFT) of the Advanced Test Reactor (ATR) at the Idaho National Laboratory (INL). A detailed comparison analyses between the cadmium (Cd) filter hardened neutron spectrum in the ATR and the LMFBR fast neutron spectrum have been performed using MCWO. MCWO is a set of scripting tools that are used to couple the Monte Carlo transport code MCNP with the isotope depletion and buildup code ORIGEN-2.2. The MCWO-calculated results indicate that the Cd-filter can effectively flatten the Rim-Effect and reduce the linear heat rate (LHGR) to meet the advanced fuel testing project requirements at the beginning of irradiation (BOI). However, the filtering characteristics of Cd as a strong absorber quickly depletes over time, and the Cd-filter must be replaced for every two typical operating cycles within the EFT of the ATR. The designed Cd-filter can effectively depress the LHGR in experimental fuels and harden the neutron spectrum enough to adequately flatten the Rim Effect in the test region.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Easy system call tracing for Plan 9.

Tracing system calls makes debugging easy and fast. On Plan 9, traditionally, system call tracing has been implemented with acid. New systems do not always implement all the capabilities needed for Acid, particularly the ability to rewrite the process code space to insert breakpoints. Architecture support libraries are not always available for Acid, or may not work even on a supported architecture. The requirement that Acid's libraries be available can be a problem on systems with a very small memory footprint, such as High Performance Computing systems where every Kbyte counts. Finally, Acid tracing is inconvenient in the presence of forks, which means tracing shell pipelines is particularly troublesome. The strace program available on most Unix systems is far more convenient to use and more capable than Acid for system call tracing. A similar system on Plan 9 can simplify troubleshooting. We have built a system calling tracing capability into the Plan 9 kernel. It has proven to be more convenient than strace in programming effort. One can write a shell script to implement tracing, and the C code to implement an strace equivalent is several orders of magnitude smaller.

99 GENERAL AND MISCELLANEOUS↗

Extra Dimensions: 3D and Time in PDF Documentation

High energy physics is replete with multi-dimensional information which is often poorly represented by the two dimensions of presentation slides and print media. Past efforts to disseminate such information to a wider audience have failed for a number of reasons, including a lack of standards which are easy to implement and have broad support. Adobe's Portable Document Format (PDF) has in recent years become the de facto standard for secure, dependable electronic information exchange. It has done so by creating an open format, providing support for multiple platforms and being reliable and extensible. By providing support for the ECMA standard Universal 3D (U3D) file format in its free Adobe Reader software, Adobe has made it easy to distribute and interact with 3D content. By providing support for scripting and animation, temporal data can also be easily distributed to a wide audience. In this talk, we present examples of HEP applications which take advantage of this functionality. We demonstrate how 3D detector elements can be documented, using either CAD drawings or other sources such as GEANT visualizations as input. Using this technique, higher dimensional data, such as LEGO plots or time-dependent information can be included in PDF files. In principle, a complete event display, with full interactivity, can be incorporated into a PDF file. This would allow the end user not only to customize the view and representation of the data, but to access the underlying data itself.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Installing python software packages : the good, the bad and the ugly.

These slides describe different strategies for installing Python software. Although I am a big fan of Python software development, robust strategies for software installation remains a challenge. This talk describes several different installation scenarios. The Good: the user has administrative privileges - Installing on Windows with an installer executable, Installing with Linux application utility, Installing a Python package from the PyPI repository, and Installing a Python package from source. The Bad: the user does not have administrative privileges - Using a virtual environment to isolate package installations, and Using an installer executable on Windows with a virtual environment. The Ugly: the user needs to install an extension package from source - Installing a Python extension package from source, and PyCoinInstall - Managing builds for Python extension packages. The last item referring to PyCoinInstall describes a utility being developed for the COIN-OR software, which is used within the operations research community. COIN-OR includes a variety of Python and C++ software packages, and this script uses a simple plug-in system to support the management of package builds and installation.

99 GENERAL AND MISCELLANEOUS↗

Design and Implementation of the CEBAF Element Database

With inauguration of the CEBAF Element Database (CED) in Fall 2010, Jefferson Lab computer scientists have taken a first step toward the eventual goal of a model-driven accelerator. Once fully populated, the database will be the primary repository of information used for everything from generating lattice decks to booting front-end computers to building controls screens. A particular requirement influencing the CED design is that it must provide consistent access to not only present, but also future, and eventually past, configurations of the CEBAF accelerator. To accomplish this, an introspective database schema was designed that allows new elements, element types, and element properties to be defined on-the-fly without changing table structure. When used in conjunction with the Oracle Workspace Manager, it allows users to seamlessly query data from any time in the database history with the exact same tools as they use for querying the present configuration. Users can also check-out workspaces and use them as staging areas for upcoming machine configurations. All Access to the CED is through a well-documented API that is translated automatically from original C++ into native libraries for script languages such as perl, php, and TCL making access to the CED easy and ubiquitous. Notice: Authored by Jefferson Science Associates, LLC under U.S. DOE Contract No. DE-AC05-06OR23177. The U.S. Government retains a non-exclusive, paid-up, irrevocable, world-wide license to publish or reproduce this manuscript for U.S. Government purposes.

43 PARTICLE ACCELERATORS↗

HERCULES: A Pattern Driven Code Transformation System

New parallel computers are emerging, but developing efficient scientific code for them remains difficult. A scientist must manage not only the science-domain complexity but also the performance-optimization complexity. HERCULES is a code transformation system designed to help the scientist to separate the two concerns, which improves code maintenance, and facilitates performance optimization. The system combines three technologies, code patterns, transformation scripts and compiler plugins, to provide the scientist with an environment to quickly implement code transformations that suit his needs. Unlike existing code optimization tools, HERCULES is unique in its focus on user-level accessibility. In this paper we discuss the design, implementation and an initial evaluation of HERCULES.

99 GENERAL AND MISCELLANEOUS↗

Extra Dimensions: 3D and Time in PDF Documentation

Experimental science is replete with multi-dimensional information which is often poorly represented by the two dimensions of presentation slides and print media. Past efforts to disseminate such information to a wider audience have failed for a number of reasons, including a lack of standards which are easy to implement and have broad support. Adobe's Portable Document Format (PDF) has in recent years become the de facto standard for secure, dependable electronic information exchange. It has done so by creating an open format, providing support for multiple platforms and being reliable and extensible. By providing support for the ECMA standard Universal 3D (U3D) file format in its free Adobe Reader software, Adobe has made it easy to distribute and interact with 3D content. By providing support for scripting and animation, temporal data can also be easily distributed to a wide, non-technical audience. We discuss how the field of radiation imaging could benefit from incorporating full 3D information about not only the detectors, but also the results of the experimental analyses, in its electronic publications. In this article, we present examples drawn from high-energy physics, mathematics and molecular biology which take advantage of this functionality. We demonstrate how 3D detector elements can be documented, using either CAD drawings or other sources such as GEANT visualizations as input.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Improving landscape-level environmental impact evaluations.

New spatial data and advancements in GIS tools allow much more comprehensive and quantitative analyses of the large datasets required when making programmatic evaluations of the ecological effects of proposed activities that cover a large area or region. Understanding the environmental impacts of proposed human developments is critical to making appropriate siting decisions and designing mitigation strategies to reduce impacts on important resources. Impact analyses conducted under the National Environmental Policy Act (NEPA) in Environmental Impact Statements (EISs) or Environmental Assessments (EAs) are intended to determine the resource-specific impacts of proposed activities of federal agencies and their alternatives using the best available information. Impacts to ecological resources are often a primary focus of these analyses. Information used in NEPA analyses include some measure of the known or probable presence of plants and wildlife in the project area, with special emphasis placed on threatened, endangered, and other special-status species. Site-specific information pertaining to ecological resources is usually easier to obtain for small-scale activities such as a local facility, road, or transmission upgrade project, where the ability to conduct fieldwork is more often feasible. However, site-specific data is more difficult-and sometimes impossible-to obtain for proposed activities that could affect a large area or region. These types of analyses often are considered in programmatic NEPA documents, in which a federal agency evaluates the implementation of a broad program or plan. Under these programmatic evaluations, the exact location and size of developments are often not known. Because obtaining quantitative information for ecological resources at such large spatial scales is difficult, programmatic impact evaluations typically rely on sketchy or partial information such as recorded species occurrences, species ranges, and general habitat descriptions. However, new spatial data and improved GIS tools allow much more comprehensive and quantitative analyses using large, readily available datasets. The availability of large-scale regional data such as GAP land-cover models or species habitat suitability models, combined with more robust spatial analysis procedures available through ArcGIS for Desktop software, allowed the analysis of multiple datasets at large spatial scales. This enabled researchers to surpass previous qualitative evaluations by developing a more accurate and quantitative approach for determining the environmental impacts of human activities at larger spatial scales. These approaches, combined with the utility of ModelBuilder and operability of Python scripts in ArcGIS, allow a more timely and cost-effective synthesis of available spatial data for programmatic evaluations and add a quantitative basis to environmental decision making.

29 ENERGY PLANNING, POLICY, AND ECONOMY↗

Middleware Case Study: MeDICi

In many application domains in science and engineering, data produced by sensors, instruments and networks is naturally processed by software applications structured as a pipeline . Pipelines comprise a sequence of software components that progressively process discrete units of data to produce a desired outcome. For example, in a Web crawler that is extracting semantics from text on Web sites, the first stage in the pipeline might be to remove all HTML tags to leave only the raw text of the document. The second step may parse the raw text to break it down into its constituent grammatical parts, such as nouns, verbs and so on. Subsequent steps may look for names of people or places, interesting events or times so documents can be sequenced on a time line. Each of these steps can be written as a specialized program that works in isolation with other steps in the pipeline. In many applications, simple linear software pipelines are sufficient. However, more complex applications require topologies that contain forks and joins, creating pipelines comprising branches where parallel execution is desirable. It is also increasingly common for pipelines to process very large files or high volume data streams which impose end-to-end performance constraints. Additionally, processes in a pipeline may have specific execution requirements and hence need to be distributed as services across a heterogeneous computing and data management infrastructure. From a software engineering perspective, these more complex pipelines become problematic to implement. While simple linear pipelines can be built using minimal infrastructure such as scripting languages, complex topologies and large, high volume data processing requires suitable abstractions, run-time infrastructures and development tools to construct pipelines with the desired qualities-of-service and flexibility to evolve to handle new requirements. The above summarizes the reasons we created the MeDICi Integration Framework (MIF) that is designed for creating high-performance, scalable and modifiable software pipelines. MIF exploits a low friction, robust, open source middleware platform and extends it with component and service-based programmatic interfaces that make implementing complex pipelines simple. The MIF run-time automatically handles queues between pipeline elements in order to handle request bursts, and automatically executes multiple instances of pipeline elements to increase pipeline throughput. Distributed pipeline elements are supported using a range of configurable communications protocols, and the MIF interfaces provide efficient mechanisms for moving data directly between two distributed pipeline elements.

99 GENERAL AND MISCELLANEOUS↗

OPTIMIZATION OF INTERNAL HEAT EXCHANGERS FOR HYDROGEN STORAGE TANKS UTILIZING METAL HYDRIDES

Two detailed, unit-cell models, a transverse fin design and a longitudinal fin design, of a combined hydride bed and heat exchanger are developed in COMSOL{reg_sign} Multiphysics incorporating and accounting for heat transfer and reaction kinetic limitations. MatLab{reg_sign} scripts for autonomous model generation are developed and incorporated into (1) a grid-based and (2) a systematic optimization routine based on the Nelder-Mead downhill simplex method to determine the geometrical parameters that lead to the optimal structure for each fin design that maximizes the hydrogen stored within the hydride. The optimal designs for both the transverse and longitudinal fin designs point toward closely-spaced, small cooling fluid tubes. Under the hydrogen feed conditions studied (50 bar), a 25 times improvement or better in the hydrogen storage kinetics will be required to simultaneously meet the Department of Energy technical targets for gravimetric capacity and fill time. These models and methodology can be rapidly applied to other hydrogen storage materials, such as other metal hydrides or to cryoadsorbents, in future work.

08 HYDROGEN↗

Analysis of the RPE sheet in the rd10 retinal degeneration model

The normal RPE sheet in the C57Bl/6J mouse is subclassified into two major tiling patterns: A regular generally hexagonal array covering most of the surface and a 'soft network' near the ciliary body made of irregularly shaped cells. Physics models predict these two patterns based on contractility and elasticity of the RPE cell, and strength of cellular adhesion between cells. We hypothesized and identified major changes in RPE regular hexagonal tiling pattern in rdl0 compared to C57BL/6J mice. RPE sheet damage was extensive but occurred in rd10 later than expected, after most retinal degeneration. RPE sheet changes occur in zones with a bullseye pattern. In the posterior zone around the optic nerve RPE cells take on larger irregular and varied shapes to form an intact monolayer. In mid periphery, there is a higher than normal density of cells that progress into involuted layers of RPE under the retina. The periphery remains mostly normal until late stages of degeneration. The number of neighboring cells varies widely depending on zone and progression. RPE morphology continues to deteriorate long after the photoreceptors have degenerated. The RPE cells are bystanders to the rd10 degeneration within photo receptors, and the collateral damage to the RPE sheet resembles stimulation of migration or chemotaxis. Quantitative measures of the tiling patterns and histopathology detected here, scripted in a pipeline written in Perl and Cell Profiler (an open source Matlab plugin), are directly applicable to RPE sheet images from noninvasive fundus autofluorescence (FAF), adaptive optics confocal scanning laser ophthalmoscope (AO-cSLO), and spectral domain optical coherence tomography (SD-OCT) of patients with early stage AMD or RP.

59 BASIC BIOLOGICAL SCIENCES↗