An Open-Source Graphical Composite Modeling Editor and Simulation Tool Based on FMI and TLM Co-Simulation

Alachew Mengist
PELAB – Programming Environment Lab, Dept. Computer Science, Linköping University, Sweden

Adeel Asghar
PELAB – Programming Environment Lab, Dept. Computer Science, Linköping University, Sweden

Adrian Pop
PELAB – Programming Environment Lab, Dept. Computer Science, Linköping University, Sweden

Peter Fritzson
PELAB – Programming Environment Lab, Dept. Computer Science, Linköping University, Sweden

Willi Braun
Dept. Mathematics and Engineering, University of Applied Sciences, Germany

Alexander Siemers
SKF, Göteborg, Sweden

Dag Fritzson
SKF, Göteborg, Sweden

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp15118181

Ingår i: Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015

Linköping Electronic Conference Proceedings 118:19, s. 181-188

Visa mer +

Publicerad: 2015-09-18

ISBN: 978-91-7685-955-1

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


A common situation in industry is that a system model (here a composite model) is composed of several sub-models which may have been developed using different tools. FMI is one important technology for exporting/importing models between tools and/or connecting them via co-simulation. TLM based modeling and co-simulation is another important technique for modeling, connecting, and simulation of especially mechanical systems, which is simple, numerically stable, and efficient. A number of tool-specific simulation models, such as Modelica models, SimuLink models, Adams models, BEAST models, etc., have successfully been connected and simulated using TLM based co-simulation. However, previously there was no general open source tool for creation, graphic editing, and simulation of composite models connected via FMI or TLM based co-simulation. In this paper we present a graphical composite model editor based on OpenModelica which is integrated with the OpenModelica and the SKF TLM co-simulation frameworks to support both FMI and TLM based composite model editing and simulation. The editor supports creating, viewing and editing a composite model both in textual and graphical representation. The system supports simulation of composite models consisting of sub-models created using different tools.


Graphic Editing; Composite-Modeling; Modelica; FMI; TLM; XML; Simulation; Co-Simulation


Adeel Asghar, Sonia Tariq, Mohsen Torabzadeh-Tari, Peter Fritzson, Adrian Pop, Martin Sjölund, Parham Vasaiely, and Wladimir Schamai. An Open Source Modelica Graphic Editor Integrated with Electronic Notebooks and Interactive Simulation. In Proc. of the 8th International Modelica Conference 2011, pp. 739–747. Modelica Association, March 2011.Linköping University, Sweden, 2010.

David M. Auslander. Distributed System Simulation with Bilateral Delay-Line Models. Journal of Basic Engineering, Trans. ASME: 195–200, 1968.

Mikael Axin, Robert Braun, Petter Krus, Alessandro dell’Amico, Björn Eriksson, Peter Nordin, Karl Pettersson, and Ingo Staack. Next Generation Simulation Software using Transmission Line Elements. In Proceedings of the Bath/ASME Symposium on Fluid Power and Motion Control (FPMC), September 2010.

Torsten Blochwitz et al. The Functional Mockup Interface for Tool independent Exchange of Simulation Models. In Proceedings of the 8th International Modelica Conference., Dresden, Mar. 2011. doi: 10.3384/ecp11063105.

James D. Burton, Kevin A. Edge, and Clifford R. Burrows. Partitioned Simulation of Hydraulic Systems Using Transmission-Line Modelling. In ASME WAM, 1993.

FMI-Standard.org. Functional Mock-up Interface for Model Exchange and Co-Simulation Version 2.0, July 25, 2014. https://www.fmi-standard.org/.

Peter Fritzson. Principles of Object Oriented Modeling and Simulation with Modelica 3.3: A Cyber-Physical Approach. 1250 pages. ISBN 9781-118-859124, Wiley IEEE Press, 2014.

HOPSAN. The HOPSAN Simulation Program, User’s Manual. Linköping University, 1985. LiTH-IKP-R-387.

Peter B. Johns and Mark O’Brien. Use of the transmission line modelling (TLM) method to solve nonlinear lumped networks. The Radio and Electronic Engineer, 50(1/2):59–70, 1980.

Petter Krus, Arne Jansson, Jan-Ove Palmberg, and Kenneth Weddfelt. Distributed Simulation of Hydromechanical Systems. In Proc. of the Third Bath International Fluid Power Workshop, 1990.

MSC-Software, MSC.ADAMS – interactive motion simulation software, http://www.mscsoftware.com (accessed: 22th of May 2015).

Iakov Nakhimovski. Contributions to the Modeling and Simulation of Mechanical Systems with Detailed Contact Analysis, Dissertation No. 1009, Linköpings universitet, Sweden, 2006.

Alexander Siemers, Iakov Nakhimovski, and Dag Fritzson. Meta-modelling of Mechanical Systems with Transmission Line Joints in Modelica. In Proceedings of the 4th International Modelica Conference, Hamburg, Germany, 2005.

Alexander Siemers, Peter Fritzson, and Dag Fritzson, Meta-Modeling for Multi-physics Co-simulations applied for OpenModelica. In: Proc. of ANIPLA 2006 International Congress on ‘Methodologies for Emerging Technologies in Automation’, University of Rome La Sapienza, November 13–14–15, 2006.

Alexander Siemers and Dag Fritzson. A meta-modeling environment for mechanical system co-simulations. In Proc. of the 48th Scandinavian Conference on Simulation and Modeling (SIMS 2007), Gothenburg (Särö), Sweden, October 2007.

Alexander Siemers, Contributions to Modelling and Visualisation of Multibody Systems Simulations with Detailed Contact Analysis, Dissertation No. 1337,
Linköpings universitet, Sweden, 2010

Lars-Erik Stacke, Dag Fritzson, and Patrik Nordling, BEAST—A Rolling Bearing Simulation Tool, Proc. Instn Mech. Engrs, part K, Journal of Multi-body Dynamics, 1999.

Citeringar i Crossref