ModelingToolkit: A Composable Graph Transformation System For Equation-Based Modeling
Not on the map. Why?
Abstract (arXiv)
Getting good performance out of numerical equation solvers requires that the user has provided stable and efficient functions representing their model. However, users should not be trusted to write good code. In this manuscript we describe ModelingToolkit (MTK), a symbolic equation-based modeling system which allows for composable transformations to generate stable, efficient, and parallelized model implementations. MTK blurs the lines of traditional symbolic computing by acting directly on a user's numerical code. We show the ability to apply graph algorithms for automatically parallelizing and performing index reduction on code written for differential-algebraic equation (DAE) solvers, "fixing" the performance and stability of the model without requiring any changes to on the user's part. We demonstrate how composable model transformations can be combined with automated data-driven surrogate generation techniques, allowing machine learning methods to generate accelerated approximate models within an acausal modeling framework. These reduced models are shown to outperform the Dymola Modelica compiler on an HVAC model by 590x at 3% error. Together, this demonstrates MTK as a system for bringing the latest research in graph transformations directly to modeling applications.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Mar 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
8 papers.
- 2021Learning Stable Deep Dynamics Models for Partially Observed or Delayed Dynamical Systemscited by 17
- 2021High-performance symbolic-numerics via multiple dispatchcited by 6
- 2023Effective Latent Differential Equation Models via Attention and Multiple Shootingcited by 2
- 2021Optimal Transport Based Refinement of Physics-Informed Neural Networkscited by 1
- 2022NeuralSI: Structural Parameter Identification in Nonlinear Dynamical Systemscited by 1
- 2024Learnable & Interpretable Model Combination in Dynamical Systems Modelingcited by 1
- 2023The Benefit of Noise-Injection for Dynamic Gray-Box Model Creationcited by 0
- 2026Experimental Design for Missing Physicscited by 0
- 2026Experimental Design for Missing Physics21 Mar 2026
- 2024Learnable & Interpretable Model Combination in Dynamical Systems Modeling12 Jun 2024
- 2023The Benefit of Noise-Injection for Dynamic Gray-Box Model Creation2 Oct 2023
- 2023Effective Latent Differential Equation Models via Attention and Multiple Shooting11 Jul 2023
- 2022NeuralSI: Structural Parameter Identification in Nonlinear Dynamical Systems26 Aug 2022
- 2021Learning Stable Deep Dynamics Models for Partially Observed or Delayed Dynamical Systems27 Oct 2021
- 2021Optimal Transport Based Refinement of Physics-Informed Neural Networks26 May 2021
- 2021High-performance symbolic-numerics via multiple dispatch9 May 2021