Abstract A type-based analysis of causality loops in hybrid systems modelers
首页> 外文期刊>Nonlinear analysis. Hybrid systems: An International Multidisciplinary Journal >A type-based analysis of causality loops in hybrid systems modelers
【24h】

A type-based analysis of causality loops in hybrid systems modelers

机译:混合系统建模的因果关系基于基于类型的分析

获取原文
获取原文并翻译 | 示例
       

摘要

Abstract Explicit hybrid systems modelers like Simulink/Stateflow allow for programming both discrete- and continuous-time behaviors with complex interactions between them. An important step in their compilation is the static detection of algebraic or causality loops. Such loops can cause simulations to deadlock and prevent the generation of statically scheduled code. This paper addresses this issue for a hybrid modeling language that combines synchronous data-flow equations with Ordinary Differential Equations (ODEs). We introduce the operator last x for the left-limit of a signal x . The last x operator is used to break causality loops and permits a uniform treatment of discrete and continuous state variables. The semantics of the language relies on non-standard analysis, defining an execution as a sequence of infinitesimally small steps. A signal is deemed causally correct when it can be computed sequentially and only changes infinitesimally outside of announced discrete events like zero-crossings. The causality analysis takes the form of a type system that expresses dependencies between signals. In well-typed programs, (i) signals are provably continuous during integration provided that imported external functions are also continuous, and (ii) sequential code can be generated. The effectiveness of the system is illustrated with several examples written in Zélus, a Lustre-like synchronous language extended with ODEs. ]]>
机译:<![cdata [ Abstract 显式混合系统建模仪如 simulink / stateflow 允许编程离散和连续行为它们之间的复杂相互作用。它们编译的一个重要步骤是代数或因果关系循环的静态检测。这样的循环可能导致模拟到死锁并防止生成静态预定的代码。 本文解决了混合建模的这个问题将同步数据流方程与常微分方程(ODES)结合的语言。我们介绍了操作员 last x 信号 x < mml:mi mathvariant =“monospace”> last x 运算符用于破坏因果关系环并允许均匀处理离散和连续状态变量。语言的语义依赖于非标准分析,定义执行作为一系列无限小步骤的执行。信号被认为是因果关系,斜体>速度可以顺序计算并且只在宣布的离散事件之外只会改变零点。因果区分析采用了在信号之间表达依赖性的类型系统的形式。在良好的程序中,(i)信号是在集成期间可怕连续提供了导入的外部功能也是连续的,并且(ii)可以生成顺序代码< / ce:斜体>。 系统的有效性被说明了在中写入的几个例子Zélus,a lustres 延伸的同步语言延伸。 ]]>

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号