• Title/Summary/Keyword: ns-2 시뮬레이션

Search Result 319, Processing Time 0.041 seconds

NS-2를 이용한 네트워크 시뮬레이션 방법론

  • Park, Seong-Hyeon;Lee, Seung-Hyeong
    • Information and Communications Magazine
    • /
    • v.24 no.7
    • /
    • pp.79-88
    • /
    • 2007
  • 본고에서는 현재 일반적으로 가장 널리 사용되고 있는 네트워크 시뮬레이터인 NS-2(Network Simulator-2)에 대하여 알아본다. NS-2는 네트워킹의 성능분석을 목적으로 개발된 이벤트 기반(event-driven)의 시뮬레이터이다. 이 시뮬레이터의 적용 범위는 유선 네트워크의 경우 TCP/IP 프로토콜 패밀리와 각종 라우팅 프로토콜에 대한 시뮬레이션이 가능하며, 무선 네트워크에 경우에는 Ad Hoc 네트워크, WLAN, Mobile-IP와 Cellular network 등의 시뮬레이션이 가능하다. GUI가 부족하고 사용이 어렵다는 단점에도 불구하고, 공개된 소스와 두터운 이용자층에 힘입어 널리 사용되는 NS-2의 개요 및 시뮬레이션 방법에 대해 알아보기로 한다.

DEVSim++ - NS2 Interoperating Environment for Protocol Evaluation (프로토콜 평가를 위한 DEVSim++ 와 NS2 의 연동 환경)

  • 김회준;김탁곤
    • Proceedings of the Korea Society for Simulation Conference
    • /
    • 2002.05a
    • /
    • pp.253-258
    • /
    • 2002
  • This paper proposes a methodology for development of protocol models. The methodology attempts to employ two modeling environments in models development, NS2 and DEVSim++, which will interoperate during simulation. NS2 is a widely used network simulator in protocol research, which employs an informal modeling approach. Within the approach time and state information of protocol models are not explicitly described, thus being hard to validate model. On the other hand the DEVS formalism is a mathematical framework for modeling a discrete event system in a hierarchical, modular manner. In DEVS, model's time and state information is described explicitly, By using DEVS formalism, models can easily be validated and errors in the modeling stage can be reduced. However, the DEVS simulator, DEVSim++, supports a small amount of models library which are required to build simulation models of general communication network. Although NS2 employs an informal modeling approach and models validation is difficult, it supports abundant models library validated by experimental users. Thus, combination of DEVS models and NS2 models may be an effective solution for network modeling. Such combination requires interoperation between DEVSim++ simulator and NS2 simulator. This paper develops an environment for such interoperation. Correctness and effectiveness of the implemented interoperation environment have been validated by simulation of UDP and TCP models.

  • PDF

Modification of Extended Version of IEEE 802.11 in ns-2 and Performance Analysis with Error Rate Using Computer Simulation (ns-2에서 IEEE 802.11 확장 모듈의 오류 수정과 Error Rate를 적용한 시뮬레이션 및 성능분석)

  • Jung, Jin-Uk;Jin, Kyo-Hong
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.14 no.9
    • /
    • pp.2008-2015
    • /
    • 2010
  • Ns-2 is a proven simulator which is widely utilized to evaluate the performance of wired and wireless network. Ns-2.33 version introduced the extended version including the modules which the core functions of existing 802.11 PHY and MAC layer are implemented. However, if the error rate, one of most important parameters to evaluate a performance of wireless network, is applied to the extended version, the simulation is ceased with several fatal errors. Furthermore, a packet error is detected and discarded on MAC layer in the traditional protocol architecture, but there is the problem which can't identify information about a packet with error by processing packet error on PHY layer in this version. In this paper, we modify the extended version to resolve the above mentioned problems. And also we perform ns-2 simulation using the modified version on the IEEE 802.11p based vehicular ad-hoc networks, and then analyze effects of error rate.

An Efficient Multi-Processing Batch Job System for NS-2 Simulations (효율적인 NS-2 시뮬레이션을 위한 멀티프로세싱 기법의 Batch Job 시스템)

  • Kang, Jin-Gu;Ahn, Jong-Suk
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2015.10a
    • /
    • pp.322-324
    • /
    • 2015
  • 네트워크 시뮬레이터인 NS-2(Network Simulator 2)는 다양한 인터넷 프로토콜을 분석 할 수 있는 이산 사건 시뮬레이터로 데이터 처리량과 패킷 지연 및 전력 소모 등을 구할 수 있다. 그러나 NS-2를 사용하여 실험 시 네트워크 토폴로지의 설정이 변경 될 때마다 Tcl 스크립트를 통해 단일적으로 밖에 대응하지 못한다는 불편함이 존재한다. 이 문제를 해결하기 위해 본 논문에서는 멀티프로세싱 기법의 NS-2 Batch Job 시스템을 제안한다. 쉘(Bash) 스크립트로 NS-2 내부 구조의 간섭 없이 자동화 일괄 작업(Batch Job) 시스템을 모듈 구조로 구현 및 적용시켰다. 또한 실험의 시간 효율을 극대화시키기 위해 멀티프로세싱 기법을 이용하여, 하드웨어 성능의 부하가 걸리지 않는 선에서 NS-2 시뮬레이션을 다중 처리할 수 있도록 만들었다. 성능 비교분석 결과, 제안하는 Batch Job 시스템을 적용하면 기존에 NS-2를 이용한 실험에 걸리는 시간에 비해 소요시간이 평균 48% 감소한 결과를 볼 수 있다. 이는 하드웨어 성능이 향상된다면, 부하가 걸리지 않는 상한까지 더 많은 개수의 NS-2 프로세스를 실행시킬 수 있기 때문에 더욱 큰 시간 효율을 보여줄 수 있다.

Numerical Analysis and Simulation for the Pricing of Bond on Term-Structure Interest Rate model with Jump (점프 항을 포함하는 이자율 기간구조 모형의 채권 가격결정을 위한 수치적 분석 및 시뮬레이션)

  • Kisoeb Park
    • Journal of Internet Computing and Services
    • /
    • v.25 no.2
    • /
    • pp.93-99
    • /
    • 2024
  • In this paper, we derive the Partial Differential Bond Price Equation (PDBPE) by using Ito's Lemma to determine the pricing of bond on term-structure of interest rate (TSIR) model with jump. From PDBPE, the Maclaurin series (MS) and the moment-generating function (MGF) for the exponential function are used to obtain a numerical solution (NS) of the bond prices. And an algorithm for determining bond prices using Monte Carlo Simulation (MCS) techniques is proposed, and the pricing of bond is determined through the simulation process. Comparing the results of the implementation of the above two pricing methods, the relative error (RE) is obtained, which means the ratio of NS and MCS. From the results, we can confirm that the RE is less than around 2.2%, which means that the pricing of bond can be predicted very accurately using the proposed algorithms as well as numerical analysis. Moreover, it was confirmed that the bond price obtained using the MS has a relatively smaller error than the pricing of bond obtained by using the MGF.

Programming and Verification of WAVE Multi-Channel Simulation Program based on the ns-2 (ns-2 기반 WAVE 멀티채널 시뮬레이션 프로그램 작성 및 검증)

  • Kang, Woo-Sung;Jung, Jin-Uk;Jin, Kyo-Hong
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.15 no.7
    • /
    • pp.1471-1478
    • /
    • 2011
  • A typical standard of vehicular ad hoc networks, WAVE which consists of IEEE 1609.x Family standards and IEEE 802.11p standard, includes the multi-channel coordination and channel synchronization function to provide safety services or public services during a car is driven. Generally, the performance of data communication and networking technologies is evaluated by using simulation tools, such as ns-2, OPNET, OPNET++, etc. However, these tools doesn't provide the operations of WAVE protocol. Therefore, in this paper, we implement and verify WAVE simulation program based on ns-2.

A Research about Adding a New Network Component in Network Simulator 2 (Network Simulator 2에서의 새로운 Network Component 추가에 관한 연구)

  • 안혜환;손재기
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2004.10c
    • /
    • pp.70-72
    • /
    • 2004
  • 본 논문은 NS-2 에서의 새로운 네트워크 요소 모듈 개발에 관한 연구를 목적으로 한다. 현재 대부분의 새로운 네트워크 요소들은 경제적인 이유와 네트워크의 환경적인 제약으로 인해서 시뮬레이터 환경에서 실험 되어지고 컴퓨터 공학에서 가장 많이 알려진 시뮬레이션툴 중의 하나로 NS-2 가 많이 사용되어 지고 있다 이러한 NS-2 는 Otcl 이라는 MIT 에서 개발한 언어와 C++ 가 상호 연동 되어져서 이벤트 처리 부분은 OTcl 이 담당하고 패킷 처리 부분은 C++가 담당 하고 있지만 새로운 네트워크 요소를 추가 하는 부분을 이해 하기에는 현재 공개된 문서 만으로는 이해하기 어려운 부분이 많다. 본 논문에서는 NS-2 에 새로운 네트워크 요소를 추가 하는대 있어서 필요한 NS-2 의 기술적인 부분을 설명함을 목적으로 하였다.

  • PDF

Analysis of SCR, MVSCR, LVTSCR With I-V Characteristic and Turn-On-Time (SCR, MVSCR, LVTSCR의 Turn-on time 및 전기적 특성에 관한 연구)

  • Lee, Joo-Young
    • Journal of IKEEE
    • /
    • v.20 no.3
    • /
    • pp.295-298
    • /
    • 2016
  • In this paper, we analysed the properties of the conventional ESD protection devices such as SCR, MVSCR, LVTSCR. The electrical characteristics and the turn-on time properties are simulated by Synopsys T-CAD simulator. As the results, the devices have the holding voltages between 2V and 3V, and the trigger voltage of about 20V with SCR, of about 12V with MVSCR, of about 9V with LVTSCR. The results of the simulation for the turn-on time properties are 2.8ns of SCR, 2.2ns of MVSCR, 2.0ns of LVTSCR. Thus, we prove that LVTSCR has the shortest turn-on time. However, the second breakdown currents(It2) of the devices are 7.7A of SCR, 5.5A of MVSCR, 4A of LVTSCR. This different properties have to be adapted by the operation voltages for I/O Clamps.

Performance Analysis of an Address Auto-configuration Method Applying to Mobile Ad hoc Network Using NS-2 (NS-2를 이용한 MANET의 주소 자동설정 기법의 성능분석 연구)

  • Kim, Sun-Hwa;Go, Bin;Lee, Kyou-Ho
    • Journal of the Korea Society for Simulation
    • /
    • v.19 no.3
    • /
    • pp.1-6
    • /
    • 2010
  • Simulation analysis may be the essential means to either evaluate performance of systems or optimize system parameters for new design. Including many variations for design and implementation, MANET (Mobile Ad-hoc NETwork) is one target area of such an analysis. Since every node, however, included in the network has mobility, one MANET could be overlapped or merged with another one which use a different transport protocol. In order to communicate among nodes in this case, the new merged network should configure paths and addresses in advance. Configuring paths and addresses generates much overheads which ultimately cause delay in communicating data. Performance analysis is required to improve the data transport performance by minimizing overheads. This paper proposes a sound address auto-configuration method which is based on an on-demand manner and then presents modeling and performance analysis of the method. NS-2 simulation results verify that the proposed method can not only alleviate overheads, which are inevitably generated for address auto-configuration processes, and but also decentralize them in time.