• Title/Summary/Keyword: Code Conversion

Search Result 261, Processing Time 0.024 seconds

Analysis of Morton Code Conversion for 32 Bit IEEE 754 Floating Point Variables (IEEE 754 부동 소수점 32비트 float 변수의 Morton Code 변환 분석)

  • Park, Taejung
    • Journal of Digital Contents Society
    • /
    • v.17 no.3
    • /
    • pp.165-172
    • /
    • 2016
  • Morton codes play important roles in many parallel GPU applications for the nearest neighbor (NN) search in huge data and queries with its applications growing. This paper discusses and analyzes the meaning of Tero Karras's 32-bit 'unsigned int' Morton code algorithm for three-dimensional spatial information in $[0,1]^3$ and its geometric implications. Based on this, this paper proposes 64-bit 'unsigned long long' version of Morton code and compares the results in both CPU vs. GPU and 32-bit vs. 64-bit versions. The proposed GPU algorithm runs around 1000 times faster than the CPU version.

Simulation of Energy Conversion Characteristics of OMACON LM-MHD Systems (OMACON형 LM-MHD 시스템에서의 에너지전환특성 시뮬레이션)

  • 김창녕
    • Journal of the Korea Society for Simulation
    • /
    • v.6 no.2
    • /
    • pp.1-14
    • /
    • 1997
  • The characteristics of the flow and energy conversion in OMACON liquid-metal MHD system are investigated. Numerical simulation of two-phase flow in the OMACON system without magnetic field was carried out by the Phoenics code and the energy conversion characteristics are studied in association with the fact that the mechanical energy loss at the nozzle of the OMACON system are to be converted into electrical energy. In this system, working fluid (gas) is injected through the mixer located at the bottom of the riser, and is mixed with hot liquid metal. Therefore in the riser two-phase flow is developed under the influence of the gravity. In this study, the interaction between the gas and liquid is considered by the use of IPSA(InterPhase Slip Algorithm) where standard drag coefficient has been used. It has been assumed that in the flow regime the liquid is continuous and the gas is dispersed. For the liquid and gas, the continuity equations, momentum equations and energy equations are solved respectively in association with void fraction in the flow field. In order to calculate the energy conversion efficiency, firstly the ratio of the mechanical energy loss of liquid metal flow at the nozzle to the input thermal energy is considered. Secondly flow pattern of liquid metal in the generator has been analyzed, and the characteristics of the conversion of the mechanical energy into the electrical energy has been investigated. For an representative case where Hartmann number is 540 and magnetic field is 0.35 T, the present analysis shows that the energy conversion efficiency is 0.653. This result is considered to be reasonable in comparison with published experimental results.

  • PDF

A Source Code Cross-site Scripting Vulnerability Detection Method

  • Mu Chen;Lu Chen;Zhipeng Shao;Zaojian Dai;Nige Li;Xingjie Huang;Qian Dang;Xinjian Zhao
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • v.17 no.6
    • /
    • pp.1689-1705
    • /
    • 2023
  • To deal with the potential XSS vulnerabilities in the source code of the power communication network, an XSS vulnerability detection method combining the static analysis method with the dynamic testing method is proposed. The static analysis method aims to analyze the structure and content of the source code. We construct a set of feature expressions to match malignant content and set a "variable conversion" method to analyze the data flow of the code that implements interactive functions. The static analysis method explores the vulnerabilities existing in the source code structure and code content. Dynamic testing aims to simulate network attacks to reflect whether there are vulnerabilities in web pages. We construct many attack vectors and implemented the test in the Selenium tool. Due to the combination of the two analysis methods, XSS vulnerability discovery research could be conducted from two aspects: "white-box testing" and "black-box testing". Tests show that this method can effectively detect XSS vulnerabilities in the source code of the power communication network.

Development of bio-signal analysis system applying source code based on various algorithm development tools (다양한 알고리즘 개발 툴 기반의 소스 코드를 적용한 생체신호 분석 시스템 개발)

  • Ju, Mun-Il;Kim, Won-Il;Kim, Hui-Cheol
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2018.10a
    • /
    • pp.238-240
    • /
    • 2018
  • Recently, healthcare services have been developed and studied using various bio-signal analysis tools. Most bio-signal analysis studies utilize Matlab and R Programming. However, in order to apply the algorithm developed by Matlab and R Programming to the system, it is necessary to convert the source code. This paper proposes a smart interface that can skip source code conversion.

  • PDF

Development of conversion software from 3D model data to G-code (3D 모델 데이터의 G-code 변환 소프트웨어 개발)

  • Joo, Woosung;Mo, Junseo;Kim, Sungsuk;Yang, Sun-Ok;Gil, Jun-Min
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2016.04a
    • /
    • pp.430-432
    • /
    • 2016
  • 최근 3D 프린터의 활용 분야가 확대되면서 이와 관련된 다양한 연구가 활발하게 진행되고 있다. 본 연구에서는 3D 프린팅 될 3D 모델 데이터를 3D 프린터가 이해할 수 있는 G-code로 변환할 수 있는 소프트웨어를 개발하고자 한다. 일반적으로 STL 파일 형식으로 저장된 3D 모델은 특별한 규칙없이 저장된 여러 facet들로 구성되어 있다. 본 연구에서는 우선 이러한 facet들의 Z축 좌표 값을 기준으로 정렬을 수행한 후, 이를 순차적으로 G-code로 변환하는 소프트웨어를 개발하였다.

A Theoretical Calculation of Photon Dose Equivalent Conversion Factor For Extremity Dosimeter (말단선량계의 광자선량당량환산인자에 대한 이론적 계산)

  • Kim, Kwang-Pyo;Lee, Won-Keun;Kim, Jong-Su;Yoon, Yeo-Chang;Yoon, Suk-Chul
    • Journal of Radiation Protection and Research
    • /
    • v.21 no.1
    • /
    • pp.41-50
    • /
    • 1996
  • In this study, the theoretical calculation of the air kerma-to-dose equivalent conversion factors was performed with a Monte Carlo N-Particle transport code for the two types of extremity phantom of the ANSI and the KAERI, respectively. Considering the distribution of absorbed dose due to the interaction of homogeneous Parallel broad beam of monoenergetic primary photons in the range between 15keV and 1.5MeV, the air kerma-to-dose equivalent conversion factors based on the kerma approximation were calculated. It is showed that all the theoretical conversion factors of the two types of the extremity phantom for the ANSI and the KAERI agree well with the experimental values of the ANSI N13.32 draft(1995) for each energy within 5.7%, maximum difference ratio, except for 13.6%, difference ratio in the case for the energy of less than 40keV. It is due to uncertainties of experiment occurred in the low X-ray energy range and geometry considered in the MCNP code.

  • PDF

Study on Methanol Conversion Efficiency and Mass Transfer of Steam-Methanol Reforming on Flow Rate Variation in Curved Channel (곡유로 채널을 가지는 수증기-메탄올 개질기에서 유량 변화에 따른 메탄올 전환율 및 물질 전달에 관한 연구)

  • Jang, Hyun;Park, In Sung;Suh, Jeong Se
    • Transactions of the Korean Society of Mechanical Engineers B
    • /
    • v.39 no.3
    • /
    • pp.261-269
    • /
    • 2015
  • In this study, numerical analysis of curved channel steam-methanol reformer was conducted using the computational fluid dynamics (CFD) commercial code STAR-CCM. A pre-numerical analysis of reference model with a cylindrical channel reactor was performed to validate the combustion model of the CFD commercial code. The result of advance validation was in agreement with reference model over 95%. After completing the validation, a curved channel reactor was designed to determine the effects of shape and length of flow path on methanol conversion efficiency and generation of hydrogen. Numerical analysis of the curved-channel reformer was conducted under various flow rate ($10/15/20{\mu}l/min$). As a result, the characteristics of flow and mass transfer were confirmed in the cylindrical channel and curved channel reactor, and useful information about methanol conversion efficiency and hydrogen generation was obtained for various flow rate.

DEVELOPMENT OF A SIMPLIFIED MODEL FOR ANALYZING THE PERFORMANCE OF KALIMER-600 COUPLED WITH A SUPERCRITICAL CARBON DIOXIDE BRAYTON ENERGY CONVERSION CYCLE

  • Seong, Seung-Hwan;Lee, Tae-Ho;Kim, Seong-O
    • Nuclear Engineering and Technology
    • /
    • v.41 no.6
    • /
    • pp.785-796
    • /
    • 2009
  • A KALIMER-600 concept which is a type of sodium-cooled fast reactor, has been developed at KAERI. It uses sodium as a primary coolant and is a pool-type reactor to enhance safety. Also, a supercritical carbon dioxide ($CO_2$) Brayton cycle is considered as an alternative to an energy conversion system to eliminate the sodium water reaction and to improve efficiency. In this study, a simplified model for analyzing the thermodynamic performance of the KALIMER-600 coupled with a supercritical $CO_2$ Brayton cycle was developed. To develop the analysis model, a commercial modular modeling system (MMS) was adopted as a base engine, which was developed by nHance Technology in USA. It has a convenient graphical user interface and many component modules to model the plant. A new user library for thermodynamic properties of sodium and supercritical $CO_2$ was developed and attached to the MMS. In addition, some component modules in the MMS were modified to be appropriate for analysis of the KALIMER-600 coupled with the supercritical $CO_2$ cycle. Then, a simplified performance analysis code was developed by modeling the KALIMER-600 plant with the modified MMS. After evaluating the developed code with each component data and a steady state of the plant, a simple power reduction and recovery event was evaluated. The results showed an achievable capability for a performance analysis code. The developed code will be used to develop the operational strategy and some control logics for the operation of the KALIMER-600 with a supercritical $CO_2$ Brayton cycle after further studies of analyzing various operational events.

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
    • /
    • v.29 no.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.

The Design of Error Detection Auto Correction for Conversion of Graphics to DTV Signal

  • Ryoo-Dongwan;Lee, Jeonwoo
    • Proceedings of the IEEK Conference
    • /
    • 2002.07a
    • /
    • pp.106-109
    • /
    • 2002
  • In the integrated systems, that is integrated digital TV(DTV) internet and home automation, like home server, is needed integration of digital TV video signal and computer graphic signal. The graphic signal is operating at the high speed and has time-divide-stream. So the re-request of data is not easy at the time of error detection. therefore EDAC algorithm is efficient. This paper presents the efficiency error detection auto correction(EDAC) for conversion of graphics signal to DTV video signal. A presented EDAC algorithms use the modified Hamming code for enhancing video quality and reliability. A EDAC algorithm of this paper can detect single error, double error, triple error and more error for preventing from incorrect correction. And it is not necessary an additional memory. In this paper The comparison between digital TV video signal and graphic signal, a EBAC algorithm and a design of conversion graphic signal to DTV signal with EDAC function is described.

  • PDF