arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.03549eess.SYcs.SCcs.SY
收藏

混合模型的自动求导:通过Diffedge图方法示例(综述)

Automatic differentiation of hybrid models Illustrated by Diffedge Graphic Methodology. (Survey)

APPEDGE(阿普德吉);Esilv(巴黎高等私立工程师学院);LIX , UMR CNRS – École polytechnique(École polytechnique LIX实验室)

John Masse, Clara Masse, François Ollivier

AI总结:

本文综述了混合模型的自动求导方法,探讨了参数、初始条件和时间的求导,强调高阶迭代的应用,并通过Diffedge软件展示图方法在Simulink混合模型中的应用。

摘要:

我们研究了混合模型的自动求导,即包含延迟、逻辑测试和不连续或循环的模型。我们考虑对参数、初始条件或时间的求导。我们强调在导数数量较少时,主要关注同一导数的高阶迭代。所考虑的模型可能包含算术运算、基本函数、逻辑测试,以及更复杂的组件如延迟、积分器、方程和微分方程求解器。本文不追求详尽,但试图填补文献中各组件单独描述但很少共同使用的空白。一般方法通过计算机代数实验示例,强调在任何Fortran或C代码翻译之前,对高级对象进行求导的重要性。我们包括具有不连续性的常微分系统,特别关注来自不连续拉格朗日量的系统。最后,我们概述了Diffedge软件中为Simulink混合模型开发的图方法。并非所有可能性都被涵盖,但该方法可以进行调整。自动求导的结果是一个新的方框图,因此可以轻松转换为实时嵌入式程序。我们欢迎任何评论或遗漏的参考文献建议。

英文摘要:

We investigate the automatic differentiation of hybrid models, viz. models that may contain delays, logical tests and discontinuities or loops. We consider differentiation with respect to parameters, initial conditions or the time. We emphasize the case of a small number of derivations and iterated differentiations are mostly treated with a foccus on high order iterations of the same derivation. The models we consider may involve arithmetic operations, elementary functions, logical tests but also more elaborate components such as delays, integrators, equations and differential equations solvers. This survey has no pretention to exhaustivity but tries to fil a gap in the litterature where each kind of of component may be documented, but seldom their common use. The general approach is illustrated by computer algebra experiments, stressing the interest of performing differentiation, whenever possible, on high level objects, before any translation in Fortran or C code. We include ordinary differential systems with discontinuity, with a special interest for those comming from discontinuous Lagrangians. We conclude with an overview of the graphic methodology developped in the Diffedge software for Simulink hybrid models. Not all possibilities are covered, but the methodology can be adapted. The result of automatic differentiation is a new block diagram and so it can be easily translated to produce real time embedded programs. We welcome any comments or suggestions of references that we may have missed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑