John Tinnerholm
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
John Tinnerholm has a total of 15 co-authors. Here are the top co-authors by number of shared publications:
Adrian Pop
Linköping University Linköping Sweden
1 shared publication- Adrian Pop
Department of Computer and Information Science, Linköping University, Linköping, Sweden
1 shared publication - August Ernstsson
Linköping University
1 shared publication - Björn Birath
PELAB, Department of Computer and Information Science, Linköping University, Linköping, Sweden
1 shared publication Christian Gutsche
Boysen-TU Dresden-Research Training Group Dresden Germany
1 shared publication- Christoph Kessler
Linköping University
1 shared publication
Latest Publications
- Open Access
- 10 December 2025
- Published by Linkoping University Electronic Press
Dynamic and Variable-Structure System Modeling for Equation-Based Languages : Applications, Methods and Tools
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-physica ...
- 10 December 2025
- Published by Linkoping University Electronic Press
Open AccessDynamic and Variable-Structure System Modeling for Equation-Based Languages : Applications, Methods and Tools
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-physica ...
- Open Access
- 16 January 2025
- Published by Linkoping University Electronic Press in Swedish Aerospace Conference, FT2025
- Vol. 207, 53-62
Proposal for A Context-oriented Modelica Contributing to Variable Structure Systems
Context-aware systems are widespread in our daily lives, but modeling languages that address the notion of context are rare. Variable structure systems (VSS) allow for structural and behavioral changes in physical models at runtime (while the simulation is running) based on different situations. It is desirable to explicitly describe under which contextual situation a specific variant of the simulation model should be used and how to implement the switching between these variants at runtime. In this case, contexts could be used to control the variability of context-aware systems. Equation-based modeling languages are suitable for modeling complex multi-domain, multi-physical systems, and among them, Modelica is the state-of-the-art. Unfortunately, the capabilities for VSS in Modelica are strongly limited. As a result, several frameworks have been proposed to address this problem by supporting different VSS types. However, it remains unclear which framework contributes to which VSS type. Furthermore, approaches have been developed to support VSS, but none can explicitly describe contexts and their transitions. In this work, we first introduce VSS and its different types. Then, we provide an overview of which framework targets which VSS type. Finally, we propose a new language extension based on Modelica, ContextModelica, that provides semantics for the direct context definition, enabling the use of context to control and manage variability.
- 16 January 2025
- Published by Linkoping University Electronic Press in Swedish Aerospace Conference, FT2025
- Vol. 207, 53-62
Open AccessProposal for A Context-oriented Modelica Contributing to Variable Structure Systems
Context-aware systems are widespread in our daily lives, but modeling languages that address the notion of context are rare. Variable structure systems (VSS) allow for structural and behavioral changes in physical models at runtime (while the simulation is running) based on different situations. It is desirable to explicitly describe under which contextual situation a specific variant of the simulation model should be used and how to implement the switching between these variants at runtime. In this case, contexts could be used to control the variability of context-aware systems. Equation-based modeling languages are suitable for modeling complex multi-domain, multi-physical systems, and among them, Modelica is the state-of-the-art. Unfortunately, the capabilities for VSS in Modelica are strongly limited. As a result, several frameworks have been proposed to address this problem by supporting different VSS types. However, it remains unclear which framework contributes to which VSS type. Furthermore, approaches have been developed to support VSS, but none can explicitly describe contexts and their transitions. In this work, we first introduce VSS and its different types. Then, we provide an overview of which framework targets which VSS type. Finally, we propose a new language extension based on Modelica, ContextModelica, that provides semantics for the direct context definition, enabling the use of context to control and manage variability.
- Open Access
- 27 May 2024
- Published by Springer Nature in International Journal of Parallel Programming
- Vol. 52 (4) , 253-273
High-Level Programming of FPGA-Accelerated Systems with Parallel Patterns
As a result of frequency and power limitations, multi-core processors and accelerators are becoming more and more prevalent in today’s systems. To fully utilize such systems, heterogeneous parallel programming is needed, but this introduces new complexities to the development. High-level frameworks such as SkePU have been introduced to help alleviate these complexities. SkePU is a skeleton programming framework based on a set of programming constructs implementing computational parallel patterns, while presenting a sequential interface to the programmer. Using the various skeleton backends, SkePU programs can execute, without source code modification, on multiple types of hardware such as CPUs, GPUs, and clusters. This paper presents the design and implementation of a new backend for SkePU, adding support for FPGAs. We also evaluate the effect of FPGA-specific optimizations in the new backend and compare it with the existing GPU backend, where the actual devices used are of similar vintage and price point. For simple examples, we find that the FPGA-backend’s performance is similar to that of the existing backend for GPUs, while it falls behind in more complex tasks. Finally, some shortcomings in the backend are highlighted and discussed, along with potential solutions.
- 27 May 2024
- Published by Springer Nature in International Journal of Parallel Programming
- Vol. 52 (4) , 253-273
Open AccessHigh-Level Programming of FPGA-Accelerated Systems with Parallel Patterns
As a result of frequency and power limitations, multi-core processors and accelerators are becoming more and more prevalent in today’s systems. To fully utilize such systems, heterogeneous parallel programming is needed, but this introduces new complexities to the development. High-level frameworks such as SkePU have been introduced to help alleviate these complexities. SkePU is a skeleton programming framework based on a set of programming constructs implementing computational parallel patterns, while presenting a sequential interface to the programmer. Using the various skeleton backends, SkePU programs can execute, without source code modification, on multiple types of hardware such as CPUs, GPUs, and clusters. This paper presents the design and implementation of a new backend for SkePU, adding support for FPGAs. We also evaluate the effect of FPGA-specific optimizations in the new backend and compare it with the existing GPU backend, where the actual devices used are of similar vintage and price point. For simple examples, we find that the FPGA-backend’s performance is similar to that of the existing backend for GPUs, while it falls behind in more complex tasks. Finally, some shortcomings in the backend are highlighted and discussed, along with potential solutions.
- Open Access
- 19 October 2023
- Published by Linkoping University Electronic Press in Swedish Aerospace Conference, FT2025
- p. 302-309
A Semi-Automatic Translator from System Dynamics to Modelica with Application to Socio-Bio-Physical Systems
System Dynamics is a modelling paradigm that has been applied to a wide range of systems, from economic to physical and from managerial to ecological. The main strength of the paradigm is its ease of use. A System Dynamics modeller does not need to focus on equations; instead, models are expressed in terms of stocks and flows. Modelica, on the other hand, is an equation-based modelling language capable of multi-domain modelling using equations. It gives the user more freedom but requires more mathematical focus and skills. Therefore, a unification of equation-based modelling and the System Dynamics paradigm is seen as highly beneficial. Advantages include the ability for System Dynamics modellers to use the tools available in the Modelica ecosystem. Furthermore, it allows the integration of System Dynamics models into Modelica models. To achieve this goal, we developed an XMILE-to-Modelica translator that maps System Dynamics models represented in the XMILE standard exchange format to Modelica models. We also applied a Modelica-to-Julia translator to demonstrate the generality of the approach.We translated several models to test the correctness of the translator. In particular, the Earth System Climate Interpretable Model (ESCIMO) was translated from its original version in the Vensim toolkit into the OpenModelica toolkit, and a correct validation was obtained by comparing simulation results between simulators. Our work improves tool interoperability and further demonstrates the feasibility of using Modelica as a unified, standard language to integrate models created using System Dynamics, including large and complex socio-biophysical systems.
- 19 October 2023
- Published by Linkoping University Electronic Press in Swedish Aerospace Conference, FT2025
- p. 302-309
Open AccessA Semi-Automatic Translator from System Dynamics to Modelica with Application to Socio-Bio-Physical Systems
System Dynamics is a modelling paradigm that has been applied to a wide range of systems, from economic to physical and from managerial to ecological. The main strength of the paradigm is its ease of use. A System Dynamics modeller does not need to focus on equations; instead, models are expressed in terms of stocks and flows. Modelica, on the other hand, is an equation-based modelling language capable of multi-domain modelling using equations. It gives the user more freedom but requires more mathematical focus and skills. Therefore, a unification of equation-based modelling and the System Dynamics paradigm is seen as highly beneficial. Advantages include the ability for System Dynamics modellers to use the tools available in the Modelica ecosystem. Furthermore, it allows the integration of System Dynamics models into Modelica models. To achieve this goal, we developed an XMILE-to-Modelica translator that maps System Dynamics models represented in the XMILE standard exchange format to Modelica models. We also applied a Modelica-to-Julia translator to demonstrate the generality of the approach.We translated several models to test the correctness of the translator. In particular, the Earth System Climate Interpretable Model (ESCIMO) was translated from its original version in the Vensim toolkit into the OpenModelica toolkit, and a correct validation was obtained by comparing simulation results between simulators. Our work improves tool interoperability and further demonstrates the feasibility of using Modelica as a unified, standard language to integrate models created using System Dynamics, including large and complex socio-biophysical systems.
- 10 June 2022
- Published by Linkoping University Electronic Press
A Composable and Extensible Environment for Equation-based Modeling and Simulation of Variable Structured Systems in Modelica
Modeling and Simulation are usually used to solve real-world problems safely and efficiently by constructing digital models of Cyber-Physical Systems. The models can be simulated and analyzed with r ...
- 10 June 2022
- Published by Linkoping University Electronic Press
A Composable and Extensible Environment for Equation-based Modeling and Simulation of Variable Structured Systems in Modelica
Modeling and Simulation are usually used to solve real-world problems safely and efficiently by constructing digital models of Cyber-Physical Systems. The models can be simulated and analyzed with r ...
- Open Access
- 2 June 2022
- Published by MDPI AG in Electronics
- Vol. 11 (11) , 1772
A Modular, Extensible, and Modelica-Standard-Compliant OpenModelica Compiler Framework in Julia Supporting Structural Variability
Nowadays, industrial products are getting increasingly complex, and time-to-market is significantly shorter. Modeling and simulation tools for cyber-physical systems need to keep up with the increased complexity. This paper presents OpenModelica.jl, a modular and extensible Modelica compiler framework in Julia targeting ModelingToolkit.jl and supporting Variable Structured Systems. We extended the Modelica language with three new operators to support continuous-time mode-switching and reconfiguration via recompilation at runtime. Therefore, our compiler supports the Modelica language and variable structure systems via the aforementioned extensions. To our knowledge, there are no other Modelica tools available that support both standard Modelica and variable structure systems. We evaluated our framework using a standardized benchmark suite, in terms of simulation, compilation and recompilation performance. The results concerning compilation and simulation time performance were compared with the results of running the existing OpenModelica compiler with the same set of models. A custom benchmark was devised to estimate the cost in terms of recompilation when simulating variable structure systems. The performance experiments showed that OpenModelica.jl is currently about four times slower in terms of compilation time when compiling a transmission line model with tens of thousands of equations and variables. The difference in simulation performance between the two compilers was negligable. Furthermore, the impact of recompilation during the simulation was usually small compared with the simulation time for long simulations. The results are promising for a prototype, and we outline approaches to further improve both compilation and simulation performance as future research.
- 2 June 2022
- Published by MDPI AG in Electronics
- Vol. 11 (11) , 1772
Open AccessA Modular, Extensible, and Modelica-Standard-Compliant OpenModelica Compiler Framework in Julia Supporting Structural Variability
Nowadays, industrial products are getting increasingly complex, and time-to-market is significantly shorter. Modeling and simulation tools for cyber-physical systems need to keep up with the increased complexity. This paper presents OpenModelica.jl, a modular and extensible Modelica compiler framework in Julia targeting ModelingToolkit.jl and supporting Variable Structured Systems. We extended the Modelica language with three new operators to support continuous-time mode-switching and reconfiguration via recompilation at runtime. Therefore, our compiler supports the Modelica language and variable structure systems via the aforementioned extensions. To our knowledge, there are no other Modelica tools available that support both standard Modelica and variable structure systems. We evaluated our framework using a standardized benchmark suite, in terms of simulation, compilation and recompilation performance. The results concerning compilation and simulation time performance were compared with the results of running the existing OpenModelica compiler with the same set of models. A custom benchmark was devised to estimate the cost in terms of recompilation when simulating variable structure systems. The performance experiments showed that OpenModelica.jl is currently about four times slower in terms of compilation time when compiling a transmission line model with tens of thousands of equations and variables. The difference in simulation performance between the two compilers was negligable. Furthermore, the impact of recompilation during the simulation was usually small compared with the simulation time for long simulations. The results are promising for a prototype, and we outline approaches to further improve both compilation and simulation performance as future research.