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

검색결과 261건 처리시간 0.027초

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

  • 박태정
    • 디지털콘텐츠학회 논문지
    • /
    • 제17권3호
    • /
    • pp.165-172
    • /
    • 2016
  • GPU 기반 병렬처리에서 대규모 데이터의 인접 정보 검색(nearest neighbor search)에서 Morton code의 역할이 점점 더 중요하게 부각되고 있으며 그 응용 사례도 점차 증가하고 있다. 본 논문에서는 Tero Karras가 제안한 float 형 변수에 기반한 $[0,1]^3$ 공간 내의 3차원 기하 정보를 32비트 unsigned int형 Morton code로 변경하는 기존의 방법을 논의하고 그 기하학적인 의미를 분석함으로써, 보다 높은 해상도를 구현할 수 있는 64비트 unsigned long long형의 Morton code 변환 알고리듬을 제안한다. 제안하는 알고리듬은 GPU에서 구현되었을 때 CPU에서 실행하는 것보다 약 1000배 수준의 성능 향상을 달성한다.

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

  • 김창녕
    • 한국시뮬레이션학회논문지
    • /
    • 제6권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)
    • /
    • 제17권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)

  • 주문일;김원일;김희철
    • 한국정보통신학회:학술대회논문집
    • /
    • 한국정보통신학회 2018년도 추계학술대회
    • /
    • pp.238-240
    • /
    • 2018
  • 최근에는 다양한 생체신호 분석 툴을 활용하여 건강관리서비스가 개발 및 연구되고 있다. 대부분의 생체신호 분석 연구는 Matlab 및 R Programming을 활용한다. 그러나, Matlab과 R Programming으로 개발한 알고리즘을 시스템에 적용하기 위해서는 소스 코드의 변환 작업이 필요하다. 본 논문은 소스 코드의 변환 작업을 생략할 수 있는 스마트 인터페이스를 제공하고자 한다.

  • PDF

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

  • 주우성;모준서;김성석;양순옥;길준민
    • 한국정보처리학회:학술대회논문집
    • /
    • 한국정보처리학회 2016년도 춘계학술발표대회
    • /
    • 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)

  • 김광표;이원근;김종수;윤여창;윤석철
    • Journal of Radiation Protection and Research
    • /
    • 제21권1호
    • /
    • pp.41-50
    • /
    • 1996
  • 중성자 및 전자 그리고 광자 수송코드인 MCNP 4A코드를 이 용하여 ANSI N13.32에 제안된 말단팬텀과 한국원자력연구소 제작한 말단팬텀 각각에 대하여 감마선량당량환산인자를 커마근사법에 근거하여 계산하였다. 본 계산은 $15keV{\sim}1.5MeV$ 에너지영역에 대해 단일광자에너지 선원을 고려하였으며 이러한 단일광자에너지함수로서 계산한 공기커마에 대한 선량당량의 비로서 선량당량환산인자를 이론적으로 도출하였다. 본 연구에서 이론적 방법으로 도출한 ANSI와 KAERI의 말단팬텀 각각에 대한 광자선량당량환산인자를 ANSI N13.32의 실험적 방법에 의해 제시된 값들과 비교한 결과 50keV 이상의 단일 광자에너지영역에서는 실험적 방법에 의한 값들과 최대차이 5.7% 내에서 잘 일치함을 보였다. 그러나 40 keV 이하의 에너지영역에서는 본 연구의 계산 결과가 최대 13.6%까지 낮게 평가됨을 알 수 있었으며, 이러한 차이는 낮은 에너지영역에서 두드러지는 단일에너지의 생성과 관련된 실험의 불확실성과 MCNP코드에서 모사한 Geometry의 영향에 기인하는 것으로 사료된다.

  • PDF

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

  • 장현;박인성;서정세
    • 대한기계학회논문집B
    • /
    • 제39권3호
    • /
    • pp.261-269
    • /
    • 2015
  • 본 연구에서는 전산유체역학 상용 코드를 이용하여 곡유로 채널형 수소 개질기에 대한 수치 해석적 연구를 수행하였다. 상용코드에서 제공하는 연소모델의 사전 검증을 위하여 원통 채널형 개질기 형를 가지는 선행연구모델(23)에 대한 수치해석을 선행하여 수행하였고, 95% 이상 일치하는 결과를 얻을 수 있었다. 선행연구모델의 수치해석을 통해 연소모델에 대한 해석 타당성검증이 완료된 후, 반응기 형태 변화가 메탄올 전환율과 수소생성에 미치는 영향을 파악하여 기존보다 유로의 길이가 증가한 곡유로 채널형 개질기를 설계하고, 유량조건($10/15/20{\mu}l/min$)을 변수로 수치해석을 수행하였다. 그 결과 원통 채널형 개질기와 곡유로 채널형 개질기에서 발생하는 유동 특성 및 물질전달 특성을 파악할 수 있었고, 그리고 유량에 따른 메탄올 전환율 및 수소 생성에 관한 유용한 정보를 얻을 수 있었다.

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
    • /
    • 제41권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
    • /
    • 제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.

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

  • Ryoo-Dongwan;Lee, Jeonwoo
    • 대한전자공학회:학술대회논문집
    • /
    • 대한전자공학회 2002년도 ITC-CSCC -1
    • /
    • 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