Composing Modeling and Simulation with Machine Learning in Julia

05/12/2021
by   Chris Rackauckas, et al.
0

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 accurately capture the dynamics of a HVAC cycle at less than 4% error while accelerating its simulation by 340x. We illustrate the use of surrogate acceleration in the design process via global optimization of simulation parameters using the embedded surrogate, yielding a speedup of two orders of magnitude to find the optimum. We showcase the surrogate deployed in a co-simulation loop, as a drop-in replacement for one of the coupled FMUs, allowing engineers to effectively explore the design space of a coupled system. Together this demonstrates a workflow for automating the integration of machine learning techniques into traditional modeling and simulation processes.

READ FULL TEXT
research
11/07/2020

A fast time-stepping strategy for ODE systems equipped with a surrogate model

Simulation of complex dynamical systems arising in many applications is ...
research
10/07/2020

Accelerating Simulation of Stiff Nonlinear Systems using Continuous-Time Echo State Networks

Modern design, control, and optimization often requires simulation of hi...
research
02/28/2023

Fusion of ML with numerical simulation for optimized propeller design

In computer-aided engineering design, the goal of a designer is to find ...
research
06/13/2021

Protein-Ligand Docking Surrogate Models: A SARS-CoV-2 Benchmark for Deep Learning Accelerated Virtual Screening

We propose a benchmark to study surrogate model accuracy for protein-lig...
research
04/17/2021

Machine learning-assisted surrogate construction for full-core fuel performance analysis

Accurately predicting the behavior of a nuclear reactor requires multiph...
research
05/09/2021

High-performance symbolic-numerics via multiple dispatch

As mathematical computing becomes more democratized in high-level langua...
research
04/06/2021

Hyperloop System Optimization

Hyperloop system design is a uniquely coupled problem because it involve...

Please sign up or login with your details

Forgot password? Click here to reset