Conference article

Productivity improvement tool for configuration of Modelica plant models and integration with Simulink controller models

Emerson Jacob Jeganathan
LMS Emmeskay Solutions Private Limited, India

Anand Pitchaikani
LMS Emmeskay Solutions Private Limited, India

Elavarasan Dharumaseelan
LMS Emmeskay Solutions Private Limited, India

Download article

Published in: Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany

Linköping Electronic Conference Proceedings 63:99, p. 865-871

Show more +

Published: 2011-06-30

ISBN: 978-91-7393-096-3

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


Engineers practicing model based system design in an automotive sub-system supplier often use Modelica for modeling physical plant models and MATLAB/Simulink® for modeling the controller. Model-in-loop (MIL) simulations are performed using the S-function generated from the chosen Modelica plant model; integrated with the appropriate controller model and then simulated in Simulink. These steps are carried out by the engineer manually for the many different plant-controller configurations available in the organization. This repetitive workflow provides significant opportunities to streamline and automate the model based development process and improve productivity.

This paper presents an in-house MATLAB® GUI tool that can be used to configure the plant; select the controller; automatically generate an integrated model with the plant and controller; and simulate the resulting model. The plant model configuration information is passed on to Dymola® (the simulation environment) using the available communication (COM or DDE) to generate the plant model S-function. This tool includes post processing capabilities such as plotting the simulation results and custom plotting of metrics that are generated postsimulation.


Automation; MIL; model configuration; simulation management


[1] Anand Pitchaikani et al; Real-time Drive Cycle Simulation of Automotive Climate Control System; pp. 839-846; Proceedings of the 7th International Modelica Conference; Como; Italy; 20-22 September 2009

[2] S.E. Pohl and J. Ungethüm; A Simulation Management Environment for Dymola; pp. 173-176; Proceedings of the 4th International Modelica Conference; Hamburg; 7-8 March; 2005.

[3] C. Schlegel; R. Finsterwalder; H. Olsson; Using Dymola generated C-Code in specialized Client/Server Simulation Environments; Not published; Proceedings of the 4th International Modelica Conference; Hamburg; March 7-8; 2005.

[4] M. Tiller; "Introduction to Physical Modeling with Modelica"; Kluwer Academic Publishers; ISBN 0-7923-7367-7.

[5] Dymola. Dynamic Modeling Laboratory; Dynasim AB; Lund; Sweden;

[6] Mathworks;

[7] Modelica;

Citations in Crossref