Advanced

A Software Framework for Implementation and Evaluation of Co-Simulation Algorithms

Andersson, Christian LU (2013)
Abstract
In this thesis, simulation of coupled dynamic models, denoted sub-systems, is analyzed and described in a co-simulation context. This means that the respective coupled systems contain their own internal integrator, hidden from the coupling interface. Co-Simulation is an interesting and active research field where industry is a driving force. The problems where co-simulation is an interesting approach is two-fold. On one-hand, there is the coupling of sub-systems between tools. Consider the case where tools use different representation of the sub-systems and the problem presented by the coupling of the two. On the other hand, there is the performance issue. There is a potential performance increase for the overall system simulation when... (More)
In this thesis, simulation of coupled dynamic models, denoted sub-systems, is analyzed and described in a co-simulation context. This means that the respective coupled systems contain their own internal integrator, hidden from the coupling interface. Co-Simulation is an interesting and active research field where industry is a driving force. The problems where co-simulation is an interesting approach is two-fold. On one-hand, there is the coupling of sub-systems between tools. Consider the case where tools use different representation of the sub-systems and the problem presented by the coupling of the two. On the other hand, there is the performance issue. There is a potential performance increase for the overall system simulation when using a tailored integrator for each sub-system compared to using a general integrator for the monolithic system. The aim of this thesis is to develop a testing framework for currently used co-simulation approaches and to describe the state of the art in co-simulation. Additionally, the aim is to be able to test the approaches on industrially relevant models and academic test models.



Using co-simulation for simulation of coupled systems may result in stability problems depending on the approach used, and the intention here is to describe when it occurs and how to handle it. The commonly used methods use fixed step-size for determining when information between the models are to be exchanged. A recent development for co-simulation of coupled systems using a variable step-size method is described together with the requirements for performing such a simulation.



Attaining the goals of the thesis has required a substantial effort in software development to create a foundation in terms of a testing framework. For gaining access to models from industry, the newly defined Functional Mock-up Interface has been used and a tool for working with these type of models, called PyFMI, has been developed. Another part is access to integrators, necessary for evaluating the impact of the internal integrator in the sub-systems. A tool providing a unified high-level interface to various integrators has been developed and is called Assimulo. The key component is the algorithm for performing the co-simulation. It has been developed to be easily extensible and to support the currently used co-simulation methods.



The developed framework has been proven to be successful in evaluating co-simulation approaches on both academic test examples and on industrially relevant models as will be shown in the thesis. (Less)
Please use this url to cite or link to this publication:
author
supervisor
organization
publishing date
type
Thesis
publication status
published
subject
keywords
Simulation, Co-Simulation, Assimulo, JModelica.org
pages
107 pages
publisher
Lund University (Centre for Mathematical Sciences)
external identifiers
  • other:LUTFNA-2003-2013
ISBN
978-91-7473-671-7
project
LCCC
language
English
LU publication?
yes
additional info
The information about affiliations in this record was updated in December 2015. The record was previously connected to the following departments: Numerical Analysis (011015004)
id
a09535e6-1a0a-405b-9f0e-6575ce17210e (old id 4350274)
date added to LUP
2016-04-01 14:10:13
date last changed
2018-11-21 20:24:08
@misc{a09535e6-1a0a-405b-9f0e-6575ce17210e,
  abstract     = {In this thesis, simulation of coupled dynamic models, denoted sub-systems, is analyzed and described in a co-simulation context. This means that the respective coupled systems contain their own internal integrator, hidden from the coupling interface. Co-Simulation is an interesting and active research field where industry is a driving force. The problems where co-simulation is an interesting approach is two-fold. On one-hand, there is the coupling of sub-systems between tools. Consider the case where tools use different representation of the sub-systems and the problem presented by the coupling of the two. On the other hand, there is the performance issue. There is a potential performance increase for the overall system simulation when using a tailored integrator for each sub-system compared to using a general integrator for the monolithic system. The aim of this thesis is to develop a testing framework for currently used co-simulation approaches and to describe the state of the art in co-simulation. Additionally, the aim is to be able to test the approaches on industrially relevant models and academic test models. <br/><br>
<br/><br>
Using co-simulation for simulation of coupled systems may result in stability problems depending on the approach used, and the intention here is to describe when it occurs and how to handle it. The commonly used methods use fixed step-size for determining when information between the models are to be exchanged. A recent development for co-simulation of coupled systems using a variable step-size method is described together with the requirements for performing such a simulation.<br/><br>
<br/><br>
Attaining the goals of the thesis has required a substantial effort in software development to create a foundation in terms of a testing framework. For gaining access to models from industry, the newly defined Functional Mock-up Interface has been used and a tool for working with these type of models, called PyFMI, has been developed. Another part is access to integrators, necessary for evaluating the impact of the internal integrator in the sub-systems. A tool providing a unified high-level interface to various integrators has been developed and is called Assimulo. The key component is the algorithm for performing the co-simulation. It has been developed to be easily extensible and to support the currently used co-simulation methods.<br/><br>
<br/><br>
The developed framework has been proven to be successful in evaluating co-simulation approaches on both academic test examples and on industrially relevant models as will be shown in the thesis.},
  author       = {Andersson, Christian},
  isbn         = {978-91-7473-671-7},
  language     = {eng},
  note         = {Licentiate Thesis},
  publisher    = {Lund University (Centre for Mathematical Sciences)},
  title        = {A Software Framework for Implementation and Evaluation of Co-Simulation Algorithms},
  url          = {https://lup.lub.lu.se/search/ws/files/3825682/4350275.pdf},
  year         = {2013},
}