• Title/Summary/Keyword: Source Code Generator

Search Result 41, Processing Time 0.029 seconds

Calculation of Dose Distribution for SBRT Patient Using Geant4 Simulation Code (Geant4 전산모사 코드를 이용한 SBRT 환자의 선량분포 계산)

  • Kang, Jeongku;Lee, Jeongok;Lee, Dong Joon
    • Progress in Medical Physics
    • /
    • v.26 no.1
    • /
    • pp.36-41
    • /
    • 2015
  • The Monte Carlo based dose calculation program for stereotactic body radiotherapy was developed in this study. The Geant4 toolkit widely used in the radiotherapy was used for this study. The photon energy spectrum of the medical linac studied in the previous research was applied for the patient dose calculations. The geometry of the radiation fields defined by multi-leaf collimators were taken into account in the PrimaryGeneratorAction class of the Geant4 code. The total of 8 fields were demonstrated in the patient dose calculations, where rotation matrix as a function of gantry angle was used for the determination of the source positions. The DicomHandler class converted the binary file format of the DICOM data containing the matrix number, pixel size, endian type, HU number, bit size, padding value and high bits order to the ASCII file format. The patient phantom was constructed using the converted ASCII file. The EGSnrc code was used to compare the calculation efficiency of the material data.

Code Optimization Using Pattern Table (패턴 테이블을 이용한 코드 최적화)

  • Yun Sung-Lim;Oh Se-Man
    • Journal of Korea Multimedia Society
    • /
    • v.8 no.11
    • /
    • pp.1556-1564
    • /
    • 2005
  • Various optimization techniques are deployed in the compilation process of a source program for improving the program's execution speed and reducing the size of the source code. Of the optimization pattern matching techniques, the string pattern matching technique involves finding an optimal pattern that corresponds to the intermediate code. However, it is deemed inefficient due to excessive time required for optimized pattern search. The tree matching pattern technique can result in many redundant comparisons for pattern determination, and there is also the disadvantage of high cost involved in constructing a code tree. The objective of this paper is to propose a table-driven code optimizer using the DFA(Deterministic Finite Automata) optimization table to overcome the shortcomings of existing optimization techniques. Unlike other techniques, this is an efficient method of implementing an optimizer that is constructed with the deterministic automata, which determines the final pattern, refuting the pattern selection cost and expediting the pattern search process.

  • PDF

Characteristics of Low Frequency Aero-acoustic Noise Radiation for a Wind Turbine Generator of NREL Phase VI (NREL Phase VI 풍력발전기 저주파 소음방사 특성)

  • Mo, Jang-Oh;Kim, Byoung-Yun;Ryu, Byeng-Nam;Lee, Young-Ho
    • 한국신재생에너지학회:학술대회논문집
    • /
    • 2009.06a
    • /
    • pp.504-507
    • /
    • 2009
  • The purpose of this work is to predict the low frequency aero-acoustic noise generated from the horizontal axis wind turbine, NREL Phase VI using large eddy simulation and Ffowcs-Williams and Hawkings model provided in the commercial code, FLUENT. Calculated aerodynamic performances such as shaft torque and power are compared with experimentally measured value. Performance results show a good agreement with experimental data within about 0.8%. If the distance by two times is changed from 32D to 64D toward the downstream region, sound pressure level is reduced by about 6.4dB.

  • PDF

CFD Performance analysis of Micro Tubular-type hydro turbine by blade shape (블레이드 형상 변화에 따른 마이크로 튜블러 수차의 CFD 성능해석)

  • Park, Ji-Hoon;Hwang, Young-Cheol;Mo, Jang-Oh;Kim, You-Taek;Lee, Young-Ho
    • 한국신재생에너지학회:학술대회논문집
    • /
    • 2011.05a
    • /
    • pp.206.1-206.1
    • /
    • 2011
  • Recently, various developments in the area of small hydropower have being made and small hydro turbines are suitable for domestic use because it is a clean and renewable energy source. A small hydropower generator produces power by using the different water pressure levels in pipe lines and energy which was initially wasted by use of a reducing valve at the end of the pipeline is instead collected by a tubular-type hydro turbine in the generator. In this study, in order to acquire the performance of tubular-type hydro turbine applied, the output power, head, efficiency characteristics due to the different guide vane and runner vane angle are examined in detail. Moreover, influences of pressure and velocity distributions with the variation of guide vane and runner vane angle on turbine performance are investigated by using a commercial CFD code.

  • PDF

Construction of Automatic Project Document Generator for synchronizing source code with requirement specifications (요구사항 스펙과 소스 코드 간 동기화를 위한 자동 프로젝트 문서 도구 개발)

  • Kwon, Haeun;Park, Bokyung;Kim, R. Youngchul;Kim, Youngsoo;Lee, SangEun
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2015.10a
    • /
    • pp.1035-1037
    • /
    • 2015
  • 현재 소프트웨어 요구사항은 전체 소프트웨어 개발 프로세스를 거쳐, 완성된 제품 인도 시 인수 기준으로 작용한다. 그러므로 이런 요구사항은 개발주기 전체에 걸친 매우 중요한 관리 수단이다. 그러나 국내 다수의 중소기업은 이러한 문서화에 시간 및 비용이 부족하여, 개발 문서의 부재 혹은 코드와 문서가 불일치한 것이 현실이다. 이 문제를 해결하기 위해, 자동 프로젝트 문서 발생기(Automatic Project Document Generator)를 제안한다. 제안한 발생기를 통해 요구사항 스펙과 소스 코드 간 동기화로 요구사항 대로 개발이 진행되는지 확인 가능하다.

A XML Based Framework for Automatically Generating Control and Monitoring Software (제어 및 모니터링 소프트웨어 자동 생성을 위한 XML 기반 프레임웍)

  • Yoo Dae-Seung;Kim Jong-Hwan;Yi Myeong-Jae
    • Journal of KIISE:Computing Practices and Letters
    • /
    • v.12 no.1
    • /
    • pp.43-55
    • /
    • 2006
  • In this paper, we present a framework which is used to develop, modify, maintain and extend a control and monitoring software easily for any kind of automatic instruments. The proposed framework is composed of three XML documents (IID, MAP, CMIML) and two tools (Virtual Instrument Wizard, Generator). Interface information of behaviors and states of instrument is written on IID. Mapping information between the interface information in IID and API of a real instrument driver is written on MAP Final information of the control and monitoring software is written on CMIML, IID, MAP and CMIML are written by XML format to provide a common usage and platform independence of the proposed framework. Vl Wizard generates CMIML intermediate platform independent document using IID and existing CMIML, and Generator generates the source code of a control and monitoring software platform dependent code automatically using CMIML and MAP. The suggested framework provides an easy development and maintenance because it automatically generates a control and monitoring software in GUI environment and it also provides common usage and platform independence in virtue of using description document of XML format. Also, reusability can be increased by reusing platform independent software description document and not reusing platform dependent software code.

Automatically Generating C++ Source Code from LOTOS Specifications (LOTOS 명세로부터 C++ 소스코드의 자동 생성)

  • Kim, Cheol-Hong;Cheon, Yun-Sik;Kim, Gang-Ho
    • The Transactions of the Korea Information Processing Society
    • /
    • v.5 no.12
    • /
    • pp.3138-3150
    • /
    • 1998
  • 정보통신용 소프트웨어 개발은 대용량, 고신뢰도, 고복잡도, 이질성 및 분산 환경이라는 특징을 가지고 있다. 이러한 시스템을 개발함에 있어서 개발 품질 및 적정 비용을 유지하기 위해서는 향상된 정형명세 기법과 이러한 기법을 지원하는 도구가 필수적이다. ISO 표준 정형 명세 언어인 LOTOS는 사용자의 요구사항이나 시스템 모형을 추상적이고 정형적으로 작성할수 있도록 한다. 반면, 명세로부터 구현을 직접 도출하기는 쉽지 않다. 본 연구는 LOTOS 명세 언어로 작성된 명세로부터 C++ 코드를 자동 생성하여, 이를 PC 플랫폼상에서 실행하는 동작 모형을 통하여 시스템의 기능적 요구사항의 오류를 초기에 검출할 수 있는 프로토타이핑을 지원하는 LOTOS/C++ 코드 생성기(code generator)를 개발하는 것이다.

  • PDF

Automatic Ship Control System to According for Fog Conditions (안개 상태에 따른 선박 자동제어 장치)

  • Lee, Kyeong-Min;Kim, Shin-Hoo;Kim, Kab-Ki;Park, Sung-Hyeon
    • Journal of the Korean Society of Marine Environment & Safety
    • /
    • v.23 no.6
    • /
    • pp.754-758
    • /
    • 2017
  • In this paper, we designed and manufactured an automatic control system to minimize or avoid damage by automatically controlling ship engines in case of fog to allow for safer operation. This automatic power control system uses ATmega128 and an RPM detection circuit to measure RPM changes by artificially generating fog in the fog generator. For this purpose, we have created a complete schematic and applied our source code to an ATmega128 for PWM control using a Hall sensor motor. In future, an experiment and safety evaluation using this automatic power control system with an actual ship will be prepared.

FPGA Implementation of Reed-Solomon Encoder for image transmission (영상 전송을 위한 Reed-Solomon Encoder의 FPGA 구현)

  • Kim, Dong-Nyeon;Cai, Yu Qing;Byon, Kun-sik
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2009.05a
    • /
    • pp.907-910
    • /
    • 2009
  • This paper is the FPGA Implementation of Reed-Solomon Encoder that is one of Error control Codes. Reed-Solomon codes are block-based error control codes with a wide range of applications in digital communications. RS codes are strong on burst errors because it process signals as symbol. We simulate this system using Matlab from Mathworks and design it using System Generator from Xilinx. We refer Matlab source in Implementation of Reed-Solomon Error Control Coding for Compressed Images by Simon Anthony Raspa.

  • PDF

Numerical Analysis of Turbulent Combustion and Emissions in an HRSG System (가스터빈 열 회수 증기 발생기의 난류연소 해석과 배기가스 예측 및 검증)

  • Jang, Jihoon;Han, Karam;Park, Hoyoung;Lee, Wook-Ryun;Huh, Kangyul
    • KEPCO Journal on Electric Power and Energy
    • /
    • v.5 no.2
    • /
    • pp.103-111
    • /
    • 2019
  • The combined cycle plant is an integration of gas turbine and steam turbine, combining the advantages of both cycles. It recovers the heat energy from gas turbine exhaust to use it to generate steam. The heat recovery steam generator plays a crucial role in combined cycle plants, providing the link between the gas turbine and the steam turbine. Simulation of the performance of the HRSG is required to study its effect on the entire cycle and system. Computational fluid dynamics has potential to become a useful to validate the performance of the HRSG. In this study a solver has been implemented in the open source code, OpenFOAM, for combustion simulation in the heat recovery steam generator. The solver is based on the steady laminar flamelet model to simulate detailed chemical reaction mechanism. Thereafter, the solver is used for simulation of HRSG system. Three cases with varying fuel injections and gas turbine exhaust gas flow rates were simulated and the results were compared with measurements at the system outlet. Predicted temperature and emissions and those from measurements showed the same trend and in quantitative agreement.