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

TRANSP integrated modeling code for interpretive and predictive analysis of tokamak plasmas

This paper provides a comprehensive review of the TRANSP code, a sophisticated tool for interpretive and predictive analysis of tokamak plasmas, detailing its major capabilities and features. It describes the equations for particle, power, and momentum balance analysis, as well as the poloidal field diffusion equations. The paper outlines the spatial and time grids used in TRANSP and details the equilibrium assumptions and solvers. Various models for heating and current drive and radiation, including updates to the NUBEAM model, are discussed. The handling of large-scale events such as sawtooth crashes and pellet injections is examined, along with the predictive capabilities for advancing plasma profiles. The integration of TRANSP with the ITER Integrated Modeling and Analysis Suite (IMAS) is highlighted, demonstrating enhanced data access and analysis capabilities. Additionally, the paper discusses best practices and continuous integration techniques to enhance TRANSP's robustness. The suite of TRANSP tools, designed for efficient data analysis and simulation, further supports the optimization of tokamak operations and coupling with other tokamak codes. Continuous development and support ensure that TRANSP remains a major code for the analysis of experimental data for controlled thermonuclear fusion, maintaining its critical role in supporting the optimization of tokamak operations and advancing fusion research.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Software Quality Assurance for EBR-II Fuels Irradiation and Physics Database (FIPD)

The Fuels Irradiation and Physics Database (FIPD) is an ongoing DOE project on archival of the EBR-II metal-alloy fuel irradiation experiments. As part of its use in support of license applications, the Quality Assurance Program Plan (QAPP) was drafted and endorsed by NRC in an effort to demonstrate its compliance with regulatory expectations. Software Quality Assurance (SQA) for the physics portion of FIPD is intended to qualify the calculated quantities such as fuel and cladding temperatures, neutron fluence and axially varying burnup estimates for irradiated fuel elements. This report covers the initial evaluation of SQA status of three neutron physics and thermo-fluid codes (REBUS, RCT and SE2RCT) that form the basis of calculated quantities for as-irradiated characteristics of the tested metallic fuel elements. The report also introduces an SQA plan to address the identified deficiencies. The REBUS, RCT, and SE2RCT codes are all part of the Argonne Reactor Code (ARC) code system. There is considerable knowledge and experience on REBUS and RCT but relatively less on SE2RCT. During FY2021, efforts focused on an assessment of how the data in the EBR-II Physics and Analysis DataBase (PADB) is generated with SE2RCT and used in FIPD. Additional tasks included considerations of uncertainties for power estimates in REBUS and RCT calculations and their impact on the combined RCT methodology. The RCT software usage in FIPD was assessed this year and the input/output details studied. A “requirements” document was created that identifies the key features of the RCT software being used in FIPD that need to have SQA documentation. A brief discussion on the history of RCT and its input is included in this report along with the basic SQA roadmap laid out in the requirements document. The SE2RCT software usage in FIPD is still being studied noting that there is no current manual. As part of the work done this year, two bugs were identified in the SE2RCT software which have a minor impact on the accuracy of the results it produces. No requirements document has been created, but one identified feature of SE2RCT being used that needs verification was its fuel pin temperature calculation. The work completed this year confirms that the approximations which will be included in the software verification report for SE2RCT are accurate. In addition to software quality assurance work for RCT and SE2RCT, an automated verification framework is proposed to simplify the software quality assurance process. The purpose of this framework is to streamline code verification and documentation while minimizing repetitive tasks for code developers and reviewers. The reduction of repeated input (between reference solution, software, and documentation input) throughout the SQA process reduces potential for human errors during the preparation of the supporting software quality records. The automation of the verification and documentation process proposed for this project leverages the existing verification structure already in place for the SAS4A/SASSYS-1 code.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Review of Grey Box/Black Box Data Contamination Metrics on Open and Commercial Models

Dataset contamination is a problem where benchmarks and tasks used to evaluate the capabilities of Large Language Models (LLMs) have been incorporated into the training dataset of the models. This gives a false sense of performance that can overestimate how these models will function on truly unseen data. This problem becomes worse with commercial LLMs with larger and non-accessible training data, so techniques have been developed to try to measure the degree to which a model is contaminated with a benchmark’s data. To understand the effectiveness of these techniques, particularly when evaluating contamination on coding tasks, we review trends and categorize techniques by the degree of access to the model that is required. The research literature on this topic has reported mixed effectiveness of these techniques, so we select a set of black box (text access only) and grey box (access to model loss/probabilities required) techniques and apply them to both commercial and non-commercial models. We implement these metrics as part of a framework to test the contamination of Python code in LLMs to see to what extent we can replicate the effectiveness (or ineffectiveness) of these contamination detection techniques. Though we find mixed results in the capabilities of these metrics to identify contamination, we do observe evidence that they can identify contamination (broadly) in fine-tuned models when both a baseline and fine-tuned model is present. Additionally, similarity metrics were able to identify between contaminated and uncontaminated data even in situations where the data is distributionally similar (e.g., drawn from the same set of code projects).

97 MATHEMATICS AND COMPUTING↗

Effect of Light Water Reactor Water Environments on the Fatigue Life of Reactor Materials

The American Society of Mechanical Engineers (ASME) Boiler and Pressure Vessel Code (Code) provides rules for the design of Class 1 components of nuclear power plants. Figures I-9.1 through I-9.6 of Appendix I to Section III of the Code specify fatigue design curves for applicable structural materials. However, the Code design curves do not explicitly address the effects of light water reactor (LWR) water environments. Existing fatigue strain-vs.-life (ε-N) laboratory data illustrate potentially significant effects of LWR water environments on the fatigue resistance of pressure vessel and piping steels. Extensive studies have been conducted at Argonne National Laboratory and elsewhere since 1990 to investigate the effects of LWR environments on the fatigue life of piping and pressure vessel steels. This article summarizes the results of these studies. Existing fatigue ε-N data were evaluated to identify the various material, environmental, and loading conditions that influence fatigue crack initiation; a methodology for estimating fatigue lives as a function of these parameters was developed. The effects were incorporated into the ASME Code Section III fatigue evaluations in terms of an environmental correction factor, F en , which is defined as the ratio of fatigue life in air at room temperature to the fatigue life in the LWR water environment at reactor operating temperatures. Available fatigue data were used to develop fatigue design curves for carbon and low-alloy steels, austenitic stainless steels, and nickel-chromium-iron (NiCr-Fe) alloys and their weld metals in air at room temperature. A review of the Code Section III fatigue adjustment factors of 2 on strain and 20 on life is also presented and the possible conservatism inherent in the choice of these adjustment factors is evaluated. A brief description of potential effects of neutron irradiation on fatigue crack initiation for these structural materials is also presented.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Status Report on ASME Code Development for Nonmetallic Core Components in 2020

The purpose of this report is to provide a status update on the progress and ongoing activities of the current ASME Boiler Pressure Vessel (BPV) Code Section III, Division 5, on nonmetallic core components and assemblies which includes the design rules for graphite and ceramic composite materials. Section III is concerned with the design and construction of nuclear reactor components and Division 5 focuses on high temperature reactors (HTR). The ASME Section III Committee’s function for nuclear items other than pressure-retaining components, is to establish rules of safety related to structural integrity. The term “construction” refers to the all-inclusive effort comprising of materials, design, fabrication, examination, inspection, testing, certification, and pressure relief. The Department of Energy (DOE) supports industry codes and standards development through focused research providing the technical basis for new or modified codes and standards and the participation of subject matter experts in codes and standards committees. The activities for the nonmetallic core components and assemblies committees are the pursuit of two working groups that meet quarterly during ASME BPV Code Week meetings. The two working groups are General Requirements for Graphite and Ceramic Composite Core Components and Assemblies (GR GCCCCA) and Nonmetallic Design and Materials (NDM). The rules on general requirements for nonmetallic core components are discussed in the articles of Subsection HA subpart B. Ceramic composites were recently incorporated within the rules, and the GR GCCCCA working group is now in the process of aligning the requirements with the subsections and articles of ASME BPV Code Section III NCA, the general requirements for Division 1 and 2 of the code. The NDM working group is concerned with the design rules for graphite and composite materials for core components and assemblies discussed in Subsection HH (Class SN Nonmetallic Core Components) subpart A and subpart B which reference graphite and composite materials respectively. The bulk of the progress and work is done within this working group. A significant undertaking, with discussion that started in 2015, is to gain endorsement of ASME Section III, Division 5, by the U.S. Nuclear Regulatory Commission (NRC). In June 2018, ASME formally recommended endorsement to the NRC. The NRC has since initiated the endorsement review process, which is to be concluded early in 2021. ASME task groups on metallic structures and components, as well as non-metallic core support structures, have been formed to define potential pathways and schedules for NRC endorsement of Division 5. NRC determined to perform a review on the 2017 edition of Section III Division 5 as a baseline. As a result, the use of graphite as nonmetallic core components formed part of the review, but it excluded composite materials (which were first introduced in the 2019 edition). This report documents progress in FY 2020 directed toward ASME’s efforts to develop design codes for graphite and composites. Progress includes a major code review by NRC, the first code enquiry, and its solution, an overhaul of the treatment of Weibull Statistics, and the addition of Nonmandatory Appendices to the composites code relating to carbon-carbon composite materials.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Unconventional genetic code systems in archaea

Archaea constitute the third domain of life, distinct from bacteria and eukaryotes given their ability to tolerate extreme environments. To survive these harsh conditions, certain archaeal lineages possess unique genetic code systems to encode either selenocysteine or pyrrolysine, rare amino acids not found in all organisms. Furthermore, archaea utilize alternate tRNA-dependent pathways to biosynthesize and incorporate members of the 20 canonical amino acids. Recent discoveries of new archaeal species have revealed the co-occurrence of these genetic code systems within a single lineage. This review discusses the diverse genetic code systems of archaea, while detailing the associated biochemical elements and molecular mechanisms.

59 BASIC BIOLOGICAL SCIENCES↗

Calibration and Validation of NRC Fuel Performance Models

Pacific Northwest National Laboratory maintains steady-state and transient fuel performance codes for the U.S Nuclear Regulatory Commission (NRC). The NRC uses these codes in performing confirmatory calculations of licensee fuel performance codes and safety analysis methods during the review and approval of these codes and methods. The NRC also uses these codes to perform calculations to direct regulatory research and to assist in the development of new regulations and regulatory guides. Because of the safety-related uses for these codes, it is critically important that the codes are capable of accurately modeling modern fuel and operations and that the models and code predictions are well validated using data collected from conditions relevant to in-reactor conditions. FRAPCON and FRAPTRAN have an extensive database of separate effects data used to validate individual material property and fuel performance models and an integral effects database used to assess the overall code prediction within the full range of fuel operations. The key code predictions that are of regulatory interest as they relate to various specified acceptable design limits are; fuel and cladding temperature, rod internal pressure, cladding hoop strain, cladding corrosion and hydriding, and fission gas release. To assess the ability of the code to accurately predict these values, the integral assessment database consists of measurements of fuel centerline temperature, fission gas release, void volume, cladding corrosion, and cladding hoop strain. This paper will discuss the activities that are performed to ensure that FRAPCON and FRAPTRAN represent the state of the industry and will describe the separate effect and integral effect databases that are used to validate the models and are continually being expanded to ensure validation over the full range of fuel operations.

Geelhood, Kenneth J.↗

Calibration and validation of NRC fuel performance models

FRAPCON and FRAPTRAN are the steady-state and transient fuel performance codes, respectively, that are used by the U.S. Nuclear Regulatory Commission (NRC) in performing confirmatory calculations of licensee fuel performance codes and safety analysis methods during the review and approval of these codes and methods for light-water reactors. The NRC also uses these codes to perform calculations to direct regulatory research and to assist in the development of new regulations and regulatory guides. FRAPCON and FRAPTRAN are well-validated fuel performance codes that are kept in a constant state of maintenance. FRAPCON and FRAPTRAN have an extensive database of separate effects data used to validate individual material property and fuel performance models and an integral effects database used to assess the overall code prediction within the full range of fuel operations. The key code predictions that are of regulatory interest as they relate to various specified acceptable design limits are: fuel and cladding temperature, rod internal pressure, cladding hoop strain, cladding corrosion and hydriding, and fission gas release. To assess the ability of the code to accurately predict these values, the integral assessment database consists of measurements of fuel centerline temperature, fission gas release, void volume, cladding corrosion, and cladding hoop strain. This paper will discuss the activities that are performed to ensure that FRAPCON and FRAPTRAN represent the state of the industry and will describe the separate effect and integral effect databases that are used to validate the models and are continually being expanded to ensure validation over the full range of fuel operations.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Advances in Clayff Molecular Simulation of Layered and Nanoporous Materials and Their Aqueous Interfaces

As a general-purpose force field for molecular simulations of layered materials and their fluid interfaces, Clayff continues to see broad usage in atomistic computational modeling for numerous geoscience and materials science applications due to its (1) success in predicting properties of bulk nanoporous materials and their interfaces, (2) transferability to a range of layered and nanoporous materials, and (3) simple functional form which facilitates incorporation into a variety of simulation codes. Here, we review applications of Clayff to model bulk phases and interfaces not included in the original parameter set and recent modifications for modeling surface terminations such as hydroxylated nanoparticle edges. Overall, we conclude with a discussion of expectations for future developments.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

The intrinsic matter bispectrum in ΛCDM

We present a fully relativistic calculation of the matter bispectrum at second order in cosmological perturbation theory assuming a Gaussian primordial curvature perturbation. For the first time we perform a full numerical integration of the bispectrum for both baryons and cold dark matter using the second-order Einstein-Boltzmann code, SONG. We review previous analytical results and provide an improved analytic approximation for the second-order kernel in Poisson gauge which incorporates Newtonian nonlinear evolution, relativistic initial conditions, the effect of radiation at early times and the cosmological constant at late times. Our improved kernel provides a percent level fit to the full numerical result at late times for most configurations, including both equilateral shapes and the squeezed limit. We show that baryon acoustic oscillations leave an imprint in the matter bispectrum, making a significant impact on squeezed shapes.

79 ASTRONOMY AND ASTROPHYSICS↗

Natural Language Processing-Enhanced Nuclear Industry Operating Experience Data Analysis: Aggregation and Interpretation of Multi-Report Analysis Results

Industry-wide operating experience is a critical source of raw data for reliability and risk model parameter estimations for nuclear power plants. A large portion of operating experience data are failure events stored as reports that contain unstructured data, such as narratives. In current practice, a failure report is usually reviewed and manually coded by analysts. The coding is based on extracting several event characteristics such as system name, component type, sub-part type, failure mode, and failure cause. Event narratives are mostly used to help understand events and extract their characteristics. In this line of research, we aim to maximize the usage of event narratives by leveraging natural language processing (NLP) methods to automatically convert an event narrative to a causal graph. This research has promise to improve physical understanding of failure initiation and propagation and to facilitate use of non-failure data (e.g., near-misses and degradations) to complement the limited data pool of failures. In our previous work, we developed an NLP tool and applied it to analyze a number of licensee event reports submitted by U.S. nuclear power plants to the Nuclear Regulatory Commission. In this paper, we will report our recent research progress in aggregating the results of multiple reports, developing network model(s), and drawing statistical insights.

99 GENERAL AND MISCELLANEOUS↗

IDAES-PSE 2.1.0 Release

The Institute for the Design of Advanced Energy Systems (IDAES) Integrated Platform is a versatile computational environment offering extensive process systems engineering (PSE) capabilities for optimizing the design and operation of complex, interacting technologies and systems. IDAES enables users to efficiently search vast, complex design spaces to discover the lowest cost, most environmentally sustainable solutions while supporting the full process modeling lifecycle, from conceptual design to dynamic optimization and control. The extensible, open platform empowers users to create models of novel processes and rapidly develop custom analyses, workflows, and end-user applications. IDAES-PSE 2.1.0 Release Highlights New IDAES Examples Repository Starting with this release, the IDAES examples are developed in the new IDAES/examples repository. Along with many content and usability improvements, the most significant changes are: To install the examples, after installing IDAES, run pip install idaes-examples The idaes get-examples command, previously used for this, has been removed The HTML version is now available at https://idaes-examples.readthedocs.io The previous URL, https://idaes.github.io/examples-pse, will not be updated and may be removed at some point in the future For more details, refer to the resources available at IDAES/examples. Removal of Non-Functional Apps A review of the code in the idaes/apps and idaes/models_extra folders was undertaken, and a number of tools were identified as being outdated or non-functional and no longer supported by their development teams. Due to this, the following tools have been removed: idaes/apps/alamopy_depr (note that the new ALAMOpy interface remains avaialble in idaes/core/surrogates) idaes/apps/helmet idaes/apps/ripe idaes/apps/roundingRegression idaes/models_extra/carbon_capture Pyomo 6.6 This version of IDAES is the first requiring Pyomo 6.6. This version of Pyomo contains multiple internal improvements and refactorings. While for the majority of cases this should have positive or no impact on solvability of IDAES models, we are aware of a small number of models that have been affected as a result of these changes. For more information, refer to the Pyomo 6.6.1 release notes. Other highlights Model Initialization A prototype API for a new approach to initializing IDAES models is now available which makes available some new techniques for initializing models. This is documented in the Initializing Models Reference Guide Modular Properties Framework Support for some transport properties Helmholtz Equation of State properties Better error checking for case where unit models are set to include phase equilibrium but the property package is set to support only a single phase Multi-Stream Contactor model: a new base model for systems involving contacting of two or more streams with mass transfer. This model is intended to be used as the foundation for models such as membrane separators, solvent extraction and other similar processes. This is documented in the Multi-Stream Contactor Reference Guide idaes/models_extra/power_generation report() methods for unit models using Helmholtz equation of state General Code Maintenance Streamlining of dependencies and creation of new optional dependency groupings to support non-core tools General linting of codebase to ensure compliance with most pylint checks Spell checking of all code and doc strings Removal of backward compatibility code for Python 2

IDAES↗

Neutron Generator Production Facility (NGPF), Building 870: Structural Fire Protection Analysis and Basis of Design Report

This report was prepared to provide an explanation of the prescriptive-based code approach for the Neutron Generator Production Facility’s (NGPF) structural fire protection and construction classification determinations based upon the original code-of-record (1991-UBC) and current International Building Code (2012-IBC) requirements. The code approach presented in this report included a determination of the required construction type in accordance with the 2012-IBC. Through the evaluation of the record design drawings and subsequent site surveys, a determination was made of the existing types of materials used to construct the columns, beams, floor assemblies, roof assembly, and exterior and interior walls and partitions. A summary is provided for the fire resistance requirements of the different elements of the building. In addition, a determination was made in regards to the fire resistance hourly ratings of the columns, beams, floor assemblies, roof assembly, exterior walls, interiors walls and partitions, door openings, joints and penetrations. Through design evaluation, site survey, code verification, and review of record documents, the actual construction classification (Type II-B) was confirmed to be compliant with the 2012-IBC.

42 ENGINEERING↗

Survey and Assessment of Computational Capabilities for Advanced (Non-LWR) Reactor Mechanistic Source Term Analysis.

A vital part of the licensing process for advanced (non-LWR) nuclear reactor developers in the United States is the assessment of the reactor’s source term, i.e., the potential release of radionuclides from the reactor system to the environment during normal operations and accident sequences. In comparison to source term assessments which follow a bounding approach with conservative assumptions, a mechanistic approach to modeling radionuclide transport, which realistically accounts for transport and retention phenomena, is expected to be used for advanced reactor systems. As the designs of advanced reactors increase in maturity and progress towards licensing, there is a need to advance modeling and simulation capabilities in analyzing the mechanistic source term (MST) of a prospective reactor concept. In the present work, a survey is provided of existing computational capabilities for the modeling of advanced reactors MSTs. The following reactors are considered: high temperature gas reactors (HTGR); molten salt reactors (MSR) which include salt-fueled reactors and fluoride salt-cooled high temperature reactors (FHR); and sodium- and lead-cooled fast reactors (SFR, LFR). A review of relevant codes which may be useful in providing information to MST analyses is also completed, including codes that have been used for source term analyses of LWRs, as well as those being developed for other aspects of advanced reactor system modeling such as reactor physics, thermal hydraulics, and chemistry. A discussion of MST modeling capabilities for each reactor type is provided with additional focus on important phenomena and functional requirements. Additionally, a comprehensive survey is provided of tools for consequence modeling such as atmospheric transport and dispersion (ATD).

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Integrating Health and Energy Efficiency in Healthcare Facilities

This report presents a review of literature and current best practices along the intersection of energy efficiency and occupant health at U.S. healthcare facilities, including federally owned buildings. It also includes a review of minimum code requirements for healthcare indoor environmental quality (IEQ) and research on building measures that optimize occupant health and energy efficiency.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

A systematic review of validated suicide outcome classification in observational studies

Abstract Background Suicidal outcomes, including ideation, attempt, and completed suicide, are an important drug safety issue, though few epidemiological studies address the accuracy of suicidal outcome ascertainment. Our primary objective was to evaluate validated methods for suicidal outcome classification in electronic health care database studies. Methods We performed a systematic review of PubMed and EMBASE to identify studies that validated methods for suicidal outcome classification published 1 January 1990 to 15 March 2016. Abstracts and full texts were screened by two reviewers using prespecified criteria. Sensitivity, specificity, and predictive value for suicidal outcomes were extracted by two reviewers. Methods followed PRISMA-P guidelines, PROSPERO Protocol: 2016: CRD42016042794. Results We identified 2202 citations, of which 34 validated the accuracy of measuring suicidal outcomes using International Classification of Diseases (ICD) codes or algorithms, chart review or vital records. ICD E-codes (E950-9) for suicide attempt had 2–19% sensitivity, and 83–100% positive predictive value (PPV). ICD algorithms that included events with ‘uncertain’ intent had 4–70% PPV. The three best-performing algorithms had 74–92% PPV, with improved sensitivity compared with E-codes. Read code algorithms had 14–68% sensitivity and 0–56% PPV. Studies estimated 19–80% sensitivity for chart review, and 41–97% sensitivity and 100% PPV for vital records. Conclusions Pharmacoepidemiological studies measuring suicidal outcomes often use methodologies with poor sensitivity or predictive value or both, which may result in underestimation of associations between drugs and suicidal behaviour. Studies should validate outcomes or use a previously validated algorithm with high PPV and acceptable sensitivity in an appropriate population and data source.

Swain, Richard S.↗

Insights on Fukushima Damage Progression based on PCV Inspections and Implications for Decommissioning Data Collection and Code Model Refinement [Slides]

Outline points are: Review what is known from experiments and how codes are modeling phenomena; Materials interactions are very important and key interactions will be identified and discussed; Chronology of damage progression roughly follows in order of increasing melting/liquefaction temperatures; Examine a plausible sequence to explain robotic visual examinations; Highlight MELCOR modeling observations; Highlight potential decommissioning phase data collection needs; and, Knowledge advance is iterative process of reconciling observations with code predictions, improving code models, and comparing to emerging new observations.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

A review of the use and potential of the GATE Monte Carlo simulation code for radiation therapy and dosimetry applications

In this paper, the authors' review the applicability of the open-source GATE Monte Carlo simulation platform based on the GEANT4 toolkit for radiation therapy and dosimetry applications. The many applications of GATE for state-of-the-art radiotherapy simulations are described including external beam radiotherapy, brachytherapy, intraoperative radiotherapy, hadrontherapy, molecular radiotherapy, and in vivo dose monitoring. Investigations that have been performed using GEANT4 only are also mentioned to illustrate the potential of GATE. The very practical feature of GATE making it easy to model both a treatment and an imaging acquisition within the same frameworkis emphasized. The computational times associated with several applications are provided to illustrate the practical feasibility of the simulations using current computing facilities.

62 RADIOLOGY AND NUCLEAR MEDICINE↗