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
  • ANSYS/Esterel-Technologies
  • PSL research University & IPSL

Résultats de recherche: Contribution à une conférencePapierRevue par des pairs

Résumé

Explicit hybrid systems modelers like Simulink/Stateow allow for programming both discrete- and continuous-time behaviors with complex interactions between them. A key issue 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. This operator is used to break causality loops and permits a uniform treatment of discrete and continuous state variables. The semantics 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 dependences between signals. In well-typed programs, signals are provably continuous during integration provided that imported external functions are also continuous. The effectiveness of this system is illustrated with several examples written in Zélus, a Lustre-like synchronous language extended with hierarchical automata and ODEs. Copyright is held by the owner/author(s).

langue originaleAnglais
Pages71-81
Nombre de pages11
Les DOIs
étatPublié - 1 janv. 2014
Evénement17th International Conference on Hybrid Systems: Computation and Control, HSCC 2014, Part of the 7th Cyber Physical Systems, CPS Week 2014 - Berlin, Allemagne
Durée: 15 avr. 201417 avr. 2014

Une conférence

Une conférence17th International Conference on Hybrid Systems: Computation and Control, HSCC 2014, Part of the 7th Cyber Physical Systems, CPS Week 2014
Pays/TerritoireAllemagne
La villeBerlin
période15/04/1417/04/14

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