Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Codes”

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 631 records · Page 35

Tools and Incentives for Implementing Codes of Ethics to Help Prevent the Reemergence of Chemical Weapons

Since the entry into force of the Chemical Weapons Convention (CWC) and the establishment of the Organisation for Prohibition of Chemical Weapons (OPCW) in 1997, 96% of the world’s declared stockpile, comprising 72,305 metric tons of chemical warfare agents have been destroyed. Despite this notable progress, the convergence of chemistry and biology brings new challenges to preventing chemical weapons production, as the technical capability to manipulate the chemistry of microorganisms has diffused beyond the chemical industry and academic research communities. The development and voluntary adoption by chemical practitioners around the world of ethical codes or guidelines, such as The Hague Ethical Guidelines and the Global Chemists’ Code of Ethics (GCCE) , are important steps in strengthening international nonproliferation efforts through their potential to impact the intent of the individual by normalizing ethical behavior. However, the simple act of adopting a code does not guarantee ethical behavior. Care must be taken to ensure those adopting the code understand specifically the behavior being asked of them, and they must be given ample opportunities to practice exercising those behaviors in low-risk situations and encouragement to keep trying when they fail. Furthermore, in small-to-medium chemical companies, concerns that adopting such measures could negatively impact profit margins may dissuade some business owners from voluntarily adopting ethical codes, while a country’s decision makers may not prioritize establishment of new regulatory mechanisms that could address some of these concerns. In this paper, factors that may positively influence a chemical company’s decision to adopt ethical guidelines, such as integration of social sustainability elements into frameworks and approaches to maintain social legitimacy in the eyes of the broader community, are explored. Voluntary adoption of ethical codes gives teeth to arms control regimes. By encouraging chemical companies to become engaged in the community around them and providing easy-to-use tools like scenario-based E-learning to enable remote engagement and facilitate understanding of the principles undergirding the GCCE, they actively participate in making the world a better place and minimizing the potential for reemergence of chemical weapons.

Small Chemical Companies, Codes of Ethics, E-learn↗

Recent improvements of reactor physics codes in MHI

This paper introduces recent improvements for reactor physics codes in Mitsubishi Heavy Industries, Ltd(MHI). MHI has developed a new neutronics design code system Galaxy/Cosmo-S(GCS) for PWR core analysis. After TEPCO’s Fukushima Daiichi accident, it is required to consider design extended condition which has not been covered explicitly by the former safety licensing analyses. Under these circumstances, MHI made some improvements for GCS code system. A new resonance calculation model of lattice physics code and homogeneous cross section representative model for core simulator have been developed to apply more wide range core conditions corresponding to severe accident status such like anticipated transient without scram (ATWS) analysis and criticality evaluation of dried-up spent fuel pit. As a result of these improvements, GCS code system has very wide calculation applicability with good accuracy for any core conditions as far as fuel is not damaged. In this paper, the outline of GCS code system is described briefly and recent relevant development activities are presented.

42 ENGINEERING↗

Path Forward: Materials Data Modernization for ASME Codes and Standards in the Artificial Intelligence Era

Development of the ASME Materials Properties Database was initiated in the early 2010s to support the ASME Codes and Standards. As information technologies advance at an accelerated pace with the artificial intelligence era on the horizon, the ASME Materials Properties Database must be further modernized from a database to a knowledgebase to ride the wave of digital information revolution and effectively support the ASME Codes and Standards in the new era. This paper is intended to provide an overview of the ASME Materials Properties Database and discuss a roadmap for its future development to facilitate understanding of and participation from different sectors of the Codes and Standards community. Further, it first reviews the basic concepts of data, information, knowledge, database, and database system as well as the pros and cons in different types of data management and then discusses the path forward for a desired evolution of the database into a self-explanatory and machine-readable knowledgebase that is consistent with human cognitive processes for the Codes and Standards development and, furthermore, provides resources for data processing and analysis to reach an eventual goal of streamlining the Codes and Standards development from the initial inquiry, throughout data submission, analysis, …, to Codes and Standards rule establishment for final publication.

36 MATERIALS SCIENCE↗

TU-AB-BRC-10: Modeling of Radiotherapy Linac Source Terms Using ARCHER Monte Carlo Code: Performance Comparison of GPU and MIC Computing Accelerators

Purpose: (1) To perform phase space (PS) based source modeling for Tomotherapy and Varian TrueBeam 6 MV Linacs, (2) to examine the accuracy and performance of the ARCHER Monte Carlo code on a heterogeneous computing platform with Many Integrated Core coprocessors (MIC, aka Xeon Phi) and GPUs, and (3) to explore the software micro-optimization methods. Methods: The patient-specific source of Tomotherapy and Varian TrueBeam Linacs was modeled using the PS approach. For the helical Tomotherapy case, the PS data were calculated in our previous study (Su et al. 2014 41(7) Medical Physics). For the single-view Varian TrueBeam case, we analytically derived them from the raw patient-independent PS data in IAEA’s database, partial geometry information of the jaw and MLC as well as the fluence map. The phantom was generated from DICOM images. The Monte Carlo simulation was performed by ARCHER-MIC and GPU codes, which were benchmarked against a modified parallel DPM code. Software micro-optimization was systematically conducted, and was focused on SIMD vectorization of tight for-loops and data prefetch, with the ultimate goal of increasing 512-bit register utilization and reducing memory access latency. Results: Dose calculation was performed for two clinical cases, a Tomotherapy-based prostate cancer treatment and a TrueBeam-based left breast treatment. ARCHER was verified against the DPM code. The statistical uncertainty of the dose to the PTV was less than 1%. Using double-precision, the total wall time of the multithreaded CPU code on a X5650 CPU was 339 seconds for the Tomotherapy case and 131 seconds for the TrueBeam, while on 3 5110P MICs it was reduced to 79 and 59 seconds, respectively. The single-precision GPU code on a K40 GPU took 45 seconds for the Tomotherapy dose calculation. Conclusion: We have extended ARCHER, the MIC and GPU-based Monte Carlo dose engine to Tomotherapy and Truebeam dose calculations.

60 APPLIED LIFE SCIENCES↗

Methodology for Evaluating Cost-Effectiveness of Residential Energy Code Changes

DOE's Building Energy Codes Program has developed and established a methodology for evaluating the energy and economic performance of residential energy codes. This methodology serves two primary purposes. First, as DOE participates in the consensus processes of the International Code Council, the methodology described herein will be used by DOE to ensure that its proposals are both energy efficient and cost-effective. Second, when a new version of the International Energy Conservation Code is published, DOE will evaluate the new code as a whole to establish expected energy savings and cost-effectiveness, which will help states and local jurisdictions interested in adopting the new codes. DOE's measure of cost-effectiveness balances longer-term energy savings against additions to initial costs through a life-cycle cost perspective.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Resilience Issues in Building Energy Codes

This report, prepared for the International Energy Agency’s Building Energy Codes Working Group (BECWG, part of the IEA Energy in Buildings and Communities Technical Collaboration Programme, or IEA EBC), focuses on the application of building energy codes to improve the ability of buildings to provide a minimum healthy level of thermal comfort and function during extreme events. It reviews the relationship of building energy codes to the other building resilience policies and strategies, such as other building life/safety codes, community planning or zoning to discourage rebuilding in areas most prone to climate disasters, and other resilience planning strategies. The report provides an overview of how different jurisdictions address resilience issues in building energy codes in countries that are part of the IEA EBC Building Energy Codes Working Group.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

CST: A Tool for Optimizing the Efficiency and Effectiveness of Static-Code Analysis Tools

Static Code Analysis (SCA) is a vital component of NASA IV&V’s mission assurance for safety-critical software as it reduces the likelihood of software-induced hazards impacting mission success. Static Code Analysis achieves this by identifying hazards that may not have been otherwise detectable by typical code reviews or other testing. Using SCA tools, however, can be intimidating due to steep learning curves, especially considering tool performance and defect coverage varies greatly. Because of this variation amongst SCA tools, understanding which tools support certain defects and which do not, as well as understanding how to run an analysis based on steps that are unique to each tool, can be difficult to both new and experienced analysts alike. To mitigate this, the SCAWG or the IV&V Static Code Analysis Working Group, created the SCA Checker Taxonomy and Starting Point Profiles. The Checker Selection Tool (CST) incorporates these two SCAWG products into an interactive tool which allows the user to: select organized categories of defects they would like the SCA tools to discover, select default checkers depending on their mission type (e.g. flight), and configure multiple SCA tools at once. C/C++, Java, and Python defect checkers from four common SCA tools were utilized in this iteration of the CST. This iteration also includes the addition of training, SCA tool specific help, and taxonomy guide links, into its design to help users new to Static Code Analysis learn how to perform SCA more efficiently. The CST has been subject to beta testing by experienced static code analysts from the SCAWG to ensure a usable and accurate final product. The implications of the CST in the mission assurance of NASA safety-critical software are profound, as the CST can help identify and reduce false positives and false negatives, fundamentally improving overall SCA efficiency and accuracy.

static code analysis↗

RELAP-7 Code Assessment Plan and Requirement Traceability Matrix

The RELAP-7, a safety analysis code for nuclear reactor system, is under development at Idaho National Laboratory (INL). Overall, the code development is directed towards leveraging the advancements in computer science technology, numerical solution methods and physical models over the last decades. Recently, INL has also been putting an effort to establish the code assessment plan, which aims to ensure an improved final product quality through the RELAP-7 development process. The ultimate goal of this plan is to propose a suitable way to systematically assess the wide range of software requirements for RELAP-7, including the software design, user interface, and technical requirements, etc. To this end, we first survey the literature (i.e., international/domestic reports, research articles) addressing the desirable features generally required for advanced nuclear system safety analysis codes. In addition, the V&V (verification and validation) efforts as well as the legacy issues of several recently-developed codes (e.g., RELAP5-3D, TRACE V5.0) are investigated. Lastly, this paper outlines the Requirement Traceability Matrix (RTM) for RELAP-7 which can be used to systematically evaluate and identify the code development process and its present capability.

42 ENGINEERING↗

Paving the Way for Net Zero Energy Codes through Performance Based Approaches

The prescriptive path is the most widely used approach for commercial code compliance in the United States. However, to achieve near-term net zero energy performance that many stakeholders in the buildings industry desire, it is clear that energy codes will need to transition from prescriptive to performance-based approaches. However, that transition is not without potential pitfalls. Among the concerns expressed by stakeholders are added complexity and cost, lack of confidence in energy modeling results, gamesmanship on the part of applicants, lack or qualified reviewers, challenges in promoting de-carbonization, and the inequity of trading long lived envelope efficiency for short lived measures such as building controls. This paper will discuss multiple approaches being evaluated and implemented by Pacific Northwest National Laboratory to improve the usability of the performance-based approach for both code compliance and beyond code programs to meet aggressive energy savings targets. A 'system performance' approach provides a simpler approach compared to whole building performance, while keeping tradeoffs limited to specific building systems. A simplified whole-building performance-based approach for small commercial buildings can cost effectively achieve deeper savings for buildings that typically follow the prescriptive compliance approach. Improved reporting and verification processes applied to the traditional performance path can provide greater confidence in simulation results and facilitate adoption of performance-based approaches. Prescriptive packages provide prescriptive solutions while targeting specific performance thresholds. This paper discusses the progress being made with each of these approaches and provides examples of their implementation in energy codes and beyond code programs.

Performance Based Codes, Appendix G, PRM, TSPR, Sy↗

Fast Reactor Core Analysis Using AZNHEX Neutron Diffusion Code

The AZTLAN platform project emerged as an initiative to rank Mexico at a competitive level in software aspects for the analysis of nuclear reactors, in an effort to achieve autonomy in this area. The AZTLAN platform is conformed by a thermo-hydraulic code (AZTHECA), a neutron transport code (AZTRAN) and two neutron diffusion codes (AZKIND, AZNHEX). AZNHEX is a 3D diffusion code that solves numerically the time dependent neutron diffusion equations in hexagonal z-geometry using the RTN0 nodal finite element method. With this code, it is possible to simulate and analyze light water reactors, such as the Russian VVER, and variety of fast reactors. In this work, a sodium-cooled fast reactor core in steady state, with control rods fully withdrawn, is simulated. The comparison and validation of the values obtained with AZNHEX was done with the results obtained with MCNP6 Monte Carlo code.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Preliminary critical experiments validation of a lattice physic code LATC - 14415

Core and System Integrated Engine for design and analysis (COSINE) is an integrated nuclear engineering code package, which is being developed by State Nuclear Power Software Development Center (SNPSDC) in China. A lattice physics code named LATC is included in COSINE.LATC is a 2D, steady-state code for modeling PWR fuel. A WIMS-D 69 group micro library based on ENDF/B-VI is used and there are two transportation methods in LATC, such as two steps method (collision probability method for cell homogenization, discrete coordinate method for assembly homogenization) and one step method (MOC). The UO{sub 2} fuel assembly, which may contain guide tubes, burnable poisons such as Integral Fuel Burnable Absorbers (IFBA) / Wet Annular Burnable Absorbers (WABA)/ Pyrexes or control rods etc, can be calculated in LATC. LATC provides the required cross-section data for the core physics simulator analysis code in COSINE. In order to evaluate the quality of the LATC, a strategy of validation is researched and applied to the LATC. Firstly, a validation requirement analysis is performed, and the corresponding critical experiments are collected, and then a critical experimental matrix considering the variety of fuel enrichments, fuel pitch and water to uranium ratio is generated. Finally, a comparison of results between LATC using collision probability and discrete coordinate method and critical experiments are made to make sure that the code works well. According to the validation strategy discussed above, the preliminary validation is carried out and critical experiments are calculated according to the critical experimental matrix and results from LATC code are compared with reference results. The result shows that the calculated results agree well with critical experiments, and do not indicate any significant trends with respect to the various conditions considered. (authors)

42 ENGINEERING↗

Model Energy Codes End-Use Opportunity Analysis

Model energy codes (ASHRAE Standard 90.1 and IECC) has significantly impacted programs and policies aimed at improving energy efficiency both in United States and across the globe. Standard 90.1, first published in 1975 (originally referred to as Standard 90) provides minimum energy efficiency guidelines for designing, constructing, operating, and maintaining new construction and renovated buildings. It is updated continuously, with new editions published every 3 years. Pacific Northwest National Laboratory (PNNL) conducts simulated energy and cost savings analysis of model energy codes to determine their expected impact and to track progress toward net-zero goals and efficiency targets. Additionally, the simulation outputs are examined to assess how energy is used across primary systems within prominent U.S. commercial building types to understand how energy is used in each building type at the end-use level and to identify areas for improvements in future code cycles. This end-use opportunity analysis of model energy codes provides ASHRAE technical committees and other interested parties a better understanding of how the Standard affects various building systems and end uses, specifically, those in the Standard that most prominently influence energy efficiency. Additionally, findings provide industry stakeholders guidance in identifying building types and end-uses with the most potential for energy efficiency improvements through energy codes and those that may require beyond code measures to meet energy use reduction targets. This paper summarizes features and functionalities of a webtool created by PNNL to explore and visualize the End-Use opportunity analysis.

ASHRAE 90.1, Energy Codes, Tableau↗

A Perspective of Energy Codes and Regulations for the Buildings of the Future

Today’s building energy codes focus on prescriptive requirements for features of buildings that are directly controlled by the design and construction teams and verifiable by municipal inspectors. Although these code requirements have had a significant impact, they fail to influence a large slice of the building energy use pie – including not only miscellaneous plug loads, cooking equipment and commercial/industrial processes, but the maintenance and optimization of the code-mandated systems as well. Currently, code compliance is verified only through the end of construction, and there are no limits or consequences for the actual energy use in an occupied building. In the future, our suite of energy regulations will likely expand to include building efficiency, energy use or carbon emission budgets over their full life cycle. Intelligent building systems, extensive renewable energy, and a transition from fossil fuel to electric heating systems will likely be required to meet ultra-low-energy targets. This paper lays out the authors’ perspectives on how buildings may evolve over the course of the 21st century and the roles that codes and regulations will play in shaping those buildings of the future.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Commercial Building Energy Code Field Study (Final Report)

What is the dollar value of increasing compliance with the energy code? Ultimately, this is the question that policy makers, funders, and program implementers care about. With this in mind, Pacific Northwest National Laboratory (PNNL) developed a new methodology capable of determining how much energy cost savings could potentially be gained through better compliance with the code (Rosenberg et al. 2016). On March 2, 2016 DOE issued Funding Opportunity Announcement (FOA) Number DE-FOA-0001532, requesting proposals to develop and test a methodology for identifying the commercial energy code requirements that can provide the maximum cost-effective energy and cost savings through increased compliance. Awarded to the Institute for Market Transformation, this report summarizes the development and testing of a commercial code compliance methodology, including a summary of results, statistical analysis of sample, and best practices for others implementing a commercial energy code compliance field study.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

WEC3: Wave Energy Converter Code Comparison Project: Preprint

This paper describes the recently launched Wave Energy Converter Code Comparison (WEC3) project and present preliminary results from this effort. The objectives of WEC3 are to verify and validate numerical modelling tools that have been developed specifically to simulate wave energy conversion devices and to inform the upcoming IEA OES Annex VI Ocean Energy Modelling Verification and Validation project. WEC3 is divided into two phases. Phase 1 consists of a code-to-code verification and Phase II entails code-to-experiment validation. WEC3 focuses on mid-fidelity codes that simulate WECs using time-domain multibody dynamics methods to model device motions and hydrodynamic coefficients to model hydrodynamic forces. Consequently, high-fidelity numerical modelling tools, such as Navier-Stokes computational fluid dynamics simulation, and simple frequency domain modelling tools were not included in the WEC3 project.

16 TIDAL AND WAVE POWER↗

An efficient and portable SIMD algorithm for charge/current deposition in Particle-In-Cell codes

In current computer architectures, data movement (from die to network) is by far the most energy consuming part of an algorithm (≈20pJ/word on-die to ≈10,000 pJ/word on the network). To increase memory locality at the hardware level and reduce energy consumption related to data movement, future exascale computers tend to use many-core processors on each compute nodes that will have a reduced clock speed to allow for efficient cooling. To compensate for frequency decrease, machine vendors are making use of long SIMD instruction registers that are able to process multiple data with one arithmetic operator in one clock cycle. SIMD register length is expected to double every four years. As a consequence, Particle-In-Cell (PIC) codes will have to achieve good vectorization to fully take advantage of these upcoming architectures. In this paper, we present a new algorithm that allows for efficient and portable SIMD vectorization of current/charge deposition routines that are, along with the field gathering routines, among the most time consuming parts of the PIC algorithm. Our new algorithm uses a particular data structure that takes into account memory alignment constraints and avoids gather/scat;ter instructions that can significantly affect vectorization performances on current CPUs. The new algorithm was successfully implemented in the 3D skeleton PIC code PICSAR and tested on Haswell Xeon processors (AVX2-256 bits wide data registers). Results show a factor of ×2 to ×2.5 speed-up in double precision for particle shape factor of orders 1–3. The new algorithm can be applied as is on future KNL (Knights Landing) architectures that will include AVX-512 instruction sets with 512 bits register lengths (8 doubles/16 singles). Program summary Program Title: vec_deposition Program Files doi:http://dx.doi.org/10.17632/nh77fv9k8c.1 Licensing provisions: BSD 3-Clause Programming language: Fortran 90 External routines/libraries: OpenMP > 4.0 Nature of problem: Exascale architectures will have many-core processors per node with long vector data registers capable of performing one single instruction on multiple data during one clock cycle. Data register lengths are expected to double every four years and this pushes for new portable solutions for efficiently vectorizing Particle-In-Cell codes on these future many-core architectures. One of the main hotspot routines of the PIC algorithm is the current/charge deposition for which there is no efficient and portable vector algorithm. Solution method: Here we provide an efficient and portable vector algorithm of current/charge deposition routines that uses a new data structure, which significantly reduces gather/scatter operations. Vectorization is controlled using OpenMP 4.0 compiler directives for vectorization which ensures portability across different architectures. Restrictions: Here we do not provide the full PIC algorithm with an executable but only vector routines for current/charge deposition. These scalar/vector routines can be used as library routines in your 3D Particle-In-Cell code. However, to get the best performances out of vector routines you have to satisfy the two following requirements: (1) Your code should implement particle tiling (as explained in the manuscript) to allow for maximized cache reuse and reduce memory accesses that can hinder vector performances. The routines can be used directly on each particle tile. (2) You should compile your code with a Fortran 90 compiler (e.g Intel, gnu or cray) and provide proper alignment flags and compiler alignment directives (more details in README file).

97 MATHEMATICS AND COMPUTING↗

ThinCurr: An open-source 3D thin-wall eddy current modeling code for the analysis of large-scale systems of conducting structures

In this paper we present a new thin-wall eddy current modeling code, ThinCurr, for studying inductively-coupled currents in 3D conducting structures -- with primary application focused on the interaction between currents flowing in coils, plasma, and conducting structures of magnetically-confined plasma devices. The code utilizes a boundary finite element method on an unstructured, triangular grid to accurately capture device structures. The new code, part of the broader Open FUSION Toolkit, is open-source and designed for ease of use without sacrificing capability and speed through a combination of Python, Fortran, and C/C++ components. Scalability to large models is enabled through use of hierarchical off-diagonal low-rank compression of the inductance matrix, which is otherwise dense. Ease of handling large models of complicated geometry is further supported by automatic determination of supplemental elements through a greedy homology approach. Here, a detailed description of the numerical methods of the code and verification of the implementation of those methods using cross-code comparisons against the VALEN code and Ansys commercial analysis software is shown.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Benchmarking Monte Carlo codes for the modelling of low-energy neutron production target reactions

The increasing adoption of accelerator-based neutron sources (ABNS) for applications including neutron capture therapy (NCT) research has highlighted the need for accurate simulation tools. Precise modelling of the neutron production target is crucial to ensure that simulated predictions of neutron beam characteristics used for subsequent beam shaping assembly design are reliable. This work presents a comprehensive benchmarking of four widely-used Monte Carlo codes - Geant4, PHITS, FLUKA (CERN), and MCNP - for modelling low-energy neutron production target reactions. Using their recommended physics models and cross-section libraries, we evaluate each code’s performance in simulating four beam-target reactions: 7 Li(p,n) 7 Be, 9 Be(p,n) 9 B, 9 Be(d,n) 10 B, and C(d,n)N. Predictions of neutron yield, angular distributions, and energy spectra are compared against available thick target experimental data. Results show varying levels of agreement between the codes depending on the reaction type, energy range, and beam characteristics. Geant4, MCNP and PHITS are the overall best performing codes for the simulation of total neutron yield and yield in the forward direction across most reactions. Across energies where experimental benchmarks exist, inter-code discrepancies in total and forward-directed yield are typically 10 to 30%, with larger deviations at near-threshold incident ion energies. PHITS provides the best overall reproduction of experimental spectra, particularly for the 9 Be(p,n) 9 B reaction. Additionally, PHITS demonstrates superior computational performance for most reactions. These findings provide valuable guidance for ABNS design, highlighting the strengths and limitations of each code for the simulation of low-energy neutron production reactions.

43 PARTICLE ACCELERATORS↗