The semantics of a state-event statement is considered in a situation where one process changes the value of a variable, and another process executes a state-event statement - involving the same variable - at the same time-point. If the condition of the state-event statement is evaluated immediately, the shared variable may still have its old value. By means of an example model of a multi-section conveyor it is shown that immediate evaluation of state-event conditions is undesirable from a modelling point of view. The proposed semantics of the state-event statement is that the evaluation of the state-event condition is postponed until the other processes can no longer execute statements at the current time-point, and a new consistent state has been established. This semantics facilitates the development of correct models. The proposed semantics is analogous to the transition semantics in hybrid automata.
[1]
D. A. van Beek,et al.
LANGUAGES AND APPLICATIONS IN HYBRID MODELLING AND SIMULATION: POSITIONING OF CHI
,
2000
.
[2]
Michel A. Reniers,et al.
A process algebra based verification of a production system
,
1998,
Proceedings Second International Conference on Formal Engineering Methods (Cat.No.98EX241).
[3]
J. Rooda,et al.
SEMANTICS OF MODEL COMPOSITION IN HYBRID LANGUAGES
,
1998
.
[4]
Thomas A. Henzinger,et al.
The Algorithmic Analysis of Hybrid Systems
,
1995,
Theor. Comput. Sci..
[5]
Paul I. Barton,et al.
Modeling of combined discrete/continuous processes
,
1994
.
[6]
J. E. Rooda,et al.
Integrating continuous-time and discrete-event concepts in modelling and simulation of manufacturing machines
,
1997,
Simul. Pract. Theory.