liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Dynamic and Variable-Structure System Modeling for Equation-Based Languages: Applications, Methods and Tools
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0002-7400-4325
2025 (English)Doctoral thesis, monograph (Other academic)
Abstract [en]

Modeling and simulation are used to solve real-world problems safely and efficiently. For example, we can conduct simulations and analyze the results by constructing digital models of cyber-physical systems to make informed decisions. The field of Modeling and Simulation has recently grown and is tackling systems with increased complexity and size. Hence, modeling and simulating cyber-physical systems are becoming increasingly complex, requiring traditional modeling languages and tools to adapt. Modelica is an open-standard declarative equation-based object-oriented language used to model various systems. Existing tools allow modelers to model and simulate large, complex systems. However, the language and existing tooling cannot express some concepts, such as radical structural changes to the components or the behavior of systems during simulation. We propose several language extensions to support modeling variable-structure systems (VSS), that is, systems in which the system’s structure may radically change during simulation. To achieve these goals, we have developed a new modeling framework that supports the language itself alongside several extensions. The proposed extensions can handle explicit and implicit modeling of VSS by new operators and, consequently, new semantics for the language. Furthermore, we introduce and investigate additional features in terms of operators and semantics to aid VSS modeling and simulation.

One such extension is dynamic-overconstrained connectors (DOCC), which are helpful, for instance, when modeling AC transmission systems, particularly large ones. In the thesis we provide a technique to better handle such models by relaxing existing modeling constraints. Another extension is the inclusion of a experimental operator for inline integration and investigating the practical benefits of its introduction. The environment has been used to develop a new language that merges aspects of Context-Oriented Programming and declarative equation-based modeling, utilizing the introduced primitives. Furthermore, we have also validated the framework by using it to simulate relvant and recent climate models.

Explicit VSS modeling is based on extensions, which provide the possibility of switching configuration at runtime between model definitions resolved at compile time. The implicit modeling supports reconfiguration during runtime via recompilation. A just-in-time compiler was implemented to handle the new semantics using the symbolic-numeric programming language Julia. We investigate the performance of our new framework and compare it to existing state-of-the-art tooling on models with over 100,000 equations.

The results show that the extensions, framework and methods are viable for simulating both regular models and models with structural variability. We demonstrate that the Modelica language can be extended to support systems with variable structures by providing additional operators and enhanced runtime system support.

Place, publisher, year, edition, pages
Linköping: Linköping University Electronic Press, 2025. , p. 288
Series
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524 ; 2491
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-219400DOI: 10.3384/9789181183375ISBN: 9789181183368 (print)ISBN: 9789181183375 (electronic)OAI: oai:DiVA.org:liu-219400DiVA, id: diva2:2013190
Public defence
2025-12-10, Ada Lovelace, B-building, Campus Valla, Linköping, 13:15 (English)
Opponent
Supervisors
Note

Funding Agencies: The research presented in this thesis has been supported by Vinnova in the European ITEA3 research project OpenCPS, the ITEA3 EMPHYSIS Project, the EMISYS project, the ITEA3 EMBrACE project, and the ITEA4 OpenScaling Project. Support has also been recvieved from the European Union HUBCAP Project. Furthermore, support has been received from the Swedish Government in the ELLIIT Cloud Tooling for CPS Project. Support has also been received from Stiftelsen för Strategisk forskning in the LARGEDYN Project. The Open Source Modelica Consortium supports the continuous development of the OpenModelica framework and we are grateful for their support.

Available from: 2025-11-12 Created: 2025-11-12 Last updated: 2025-11-17Bibliographically approved

Open Access in DiVA

fulltext(3790 kB)996 downloads
File information
File name FULLTEXT01.pdfFile size 3790 kBChecksum SHA-512
0ab6e9765d0be14119c61bb5e757acea9b12cb954835fe4bc4bdfdda531f4b6fd8d174787b3e8587a4ad7f53a95da3ccd3706541fc80e3f9cda1517018dc3433
Type fulltextMimetype application/pdf
Order online >>

Other links

Publisher's full text

Authority records

Tinnerholm, John

Search in DiVA

By author/editor
Tinnerholm, John
By organisation
Software and SystemsFaculty of Science & Engineering
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1002 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 1431 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf