This report defines the syntax and formal semantics of the Chi 2.0 formalism. The Chi formalism integrates concepts from dynamics and control theory with concepts from computer science, in particular from process algebra and hybrid automata. It combines a high expressivity and ease of modeling with a formal semantics. The Chi language is defined by means of an abstract and a concrete syntax. The purpose of the abstract syntax is to allow a straightforward definition of the structured operational semantics (SOS), which associates a hybrid transition system with a Chi process. The Chi Semantics is compositional, and bisimulation is a congruence for all operators. The concrete syntax offers modeling equivalents for the elements of the abstract syntax, and it introduces new syntax to ensure better readability and easier modeling. The meaning of the concrete syntax is defined by means of a mapping to the abstract syntax. The Chi language provides among others discrete, continuous, and algebraic variables, and equation process terms for modeling differential algebraic equations (DAEs), including fully implicit or switched DAEs. Steady state initialization can be specified, and higher index DAEs in Chi are equivalent to the corresponding index 1 DAEs, obtained after differentiation of the hidden constraints. The invariant process term in Chi corresponds to invariants in hybrid automata The following operators are provided (among others): the parallel composition, alternative composition (choice), and sequential composition operators; and the recursion scope operator for modeling automata. The parallel composition operator allows shared variables, shared synchronizing and non-synchronizing action labels, and shared CSP channels for synchronous communication. Two main ways of expressing urgency are provided: First, action labels and channels can be declared as urgent. Delaying is possible only if, and for as long as no urgent actions are enabled. Synchronizing actions are enabled only when the guards of all participating actions in a parallel composition are enabled. Second, urgency can be defined locally by means of the time can progress (tcp) process term, which allows delays for as long as the tcp predicate is true. Scope operators are available for hierarchical modeling. They are used to declare local variables, local action labels, and local channels. Process definition and instantiation provide process re-use and encapsulation. Hybrid automata and networks of hybrid automata can easily be expressed in Chi. Since Chi is a process algebra, its operators can be arbitrarily combined, resulting in a high modeling flexibility.
[1]
Shouchuan Hu.
Differential equations with discontinuous right-hand sides☆
,
1991
.
[2]
Jos C. M. Baeten,et al.
Model-based Engineering of Embedded Systems Using the Hybrid Process Algebra Chi
,
2008,
Electron. Notes Theor. Comput. Sci..
[3]
Ka Lok Man,et al.
Relating Hybrid Chi to Other Formalisms
,
2007,
IFM Doctoral Symposium.
[4]
W. Marquardt,et al.
Structural analysis of differential-algebraic equation systems—theory and applications
,
1995
.
[5]
A. T. Hofkamp,et al.
Chi 1.0 reference manual
,
2008
.
[6]
Sven Erik Mattsson,et al.
Index Reduction in Differential-Algebraic Equations Using Dummy Derivatives
,
1993,
SIAM J. Sci. Comput..
[7]
Chris Verhoef,et al.
Concrete process algebra
,
1995,
LICS 1995.
[8]
V Victor Bos,et al.
Formal specification and analysis of industrial systems
,
2002
.
[9]
Gordon D. Plotkin,et al.
A structural approach to operational semantics
,
2004,
J. Log. Algebraic Methods Program..
[10]
Peter L. Lee,et al.
Dynamic Process Simulation
,
1990
.
[11]
Ka Lok Man,et al.
Formal specification and analysis of hybrid systems
,
2006
.
[12]
Jan Friso Groote,et al.
Notions of bisimulation and congruence formats for SOS with data
,
2005,
Inf. Comput..
[13]
C. A. R. Hoare,et al.
Communicating sequential processes
,
1978,
CACM.
[14]
David Park,et al.
Concurrency and Automata on Infinite Sequences
,
1981,
Theoretical Computer Science.
[15]
Robin Milner,et al.
A Calculus of Communicating Systems
,
1980,
Lecture Notes in Computer Science.
[16]
Michael W. Shields.
Hybrid Transition Systems
,
1997
.
[17]
Jos C. M. Baeten,et al.
Process Algebra
,
2007,
Handbook of Dynamic System Modeling.
[18]
Ka Lok Man,et al.
Syntax and consistent equation semantics of hybrid Chi
,
2006,
J. Log. Algebraic Methods Program..