面向DAE的FMI分层标准:仿真与优化应用
Towards an FMI Layered Standard for DAE: Applications for Simulation and Optimization
AI总结:
提出FMI分层标准fmi-ls-dae,将代数方程暴露为半显式指标-1微分代数方程,通过原型实现展示其在仿真和动态优化中的优势,解决ODE-FMU收敛问题。
摘要:
用于模型交换的功能样机接口(FMI)3.0标准仅限于混合常微分方程,要求任何内部代数方程在导数返回给导入器之前必须在功能样机单元(FMU)内部求解。对于源自例如Modelica的模型,这意味着非线性代数方程必须通过内部牛顿迭代求解,这会降低精度、增加计算成本、引入隐藏求解器状态,并在下游仿真和优化工作流中导致鲁棒性问题。在本文中,我们提出一个分层标准fmi-ls-dae的提案,该标准将代数方程及其相关的代数变量作为半显式指标-1微分代数方程的一部分暴露出来。我们描述了拟议的对FMI XML模式的扩展,并通过原型实现演示了该方法:Dymola和CasADi生成暴露这种半显式指标-1公式的FMU,而CasADi、FMIOPT、Simcenter Twin Activate和MOO(OpenModelica的动态优化工具)导入它们进行仿真和动态优化。在一个工业相关的多连杆悬架转角模型上,所提出的DAE-FMU公式使优化例程能够收敛于一个最优控制问题,而等效的ODE-FMU则无法收敛。我们概述了正在进行的支持更高指标DAE、一致初始化和事件处理的工作。
英文摘要:
The Functional Mock-up Interface (FMI) 3.0 standard for Model Exchange is restricted to hybrid ordinary differential equations, requiring any internal algebraic equations to be solved inside the Functional Mock-up Unit (FMU) before derivatives are returned to the importer. For models originating from, e.g. Modelica, this means that non-linear algebraic equations must be solved through internal Newton iterations, which can reduce accuracy, increase computational cost, introduce hidden solver states, and cause robustness issues in downstream simulation and optimization workflows. In this article, we present a proposal for a layered standard, fmi-ls-dae, that exposes algebraic equations and their associated algebraic variables as part of a semi-explicit index-1 differential-algebraic equation. We describe the proposed extensions to the FMI XML schema and demonstrate the approach through prototype implementations: Dymola and CasADi generate FMUs that expose this semi-explicit index-1 formulation, while CasADi, FMIOPT, Simcenter Twin Activate, fmusim, and MOO (the dynamic optimization tool of OpenModelica) import them for simulation and dynamic optimization. On an industrially relevant multilink suspension corner model, the proposed DAE-FMU formulation enables the optimization routine to converge on an optimal control problem on which the equivalent ODE-FMU fails to converge. We outline ongoing work towards consistent initialization, event handling and future support for higher-index DAEs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。