• Title/Summary/Keyword: Source Code Analysis

Search Result 441, Processing Time 0.03 seconds

Static and transient analyses of Advanced Power Reactor 1400 (APR1400) initial core using open-source nodal core simulator KOMODO

  • Alnaqbi, Jwaher;Hartanto, Donny;Alnuaimi, Reem;Imron, Muhammad;Gillette, Victor
    • Nuclear Engineering and Technology
    • /
    • v.54 no.2
    • /
    • pp.764-769
    • /
    • 2022
  • The United Arab Emirates is currently building and operating four units of the APR-1400 developed by a South Korean vendor, Korea Electric Power Corporation (KEPCO). This paper attempts to perform APR-1400 reactor core analysis by using the well-known two-step method. The two-step method was applied to the APR-1400 first cycle using the open-source nodal diffusion code, KOMODO. In this study, the group constants were generated using CASMO-4 fuel transport lattice code. The simulation was performed in Hot Zero Power (HZP) at steady-state and transient conditions. Some typical parameters necessary for the Nuclear Design Report (NDR) were evaluated in this paper, such as effective neutron multiplication factor, control rod worth, and critical boron concentration for steady-state analysis. Other parameters such as reactivity insertion, power, and fuel temperature changes during the Reactivity Insertion Accident (RIA) simulation were evaluated as well. The results from KOMODO were verified using PARCS and SIMULATE-3 nodal core simulators. It was found that KOMODO gives an excellent agreement.

Cost Estimation and Validation based on Natural Language Requirement Specifications

  • So Young Moon;R. Young Chul Kim
    • International Journal of Internet, Broadcasting and Communication
    • /
    • v.15 no.2
    • /
    • pp.218-226
    • /
    • 2023
  • In Korea, we still use function point based cost estimations for software size and cost of a project. The current problem is that we make difficultly calculating function points with requirements and also have less accurate. That is, it is difficult for non-experts to analyze requirements and calculate function point values with them, and even experts often derive different function points. In addition, all stakeholders strongly make the validity and accuracy of the function point values of the project before /after the development is completed. There are methods for performing function point analysis using source code [1][2][3][4] and some researchers [5][6][7] attempt empirical verification of function points about the estimated cost. There is no research on automatic cost validation with source code after the final development is completed. In this paper, we propose automatically how to calculate Function Points based on natural language requirements before development and prove FP calculation based on the final source code after development. We expect validation by comparing the function scores calculated by forward engineering and reverse engineering methods.

Advances for the time-dependent Monte Carlo neutron transport analysis in McCARD

  • Sang Hoon Jang;Hyung Jin Shim
    • Nuclear Engineering and Technology
    • /
    • v.55 no.7
    • /
    • pp.2712-2722
    • /
    • 2023
  • For an accurate and efficient time-dependent Monte Carlo (TDMC) neutron transport analysis, several advanced methods are newly developed and implemented in the Seoul National University Monte Carlo code, McCARD. For an efficient control of the neutron population, a dynamic weight window method is devised to adjust the weight bounds of the implicit capture in the time bin-by-bin TDMC simulations. A moving geometry module is developed to model a continuous insertion or withdrawal of a control rod. Especially, the history-based batch method for the TDMC calculations is developed to predict the unbiased variance of a bin-wise mean estimate. The developed methods are verified for three-dimensional problems in the C5G7-TD benchmark, showing good agreements with results from a deterministic neutron transport analysis code, nTRACER, within the statistical uncertainty bounds. In addition, the TDMC analysis capability implemented in McCARD is demonstrated to search the optimum detector positions for the pulsed-neutron-source experiments in the Kyoto University Critical Assembly and AGN201K.

Warning Classification Method Based On Artificial Neural Network Using Topics of Source Code (소스코드 주제를 이용한 인공신경망 기반 경고 분류 방법)

  • Lee, Jung-Been
    • KIPS Transactions on Computer and Communication Systems
    • /
    • v.9 no.11
    • /
    • pp.273-280
    • /
    • 2020
  • Automatic Static Analysis Tools help developers to quickly find potential defects in source code with less effort. However, the tools reports a large number of false positive warnings which do not have to fix. In our study, we proposed an artificial neural network-based warning classification method using topic models of source code blocks. We collect revisions for fixing bugs from software change management (SCM) system and extract code blocks modified by developers. In deep learning stage, topic distribution values of the code blocks and the binary data that present the warning removal in the blocks are used as input and target data in an simple artificial neural network, respectively. In our experimental results, our warning classification model based on neural network shows very high performance to predict label of warnings such as true or false positive.

Investigation of the Fire Source in the Warehouse under Bridge using FDS Code (FDS code를 이용한 교량하부창고 화재발생원 영향분석)

  • Zi, Goang-Seup;Lee, Seung-Jung;Shin, Yeon-Ho;Shim, Jae-Won;Kim, Ji-Hwan
    • Journal of the Computational Structural Engineering Institute of Korea
    • /
    • v.24 no.6
    • /
    • pp.663-673
    • /
    • 2011
  • In this study, we analysed the effect of the fire source in the warehouse under the bridge and the height of the bridge using FDS code. To compare accuracy of simulation results, we simulated the experimental result with unit combustibles which is heptane as well as the mock-up test. Using this method, we evaluated the fire safety of the bridge which contains spalling and strength damage of concrete as well as damage of reinforcements according to the fire source and the height of the bridge. Most of the bridges are vulnerable to spalling of concrete. The book combustion has the strongest fire intensity which is expected to damage the bridge less than 30m height in the three types of the fire sources. The bridge over the 30m height can ensure the fire safety in the case of the rubber combustion.

A Practical Study on Code Static Analysis through Open Source based Tool Chains (Open Source 기반 툴 체인화를 통한 코드 정적 분석 연구)

  • Kang, Geon-Hee;Kim, R. Young Chul;Yi, Geun Sang;Kim, Young Soo;Park, Yong. B.;Son, Hyun Seung
    • KIISE Transactions on Computing Practices
    • /
    • v.21 no.2
    • /
    • pp.148-153
    • /
    • 2015
  • In our domestic software industries, it is focused on such a high quality development/ testing process, maturity measurement, and so on. But the real industrial fields are still working on a code-centric development. Most of the existing legacy systems did not keep the design and highly increased the code complexity with more patching of the original codes. To solve this problem, we adopt a code visualization technique which is important to reduce the code complexity among modules. To do this, we suggest a tool chaining method based on the existing open source software tools, which extends NIPA's Software Visualization techniques applied to procedural languages. In addition, it should be refactored to fix bad couplings of the quality measurement indicators within the code visualization. As a result, we can apply reverse engineering to the legacy code, that is, from programming via model to architecture, and then make high quality software with this approach.

A Multi-Dimensional Thermal-Hydraulic System Analysis Code, MARS 1.3.1

  • Jeong, Jae-Jun;Ha, Kwi-Seok;Chung, Bub-Dong;Lee, Won-Jae
    • Nuclear Engineering and Technology
    • /
    • v.31 no.3
    • /
    • pp.344-363
    • /
    • 1999
  • A multi-dimensional thermal-hydraulic system analysis code, MARS 1.3.1, has been developed in order to have the realistic analysis capability of two-phase thermal-hydraulic transients for pressurized water reactor (PWR) plants. As the backbones for the MARS code, the RELAP5/MOD3.2.1.2 and COBRA-TF codes were adopted in order to take advantages of the very general, versatile features of RELAP5 and the realistic three-dimensional hydrodynamic module of COBRA-TF. In the MARS code, all the functional modules of the two codes were unified into a single code first. Then, the source codes were converted into the standard Fortran 90, and then they were restructured using a modular data structure based on "derived type variables" and a new "dynamic memory allocation" scheme. In addition, the Windows features were implemented to improve user friendliness. This paper presents the developmental work of the MARS version 1.3.1 including the hydrodynamic model unification, the heat structure coupling, the code restructuring and modernization, and their verifications.their verifications.

  • PDF

Development of an Application Program Code for Dryer Tower of Heat Transfer Analysis in Hydrogen Purification System (수소 정제 시스템의 건조 타워 열전달 해석을 위한 응용 프로그램 코드 개발)

  • SOOIN KWON;BYUNGSEOK JIN;GYUNGMIN CHOI
    • Transactions of the Korean hydrogen and new energy society
    • /
    • v.34 no.4
    • /
    • pp.334-341
    • /
    • 2023
  • The purity of hydrogen finally purified in the hydrogen purification process system is greatly influenced by the uniformity of the purification temperature of the dry tower. A in-house code that can be easily used by field designers has been developed to predict the capacity of the appropriate heat source and the time to reach the temperature of the dry tower. A code was developed to predict unsteady heat transfer using Visual Basic for Applications. To verify the developed code, a grid independence test was performed, and finally, calculations were performed for two cases. In the first case, the time for the temperature of the heater jacket to reach 360℃ was about 1,400 seconds when the supply heat source was 1,000 W. And in the second case, the time for the temperature of the heater jacket to reach 360℃ was about 710 seconds when the supply heat source was 2,000 W. It was confirmed that the developed code well describes the actual test data of the regeneration process of adsorption and desorption, and it is judged that the code developed in the design process of various capacity systems will be effectively applied to the heat capacity calculation in the future.

Construction of Open-source Program Platform for Efficient Numerical Analysis and Its Case Study (효율적 수치해석을 위한 오픈소스 프로그램 기반 해석 플랫폼 구축 및 사례 연구)

  • Park, Chan-Hee;Kim, Taehyun;Park, Eui-Seob;Jung, Yong-Bok;Bang, Eun-Seok
    • Tunnel and Underground Space
    • /
    • v.30 no.6
    • /
    • pp.509-518
    • /
    • 2020
  • This study constructed a new simulation platform, including mesh generation process, numerical simulation, and post-processing for results analysis based on exploration data to perform real-scale numerical analysis considering the actual geological structure efficiently. To build the simulation platform, we applied for open-source programs. The source code is open to be available for code modification according to the researcher's needs and compatibility with various numerical simulation programs. First, a three-dimensional model(3D) is acquired based on the exploration data obtained using a drone. Then, the domain's mesh density was adjusted to an interpretable level using Blender, the free and open-source 3D creation suite. The next step is to create a 3D numerical model by creating a tetrahedral volume mesh inside the domain using Gmsh, a finite element mesh generation program. To use the mesh information obtained through Gmsh in a numerical simulation program, a converting process to conform to the program's mesh creation protocol is required. We applied a Python code for the procedure. After we completed the stability analysis, we have created various visualization of the study using ParaView, another open-source visualization and data analysis program. We successfully performed a preliminary stability analysis on the full-scale Dokdo model based on drone-acquired data to confirm the usefulness of the proposed platform. The proposed simulation platform in this study can be of various analysis processes in future research.

Which Code Changes Should You Review First?: A Code Review Tool to Summarize and Prioritize Important Software Changes

  • Song, Myoungkyu;Kwon, Young-Woo
    • Journal of Multimedia Information System
    • /
    • v.4 no.4
    • /
    • pp.255-262
    • /
    • 2017
  • In recent software development, repetitive code fragments (i.e., clones) are common due to the copy-and-paste programming practice, the framework-based development, or the reuse of same design patterns. Such similar code fragments are likely to introduce more bugs but are easily disregarded by a code reviewer or a programmer. In this paper, we present a code review tool to help code reviewers identify important code changes written by other programmers and recommend which changes need to be reviewed first. Specifically, to identify important code changes, our approach detects code clones across revisions and investigates them. Then, to help a code reviewer, our approach ranks the identified changes in accordance with several software quality metrics and statistics on those clones and changes. Furthermore, our approach allows the code reviewer to express their preferences during code review time. As a result, the code reviewer who has little knowledge of a code base can reduce his or her effort by reviewing the most significant changes that require an instant attention. To evaluate our approach, we integrated our approach with a modern IDE (e.g., Eclipse) as a plugin and then analyzed two third-party open source projects. The experimental results indicate that our approach can improve code reviewer's productivity.