• 제목/요약/키워드: code evaluation

검색결과 1,466건 처리시간 0.028초

문법-지시적 변환 기법을 이용한 ARM 코드 생성 시스템 (ARM Code Generation System using Syntax-Directed Translation Technique)

  • 고광만
    • 한국콘텐츠학회논문지
    • /
    • 제8권6호
    • /
    • pp.82-88
    • /
    • 2008
  • ARM 프로세서는 다양한 임베디드 시스템에서 활용되고 있다. 또한 대부분의 ARM 프로세서는 C 프로그램을 입력으로 받아 GNU gcc 크로스 컴파일 방식을 사용하여 ARM 어셈블리 코드를 생성한다. 또한 생성된 목적코드의 질을 개선하고 효율적인 목적코드 생성하기 위한 다양한 연구가 진행되고 있다. 본 논문에서는 표준 C 프로그램으로부터 ARM 프로세서에 대한 목적코드를 문법-지시적 변환 기법을 이용하여 생성하며 성능평가 결과를 GNU gcc 크로스 컴파일 방식과 비교하여 제시한다. 본 연구에서 제시한 기법은 생성규칙을 확장하는 방법이 GNU gcc 크로스 컴파일러에 비해 간편하고 편리하다.

Development of a Computer Code for Low-and Intermediate-Level Radioactive Waste Disposal Safety Assessment

  • Park, J.W.;Kim, C.L.;Lee, E.Y.;Lee, Y.M.;Kang, C.H.;Zhou, W.;Kozak, M.W.
    • Journal of Radiation Protection and Research
    • /
    • 제29권1호
    • /
    • pp.41-48
    • /
    • 2004
  • A safety assessment code, called SAGE (Safety Assessment Groundwater Evaluation), has been developed to describe post-closure radionuclide releases and potential radiological doses for low- and intermediate-level radioactive waste (LILW) disposal in an engineered vault facility in Korea. The conceptual model implemented in the code is focused on the release of radionuclide from a gradually degrading engineered barrier system to an underlying unsaturated zone, thence to a saturated groundwater zone. The radionuclide transport equations are solved by spatially discretizing the disposal system into a series of compartments. Mass transfer between compartments is by diffusion/dispersion and advection. In all compartments, radionuclides ate decayed either as a single-member chain or as multi-member chains. The biosphere is represented as a set of steady-state, radionuclide-specific pathway dose conversion factors that are multiplied by the appropriate release rate from the far field for each pathway. The code has the capability to treat input parameters either deterministically or probabilistically. Parameter input is achieved through a user-friendly Graphical User Interface. An application is presented, which is compared against safety assessment results from the other computer codes, to benchmark the reliability of system-level conceptual modeling of the code.

An Adaptive FEC Code Control Algorithm for Mobile Wireless Sensor Networks

  • Ahn Jong-Suk;Hong Seung-Wook;Heidemann John
    • Journal of Communications and Networks
    • /
    • 제7권4호
    • /
    • pp.489-498
    • /
    • 2005
  • For better performance over a noisy channel, mobile wireless networks transmit packets with forward error correction (FEC) code to recover corrupt bits without retransmission. The static determination of the FEC code size, however, degrades their performance since the evaluation of the underlying channel state is hardly accurate and even widely varied. Our measurements over a wireless sensor network, for example, show that the average bit error rate (BER) per second or per minute continuously changes from 0 up to $10^{-3}$. Under this environment, wireless networks waste their bandwidth since they can't deterministically select the appropriate size of FEC code matching to the fluctuating channel BER. This paper proposes an adaptive FEC technique called adaptive FEC code control (AFECCC), which dynamically tunes the amount of FEC code per packet based on the arrival of acknowl­edgement packets without any specific information such as signal to noise ratio (SNR) or BER from receivers. Our simulation experiments indicate that AFECCC performs better than any static FEC algorithm and some conventional dynamic hybrid FEC/ARQ algorithms when wireless channels are modeled with two-state Markov chain, chaotic map, and traces collected from real sensor networks. Finally, AFECCC implemented in sensor motes achieves better performance than any static FEC algorithm.

The Chinese Performance-based Code for Fire-resistance of Steel Structures

  • Li, Guo-Qiang;Zhang, Chao
    • 국제초고층학회논문집
    • /
    • 제2권2호
    • /
    • pp.123-130
    • /
    • 2013
  • In the past two decades, researchers from different countries have conducted series of experimental and theoretical studies to investigate the behaviour of structures in fire. Many new insights, data and calculation methods have been reported, which form the basis for modern interdisciplinary structural fire engineering. Some of those methods are now adopted in quantitative performance-based codes and have been migrated into practice. Mainly based on the achievements in structural fire research at China, the Chinese national code for fire safety of steel structures in buildings has been drafted and approved, and will be released in this year. The code is developed to prevent steel structures subjected to fire from collapsing, ensure safe evacuation of building occupants, and reduce the cost for repairing the damages of the structure caused by fire. This paper presents the main contents of the code, which includes the fire duration requirements of structural components, fundamental requirements on fire safety design of steel components, temperature increasing of atmosphere and structural components in fire, loading effect and capacity of various components in fire, and procedure for fire-resistant check and design of steel components. The analytical approaches employed in the code and their validation works are also presented.

Development and validation of a fast sub-channel code for LWR multi-physics analyses

  • Chaudri, Khurrum Saleem;Kim, Jaeha;Kim, Yonghee
    • Nuclear Engineering and Technology
    • /
    • 제51권5호
    • /
    • pp.1218-1230
    • /
    • 2019
  • A sub-channel solver, named ${\underline{S}}teady$ and ${\underline{T}}ransient$ ${\underline{A}}nalyzer$ for ${\underline{R}}eactor$ ${\underline{T}}hermal$ hydraulics (START), has been developed using the homogenous model for two-phase conditions of light water reactors. The code is developed as a fast and accurate TH-solver for coupled and multi-physics calculations. START has been validated against the NUPEC PWR Sub-channel and Bundle Test (PSBT) database. Tests like single-channel quality and void-fraction for steady state, outlet fluid temperature for steady state, rod-bundle quality and void-fraction for both steady state and transient conditions have been analyzed and compared with experimental values. Results reveal a good accuracy of solution for both steady state and transient scenarios. Axially different values for turbulent mixing coefficient are used based on different grid-spacer types. This provides better results as compared to using a single value of turbulent mixing coefficient. Code-to-code evaluation of PSBT results by the START code compares well with other industrial codes. The START code has been parallelized with the OpenMP algorithm and its numerical performance is evaluated with a large whole PWR core. Scaling study of START shows a good parallel performance.

안전주입 실패를 동반한 제어봉구동장치 관통부 파단 사고 실험 기반 국내 안전해석코드 SPACE 예측 능력 평가 (Evaluation of SPACE Code Prediction Capability for CEDM Nozzle Break Experiment with Safety Injection Failure)

  • 남경호
    • 한국안전학회지
    • /
    • 제37권5호
    • /
    • pp.80-88
    • /
    • 2022
  • The Korean nuclear industry had developed the SPACE (Safety and Performance Analysis Code for nuclear power plants) code, which adopts a two-fluid, three-field model that is comprised of gas, continuous liquid and droplet fields and has the capability to simulate three-dimensional models. According to the revised law by the Nuclear Safety and Security Commission (NSSC) in Korea, the multiple failure accidents that must be considered for the accident management plan of a nuclear power plant was determined based on the lessons learned from the Fukushima accident. Generally, to improve the reliability of the calculation results of a safety analysis code, verification is required for the separate and integral effect experiments. Therefore, the goal of this work is to verify the calculation capability of the SPACE code for multiple failure accidents. For this purpose, an experiment was conducted to simulate a Control Element Drive Mechanism (CEDM) break with a safety injection failure using the ATLAS test facility, which is operated by Korea Atomic Energy Research Institute (KAERI). This experiment focused on the comparison between the experiment results and code calculation results to verify the performance of the SPACE code. The results of the overall system transient response using the SPACE code showed similar trends with the experimental results for parameters such as the system pressure, mass flow rate, and collapsed water level in component. In conclusion, it can be concluded that the SPACE code has sufficient capability to simulate a CEDM break with a safety injection failure accident.

프로그램 유사도 평가 알고리즘 (A Program Similarity Evaluation Algorithm)

  • 김영철;황석찬;최재영
    • 인터넷정보학회논문지
    • /
    • 제6권1호
    • /
    • pp.51-64
    • /
    • 2005
  • 본 논문에서는 서로 다른 두 개의 C 프로그램의 구문트리를 이용하여 유사도를 평가하는 시스템을 제시한다. 구문 트리를 이용하는 방법은 기존의 유사도 평가 방법과는 달리 들여쓰기, 여백, 설명문 등 프로그램과 무관한 프로그램 스타일의 변화에 민감하지 않으며, 문장, 코드 블록, 함수 등의 순서 바꾸기 같은 제어 구조의 변경에 민감하지 않은 특징을 가지고 있다. 그리고 프로그램을 파싱함으로써 구문 오류도 함께 검사찬 수 있는 장점을 제공한다. 논문에서는 유사도를 평가하기 위한 알고리즘과 함께 프로그램의 비교횟수를 줄이기 위한 그룹 짓기 알고리즘도 같이 제공한다. 실험부분에서는 구문트리 비교방법을 이용한 프로그램의 유사도 평가 결과와, 그룹 짓기를 수행한 후에 많은 비교 횟수를 줄일 수 있다는 것을 보여준다.

  • PDF

지진파 탁월주기를 고려한 비구조요소의 수평설계지진력 평가 (A Study on Evaluation of Horizontal Force of Non-structural Components Considering Predominant Periods of Seismic Waves)

  • 오상훈;김주찬
    • 한국지진공학회논문집
    • /
    • 제24권6호
    • /
    • pp.267-275
    • /
    • 2020
  • In the event of an earthquake, non-structural components require seismic performance to ensure evacuation routes and to protect lives from falling non-structural components. Accordingly, the seismic design code proposes horizontal force for the design and evaluation of non-structural components. Ground motion observed on each floor is affected by a building's eigen vibration mode. Therefore, the earthquake damage of non-structural components is determined by the characteristics of the non-structural component system and the vibration characteristics of the building. Floor response spectra in the seismic design code are estimated through time history analysis using seismic waves. However, it is difficult to use floor response spectra as a design criterion because of user-specific uncertainties of time history analysis. In addition, considering the response characteristics of high-rise buildings to long-period ground motions, the safety factor of the proposed horizontal force may be low. Therefore, this study carried out the horizontal force review proposed in the seismic design code through dynamic analysis and evaluated the floor response of seismic waves considering buildings and predominant periods of seismic waves.

실물 철근콘크리트 교각의 유사동적 실험에 의한 내진성능 평가 (Pseudo-Dynamic Test for Seismic Performance Evaluation of RC Bridge Piers)

  • 박창규;박진영;정영수;조대연
    • 한국지진공학회:학술대회논문집
    • /
    • 한국지진공학회 2002년도 춘계 학술발표회 논문집
    • /
    • pp.250-257
    • /
    • 2002
  • Pseudo dynamic test is an on-line computer control method to achieve the realism of shaking table test with the economy and versatility of the conventional quasi-static approach Pseudo dynamic tests of six full-size RC bridge piers have been carried out to investigate their seismic performance. For the purpose of precise evaluation, the experimental investigation was conducted to study the seismic performance of the real size specimen, which is constructed for highway bridge piers in Korean peninsula. Since it is believed that Korea belongs to the moderate seismicity region, five test specimens were designed in accordance with limited ductility design concept. Another one test specimen was nonseismically designed according to a conventional code. Important test parameters were transverse reinforcement and lap splicing. Lap splicing was frequently used in the plastic hinge region of many bridge columns. Furthermore, the seismic design code is not present about lap splice in Korean Roadway Bridge Design Code. The results show that specimens designed according to the limited ductility design concept exhibit higher seismic resistance. Specimens with longitudinal steel lap splice in the plastic hinge region appeared to significantly fail at low ductility level.

  • PDF

A GQM Approach to Evaluation of the Quality of SmartThings Applications Using Static Analysis

  • Chang, Byeong-Mo;Son, Janine Cassandra;Choi, Kwanghoon
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제14권6호
    • /
    • pp.2354-2376
    • /
    • 2020
  • SmartThings is one of the most popular open platforms for home automation IoT solutions that allows users to create their own applications called SmartApps for personal use or for public distribution. The nature of openness demands high standards on the quality of SmartApps, but there have been few studies that have evaluated this thoroughly yet. As part of software quality practice, code reviews are responsible for detecting violations of coding standards and ensuring that best practices are followed. The purpose of this research is to propose systematically designed quality metrics under the well-known Goal/Question/Metric methodology and to evaluate the quality of SmartApps through automatic code reviews using a static analysis. We first organize our static analysis rules by following the GQM methodology, and then we apply the rules to real-world SmartApps to analyze and evaluate them. A study of 105 officially published and 74 community-created real-world SmartApps found a high ratio of violations in both types of SmartApps, and of all violations, security violations were most common. Our static analysis tool can effectively inspect reliability, maintainability, and security violations. The results of the automatic code review indicate the common violations among SmartApps.