Search NASA⌕ Search

SEARCH · Search NASA

Results for “code review”

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 73 records · Page 4

On the design of turbo codes

In this article, we design new turbo codes that can achieve near-Shannon-limit performance. The design criterion for random interleavers is based on maximizing the effective free distance of the turbo code, i.e., the minimum output weight of codewords due to weight-2 input sequences. An upper bound on the effective free distance of a turbo code is derived. This upper bound can be achieved if the feedback connection of convolutional codes uses primitive polynomials. We review multiple turbo codes (parallel concatenation of q convolutional codes), which increase the so-called 'interleaving gain' as q and the interleaver size increase, and a suitable decoder structure derived from an approximation to the maximum a posteriori probability decision rule. We develop new rate 1/3, 2/3, 3/4, and 4/5 constituent codes to be used in the turbo encoder structure. These codes, for from 2 to 32 states, are designed by using primitive polynomials. The resulting turbo codes have rates b/n (b = 1, 2, 3, 4 and n = 2, 3, 4, 5, 6), and include random interleavers for better asymptotic performance. These codes are suitable for deep-space communications with low throughput and for near-Earth communications where high throughput is desirable. The performance of these codes is within 1 dB of the Shannon limit at a bit-error rate of 10(exp -6) for throughputs from 1/15 up to 4 bits/s/Hz.

Divsalar, D.↗

SolarAPP+ Performance Review (2022 Data)

The Solar Automated Permit Processing Plus (SolarAPP+) platform is an online portal to facilitate and expedite rooftop solar photovoltaic (PV) permitting processes. SolarAPP+ allows PV contractors to upload system specifications, have those specifications automatically reviewed for code compliance, and receive instant approval for code-compliant systems. SolarAPP+ also provides inspection checklists to verify installation practices and adherence to approved designs. SolarAPP+ is available to authorities having jurisdiction (AHJs) at no cost. This report is part of an ongoing series of reviews of SolarAPP+ performance. Consistent with previous performance reviews, we summarize SolarAPP+ adoption trends to date and compare various metrics for PV systems permitted through SolarAPP+ versus systems permitted through conventional AHJ permitting processes. As of the end of 2022, the National Renewable Energy Laboratory (NREL) had contacted over 1,500 AHJs with significant solar permitting volume regarding SolarAPP+. Of those, 607 AHJs had at least expressed interest in the platform. 16 AHJs had begun piloting the platform and 15 of these had publicly launched the platform by the end of 2022. In 2022, 206 installers submitted 11,092 permits through the SolarAPP+ platform, including 708 permits for solar+storage systems. SolarAPP+ permits accounted for around 37% of all permits issued in participating AHJs. We compare permitting timelines through SolarAPP+ to traditional AHJ permitting processes to assess the platform's performance. Consistent with previous SolarAPP+ performance reviews, we find that permitting timelines are significantly shorter for SolarAPP+ projects. Based on median timelines, a typical SolarAPP+ project is permitted and inspected 8 business days sooner than traditional projects. We estimate that automatic SolarAPP+ permitting saved between 3,500 and 13,900 hours of AHJ staff time in 2022. Finally, we find evidence that SolarAPP+ may improve inspection outcomes, with SolarAPP+ projects failing inspections about 28% less frequently than traditional projects.

14 SOLAR ENERGY↗

Multi-phase simulations of coaxial injector combustion

A multiphase computational fluid dynamics code (ARICC-3D) is presented and results of two simulations are discussed. The numerical framework of the CFD code is reviewed as well as some of the two-phase physical submodels. The simulations performed include a single coaxial element injector and a multielement injector using LOX/Hydrogen reactants. The single element injector simulation verified the interaction among the code's submodels. The multielement injector simulation transient results include the chamber response to a transverse pressure wave with and without a chamber baffle. The results of these simulations demonstrate the current capabilities and their limitations to model complex two-phase combustion phenomena. Possible ways to exceed these limitations are suggested.

Liang, P. Y.↗

A Subsonic Aircraft Design Optimization With Neural Network and Regression Approximators

The Flight-Optimization-System (FLOPS) code encountered difficulty in analyzing a subsonic aircraft. The limitation made the design optimization problematic. The deficiencies have been alleviated through use of neural network and regression approximations. The insight gained from using the approximators is discussed in this paper. The FLOPS code is reviewed. Analysis models are developed and validated for each approximator. The regression method appears to hug the data points, while the neural network approximation follows a mean path. For an analysis cycle, the approximate model required milliseconds of central processing unit (CPU) time versus seconds by the FLOPS code. Performance of the approximators was satisfactory for aircraft analysis. A design optimization capability has been created by coupling the derived analyzers to the optimization test bed CometBoards. The approximators were efficient reanalysis tools in the aircraft design optimization. Instability encountered in the FLOPS analyzer was eliminated. The convergence characteristics were improved for the design optimization. The CPU time required to calculate the optimum solution, measured in hours with the FLOPS code was reduced to minutes with the neural network approximation and to seconds with the regression method. Generation of the approximators required the manipulation of a very large quantity of data. Design sensitivity with respect to the bounds of aircraft constraints is easily generated.

Patnaik, Surya N.↗

Efficient and Zero Net Energy-Ready Plug Loads

Plug loads are the devices plugged into common electrical outlets. Modern buildings contain hundreds of these devices which, together, are responsible for at least 25 percent of the energy use in California buildings. Energy consumed by plug loads is increasing because the “Internet of Things” is, to a great extent, the “Internet of Plug Loads.” This project developed technologies that will reduce the energy use of plug loads. Two crosscutting strategies were investigated in detail: (1) technologies to reduce standby power use to near zero, and (2) methods to increase the use of direct current (DC) as a power source. Two new approaches to reduce standby to near zero were developed and have potential applicability to a wide range of devices. Prototype DC appliances were developed to demonstrate energy savings by bypassing power supplies and avoiding other losses. Networks of DC-powered devices can save even more energy and provide other benefits, such as resiliency during power outages. A unique category of energy-using devices was identified that provide life safety, health, and security to building occupants. Their installation or use is dictated by building codes, health providers, insurance companies, and other entities—none of whom would ordinarily prioritize energy efficiency. In the case of ground fault circuit interrupts (GFCIs), savings of 80 percent appear possible, simply by adopting the most efficient designs. Home medical equipment, particularly oxygen concentrators, are a rising category of energy use where significant savings are possible. This report also reviews the codes, standards, and other policies that affect energy use of plug loads.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Computing Challenges in Coded Mask Imaging

This slide presaentation reviews the complications and challenges in developing computer systems for Coded Mask Imaging telescopes. The coded mask technique is used when there is no other way to create the telescope, (i.e., when there are wide fields of view, high energies for focusing or low energies for the Compton/Tracker Techniques and very good angular resolution.) The coded mask telescope is described, and the mask is reviewed. The coded Masks for the INTErnational Gamma-Ray Astrophysics Laboratory (INTEGRAL) instruments are shown, and a chart showing the types of position sensitive detectors used for the coded mask telescopes is also reviewed. Slides describe the mechanism of recovering an image from the masked pattern. The correlation with the mask pattern is described. The Matrix approach is reviewed, and other approaches to image reconstruction are described. Included in the presentation is a review of the Energetic X-ray Imaging Survey Telescope (EXIST) / High Energy Telescope (HET), with information about the mission, the operation of the telescope, comparison of the EXIST/HET with the SWIFT/BAT and details of the design of the EXIST/HET.

Skinner, Gerald↗

Snakes on a Spaceship—An Overview of Python in Heliophysics

Computational analysis has become ubiquitous within the heliophysics community. However, community standards for peer review of codes and analysis have lagged behind these developments. This absence has contributed to the reproducibility crisis, where inadequate analysis descriptions and loss of scientific data have made scientific studies difficult or impossible to replicate. The heliophysics community has responded to this challenge by expressing a desire for a more open, collaborative set of analysis tools. Here, this article summarizes the current state of these efforts and presents an overview of many of the existing Python heliophysics tools. It also outlines the challenges facing community members who are working toward the goal of an open, collaborative, Python heliophysics toolkit and presents guidelines that can ease the transition from individualistic data analysis practices to an accountable, communalistic environment.

79 ASTRONOMY AND ASTROPHYSICS↗

Review of the U.S. Policies, Codes, and Standards of Zero-Carbon Buildings

The global issue of climate change has accelerated the international commitment to net-zero carbon emission development. Decarbonizing the building sector has been put on several governments’ sustainable development agendas. To provide a reference for decarbonizing the building sector, this paper summarizes the U.S. experience in zero-carbon buildings (ZCBs) from the aspects of policies, codes, and standards at the federal and local levels and those of professional societies. Based on the definition and boundaries of ZCBs, this paper introduces policies on building energy efficiency, electrification, on-site renewable energy deployment, and “buy clean”, illustrating highlights in building phases, energy systems, materials production, and fiscal incentives. The synergic efforts and coordination between federal and local levels and with professional societies are also introduced. Successful experiences in policy and standard implementation are summarized, including the systemic work of multilevel governance, clearly defined goals and stringent policies, constant upgrades of codes and standards, transparency in reporting and information sharing, and increased financial and investment opportunities. This paper provides concrete recommendations for developing zero-carbon building policies.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

HarDWR - Cumulative Water Rights Curves

For a detailed description of the database of which this record is only one part, please see the HarDWR meta-record. This product is the dataset used as input to the WBM model (Grogan et al., in review; Grogan et al. 2022), and is the result of the step creating cumulative water rights curves described in Lisk et al. (submission pending). This database contains 1,744 individual .csv files, two for each Water Management Area (WMA; see here) in the 11-state region. File naming convention: WMA_[###]_[X]W.csv, where [###] is the unique identifier for each WMA, and [X] is either S for surface water rights, or G for groundwater rights. Column headers in each file: Year: the priority date year CUML: the total cumulative water rights allocated up to this priority date year (ft3s-1) Irrigation: The percent of cumulative water rights allocated to the Irrigation category up to this priority date year (%) Domestic: The percent of cumulative water rights allocated to the Domestic category up to this priority date year (%) Livestock: The percent of cumulative water rights allocated to the Livestock category up to this priority date year (%) Fish: The percent of cumulative water rights allocated to the Fish category up to this priority date year (%) Industrial: The percent of cumulative water rights allocated to the Industrial category up to this priority date year (%) Environmental: The percent of cumulative water rights allocated to the Environmental category up to this priority date year (%) Other: The percent of cumulative water rights allocated to the Other category up to this priority date year (%) In addition to the database files, there is a companion .csv file, called stateWMAs_ID.csv. The main purpose of this file is to provide the means of translating between the ### unique identifier and the various other id of the WMA the file is attached to. This translation file has five columns, which are: basinNum: The official state given alpha-numeric identifier of the WMA basinName: the state provided English name of the area, where applicable state: the state name uniID: a unique identifier we created by concatenating the state name, and underscore, and the state numerical ID ID: a unique numeric identifier we created as a requirement for the files to be used within WBM (Grogan et al., in review) The code related to the creation of this dataset can be viewed within HarDWR GitHub Repository/dataCumulationCurves.

Economics↗

Fire safety design of a mobile quarantine facility

During the design phase of the Mobile Quarantine Facility (MQF), a primary consideration was fire safety. Therefore, appropriate criteria and ground rules were used in the design and construction of the facility. The fire codes and fire-requirement listings that are used by commerical airlines were supplied to the Manned Spacecraft Center (MSC) by the Federal Aviation Agency (FAA). After these codes were reviewed, a basic ground rule was adopted that flame protection for all combustible materials should be at least equivalent to or better than the standards for commercial aircraft. Because the MQF was designed to operate with an interior atmosphere of air rather than with an oxygen-enriched atmosphere such as that of the Apollo spacecraft cabin, the requirements for MQF material were not as stringent as those for the spacecraft.

Bass, R. S.↗

Residential photovoltaic module and array requirements study, appendices

Regional building code variations, federal and city codes, and the national electric code are reviewed for their possible effects on the design of photovoltaic modules. Problems that photovoltaic arrays may impose on the insurability of residences are also discussed. Mounting configurations are developed for the modules, and grounding, wiring, terminal, and voltage requirements are established. Installation and materials costs are presented along with performance criteria.

Nearhoof, S. L.↗

Finite difference methods for the solution of unsteady potential flows

Various problems which are confronted in the development of an unsteady finite difference potential code are reviewed mainly in the context of what is done for a typical small disturbance and full potential method. The issues discussed include choice of equations, linearization and conservation, differencing schemes, and algorithm development. A number of applications, including unsteady three dimensional rotor calculations, are demonstrated.

Caradonna, F. X.↗

Recent experiences with three-dimensional transonic potential flow calculations

Some recent experiences with computer programs capable of solving finitie-difference approximations to the full potential equation for the transonic flow past three dimensional swept wings and simple wing-fuselage combinations are discussed. The programs used are a nonconservative program for swept wings, a quasi-conservative finite-volume program capable of treating swept wings mounted on fuselages of slowly varying circular cross section, and a fully conservative finite volume scheme capable of treating swept wings and wing-cylinder combinations. The present capabilities of these codes are reviewed. The relative merits of the conservative and nonconservative formulations are discussed, and the results of calculations including corrections for the boundary-layer displacement effect are presented.

Caughey, D. A.↗

Development of photovoltaic array and module safety requirements

Safety requirements for photovoltaic module and panel designs and configurations likely to be used in residential, intermediate, and large-scale applications were identified and developed. The National Electrical Code and Building Codes were reviewed with respect to present provisions which may be considered to affect the design of photovoltaic modules. Limited testing, primarily in the roof fire resistance field was conducted. Additional studies and further investigations led to the development of a proposed standard for safety for flat-plate photovoltaic modules and panels. Additional work covered the initial investigation of conceptual approaches and temporary deployment, for concept verification purposes, of a differential dc ground-fault detection circuit suitable as a part of a photovoltaic array safety system.

Source record↗

Design and implementation of a multigrid code for the Euler equations

The steady-state equations of inviscid fluid flow, the Euler equations, are a nonlinear nonelliptic system of equations admitting solutions with discontinuities (for example, shocks). The efficient numerical solution of these equations poses a strenuous challenge to multigrid methods. A multigrid code has been developed for the numerical solution of the Euler equations. In this paper some of the factors that had to be taken into account in the design and development of the code are reviewed. These factors include the importance of choosing an appropriate difference scheme, the usefulness of local mode analysis as a design tool, and the crucial question of how to treat the nonlinearity. Sample calculations of transonic flow about airfoils will be presented. No claim is made that the particular algorithm presented is optimal.

Jespersen, D. C.↗

CO2 laser modeling

The topics covered include the following: (1) CO2 laser kinetics modeling; (2) gas lifetimes in pulsed CO2 lasers; (3) frequency chirp and laser pulse spectral analysis; (4) LAWS A' Design Study; and (5) discharge circuit components for LAWS. The appendices include LAWS Memos, computer modeling of pulsed CO2 lasers for lidar applications, discharge circuit considerations for pulsed CO2 lidars, and presentation made at the Code RC Review.

Johnson, Barry↗

Overview of nuclear fragementation models and needs

It has been known for some time that adequate assessment of spacecraft requirements and concomitant estimates of astronaut radiation exposures from galactic cosmic radiation requires accurate, quantitative methods for characterizing these radiation fields as they pass through thick absorbers. The main nuclear interaction processes involved are nuclear elastic an inelastic collisions, and nuclear breakup (fragmentation) and electromagnetic dissociation (EMD). Nuclear fragmenation and EMD are important because they alter the elemental and isotopic composition of the transported radiation fields. At present, there is no suitable accurate theory for predicting nuclear fragmentation cross sections for all collision pairs and energies of interest in space radiation protection. Typical cross-section differences between theory and experiment range from about 25 percent to a factor of two. The resulting errors in transported flux, for high linear energy transfer (LET) particles, are compared to these cross-sections errors. In this overview, theoretical models of heavy ion fragmentation currently used to generate input data bases for cosmic-ray transport and shielding codes are reviewed. Their shortcomings are discussed. Further actions needed to improve their accuracy and generality are presented.

Townsend, L. W.↗

Overview of nuclear fragmentation models and needs

It has been known for some time that adequate assessment of spacecraft shield requirements and concomitant estimates of astronauts radiation exposures from galactic cosmic radiation requires accurate, quantitative methods for characterizing these radiation fields as they pass through thick absorbers. The main nuclear interaction processes involved are (1) nuclear elastic and inelastic collisions, and (2) nuclear breakup (fragmentation) and electromagnetic dissociation (EMD). Nuclear fragmentation and EMD are important because they alter the elemental and isotopic composition of the transported radiation fields. At present, there is no suitably accurate theory for predicting nuclear fragmentation cross sections for all collision pairs and energies of interest in space radiation protection. Typical cross-section differences between theory and experiment range from about 25 percent to a factor of two. The resulting errors in transported flux, for high linear energy transfer (LET) particles, are comparble to these cross-section errors. In this overview, theoretical models of heavy ion fragmentation currently used to generate input data bases for cosmic-ray transport and shielding codes are reviewed. Their shortcomings are discussed. Further actions needed to improve their accuracy and generality are presented.

Review↗