Composing Modeling and Simulation with Machine Learning in Julia
Chris Rackauckas, Ranjan Anantharaman, Alan Edelman, Shashi Gowda,, Maja Gwozdz, Anand Jain, Chris Laughman, Yingbo Ma, Francesco Martinuzzi,, Avik Pal, Utkarsh Rajput, Elliot Saba, Viral B. Shah

TL;DR
This paper introduces JuliaSim, a high-performance environment that integrates machine learning surrogates with traditional modeling in Julia, enabling faster and more efficient simulation and optimization of complex systems.
Contribution
It presents JuliaSim and ModelingToolkit.jl, enabling the composition of trained surrogates with component models for accelerated simulation and design optimization.
Findings
Surrogates achieve less than 4% error in HVAC simulation
Simulation speed is increased by 340 times using CTESN surrogates
Optimization speed is improved by two orders of magnitude
Abstract
In this paper we introduce JuliaSim, a high-performance programming environment designed to blend traditional modeling and simulation with machine learning. JuliaSim can build accelerated surrogates from component-based models, such as those conforming to the FMI standard, using continuous-time echo state networks (CTESN). The foundation of this environment, ModelingToolkit.jl, is an acausal modeling language which can compose the trained surrogates as components within its staged compilation process. As a complementary factor we present the JuliaSim model library, a standard library with differential-algebraic equations and pre-trained surrogates, which can be composed using the modeling system for design, optimization, and control. We demonstrate the effectiveness of the surrogate-accelerated modeling and simulation approach on HVAC dynamics by showing that the CTESN surrogates…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Reservoir Computing · Model Reduction and Neural Networks · Optical Network Technologies
