Julia中的机器学习建模与仿真组合
Composing Modeling and Simulation with Machine Learning in Julia
摘要:
在本文中,我们介绍了JuliaSim,一个高性能的编程环境,旨在融合传统的建模和仿真与机器学习。JuliaSim可以使用连续时间回波状态网络(CTESN)从基于组件的模型(例如符合FMI标准的模型)构建加速代理。该环境的基础ModelingToolkit.jl是一种非因果建模语言,它可以将经过训练的代理作为组件组合在其分阶段编译过程中。作为一个补充因素,我们提出了JuliaSim模型库,一个标准的图书馆与微分代数方程和预先训练的代理人,它可以组成使用建模系统的设计,优化和控制。我们证明了代理加速建模和模拟方法的有效性,通过显示CTESN代理准确地捕捉到的HVAC循环的动态误差小于4%,同时加速其模拟340倍。我们说明了使用代理加速的设计过程中,通过全局优化的仿真参数,使用嵌入式代理,产生两个数量级的加速找到最佳。我们展示了在联合仿真循环中部署的代理,作为耦合FMU之一的直接替代品,使工程师能够有效地探索耦合系统的设计空间。这一起展示了将机器学习技术自动集成到传统建模和仿真过程中的工作流程。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。