Simulating a Variable-structure Model of an Electric Vehicle for Battery Life Estimation Using Modelica/Dymola and Python

Moritz Stüber
University of Applied Sciences Vorarlberg, Austria

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

Ingår i: Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017

Linköping Electronic Conference Proceedings 132:31, s. 291-298

Visa mer +

Publicerad: 2017-07-04

ISBN: 978-91-7685-575-1

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


A variable-structure model (VSM) of a battery electric vehicle used for simulating the ageing of the battery pack is presented. The operating principle of the software used to simulate the models is described and a brief summary of the state of science and technology regarding the simulation of VSMs is given. By comparing the performance of the VSM to a conventional model, it is found that the simulation time does not necessarily decrease when replacing a model with a variable-structure version. However, the VSM has advantages regarding the handling of the result files and the possibility to analyse the results.


Variable-structure Model, VSM, Modelica, Dymola, Simulation


Breitenecker, Felix (2008). “Development of Simulation Software – from Simple ODE Modelling to Structural Dynamic Systems”. In: Proceedings of the 22nd European Conference on Modelling and Simulation (ECMS 2008). DOI: https://doi.org/10.7148/2008-0005-0022.

Elmqvist, Hilding, Sven Erik Mattsson, and Martin Otter (2014). “Modelica extensions for Multi-Mode DAE systems”. In: Proceedings of the 10th International Modelica Conference. DOI: https://doi.org/10.3384/ecp14096183.

Esperon, Daniel Gomez, Alexandra Mehlhase, and Thomas Karbe (2015). “Appending Variable-structure to Modelica Models (WIP)”. In: Proceedings of the Conference on Summer Computer Simulation. SummerSim ’15. Chicago, Illinois: Society for Computer Simulation International.

Krüger, Imke, Alexandra Mehlhase, and Gerhard Schmitz (2012). “Variable Structure Modeling for Vehicle Refrigeration Applications”. In: Proceedings of the 9th International Modelica Conference. DOI: https://doi.org/10.3384/ecp12076927.

Mattsson, Sven Erik, Martin Otter, and Hilding Elmqvist (2015). “Multi-Mode DAE Systems with Varying Index”. In: Proceedings of the 11th International Modelica Conference. DOI: https://doi.org/10.3384/ecp1511889.

Mehlhase, Alexandra (2015). “Konzepte für die Modellierung und Simulation strukturvariabler Modelle”. PhD thesis. Technische Universität Berlin, Fakultät IV – Elektrotechnik und Informatik. DOI: https://doi.org/10.14279/depositonce-4514.

Mehlhase, Alexandra, Daniel Gomez Esperon, Julien Bergmann, et al. (2014). “An example of beneficial use of variable-structure modeling to enhance an existing rocket model”. In: Proceedings of the 10th International Modelica Conference. DOI: https://doi.org/10.3384/ECP14096707.

Mehlhase, Alexandra, Daniel Gomez Esperon, and Thomas Karbe (2015). “Challenges when Creating Variable-structure Models”. In: Proceedings of the 5th International Conference on Simulation and Modeling Methodologies, Technologies and Applications, pp. 101–110. DOI: https://doi.org/10.5220/0005521601010110.

Möckel, Jens, Alexandra Mehlhase, and Christoph Nytsch-Geusen (2015). “Exploiting Variable-structure Models in the Context of Building Simulations within Modelica”. In: Proceedings of BS2015. International Building Performance Simulation Association. URL:

Stüber, Moritz (2016). “Simulating a Variable-structure Model of an Electric Vehicle for Battery Life Estimation Using Modelica/Dymola and Python”. Master’s Thesis. University of Applied Sciences Vorarlberg.

Zimmer, Dirk (2010). “Equation-Based Modeling of Variable-Structure Systems”. PhD thesis. Swiss Federal Institute of Technology, Zürich. DOI: 10.3929/ethz-a-006053740.

Zimmer, Dirk (2013). “A new framework for the simulation of equation-based models with variable structure”. In: SIMULATION 89.8, pp. 935–963. DOI: https://doi.org/10.1177/0037549713484077.

Citeringar i Crossref