arXiv (Cornell University) · 2021 · 102 citations · 16 references
EngineeringHvac ModelNumerical Equation SolversNetwork AnalysisGraph DatabaseComputer-aided DesignSymbolic ComputationData ScienceSystems EngineeringDymola Modelica CompilerModeling And SimulationModel Transformation LanguageParallel ComputingSymbolic ManipulationAutomatic DifferentiationEquation-based ModelingComputer EngineeringComputer ScienceModel TransformationComputational ScienceGraph TheoryProgram AnalysisComputer AlgebraParallel ProgrammingComputer ModelingData Modeling
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.
16
Julia: A Fresh Approach to Numerical Computing
Jeff Bezanson, Alan Edelman, Stefan Karpinski et al. · SIAM Review · 2017 · 6K citations
Numerical Analysis, Engineering, Julia Programming Language +20
A.C. Hindmarsh, Peter N. Brown, Keith Eric Grant et al. · ACM Transactions on Mathematical Software · 2005 · 2.5K citations · Full text
Numerical Analysis, Mathematical Programming, Fortran 77 +13
Gaëtan Kerschen, Jean‐Claude Golinval, Alexander F. Vakakis et al. · Nonlinear Dynamics · 2005 · 871 citations · Full text
Numerical Analysis, Modal Analysis, Reduced Order Modeling +12