• DocumentCode
    1949325
  • Title

    Design and implementation of real time simulator with Modelica

  • Author

    Adiprasetya, M. Hakim ; Prihatmanto, Ary Setijadi

  • fYear
    2012
  • fDate
    11-12 Sept. 2012
  • Firstpage
    1
  • Lastpage
    7
  • Abstract
    The usefulness of a simulation is determined by the validity and results of the simulation that can be used by a user to experiment with the system being simulated. In order to to develop a flexible simulator system with a long useful life, an abstraction needs to be introduced in the modeling and validation proses to separate it from the simulation engine itself. The aim is to develop an architecture that can separate the modeling proses of a simulation from the simulation engine that is being used. The language used to model the simulation is Modelica. The Modelica file is converted into the C programming language using tools provided from OpenModelica that is then integrated to the real-time simulator runtime developed in this thesis. This paper discusses the design and implementation of two different simulator architectures. These two architectures are the multi-threaded and non-threaded real-time simulator runtime. The conclusion of the testing and analysis done towards the two architectures is that the non-threaded architecture results in the most valid simulation producing simulation values closest to the real value and is able to fulfill the hard-real time requirements of the simulation.
  • Keywords
    C language; digital simulation; multi-threading; C programming language; Modelica file; OpenModelica; abstraction; flexible simulator system; hard-real time requirements; multithreaded real-time simulator runtime; nonthreaded architecture; nonthreaded real-time simulator runtime; real time simulator; simulation engine; simulator architectures; Computer architecture; Data models; Engines; Games; Instruction sets; Real-time systems; Runtime; Modeling; OpenModelica; Real-time; Simulation; Threaded; Validation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    System Engineering and Technology (ICSET), 2012 International Conference on
  • Conference_Location
    Bandung
  • Print_ISBN
    978-1-4673-2375-8
  • Type

    conf

  • DOI
    10.1109/ICSEngT.2012.6339303
  • Filename
    6339303