Passer à la navigation principale Passer à la recherche Passer au contenu principal

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

  • Albert Benveniste
  • , Timothy Bourke
  • , Benoit Caillaud
  • , Bruno Pagano
  • , Marc Pouzet
  • INRIA Institut National de Recherche en Informatique et en Automatique
  • Inria Paris
  • Université PSL
  • ANSYS/Esterel-Technologies
  • Sorbonne Université

Résultats de recherche: Contribution à un journalArticleRevue par des pairs

5 Citations (Scopus)

Résumé

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 lastx for the left-limit of a signal x. The lastx 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.

langue originaleAnglais
Pages (de - à)168-189
Nombre de pages22
journalNonlinear Analysis: Hybrid Systems
Volume26
Les DOIs
étatPublié - 1 nov. 2017
Modification externeOui

Empreinte digitale

Examiner les sujets de recherche de « A type-based analysis of causality loops in hybrid systems modelers ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation