Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...
Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...
Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
7.7. Mathematical Model of the Dynamic Semantics<br />
The corr<strong>es</strong>ponding connection matrix C for Figure 7.15 must be defined as<br />
⎡<br />
⎤<br />
0 1 0 0<br />
C = ⎢ 0 0 1 0<br />
⎥<br />
⎣ 0 0 0 1 ⎦ (7.27)<br />
1 0 0 0<br />
Finally, the complete connection equation is determined by<br />
⎡ ⎤ ⎡<br />
⎤ ⎡ ⎤<br />
x 1,1,k 0 1 0 0 y 1,1,k<br />
⎢ x 1,2,k<br />
⎥<br />
⎣ x 1,3,k<br />
⎦ = ⎢ 0 0 1 0<br />
⎥ ⎢ y 2,1,k<br />
⎥<br />
⎣ 0 0 0 1 ⎦ ⎣ y 3,1,k<br />
⎦ (7.28)<br />
x 2,1,k 1 0 0 0 y 4,1,k<br />
⎡<br />
⎤ ⎡<br />
⎤<br />
0 1 0 0 x 1,1,k + x 1,2,k + x 1,3,k<br />
= ⎢ 0 0 1 0<br />
⎥ ⎢ s 2,1,k−1<br />
⎥<br />
⎣ 0 0 0 1 ⎦ ⎣ s 3,1,k−1<br />
⎦<br />
1 0 0 0<br />
s 4,1,k−1<br />
It must be remarked that the equations for each element of x k must be calculated in the<br />
or<strong>der</strong> of the elements from top to bottom. This was reasoned in Section 7.6. Thus, the element<br />
or<strong>der</strong> for x k cannot be chosen arbitrarily.<br />
No element x i,j,k may occur at the same time on the left and the right side of the equation to<br />
have meaningful equations for each element of x k . Corr<strong>es</strong>ponding to the openETCS model, this<br />
would be the case if an output of an object is directly connected with an own input. This could<br />
be, for example, Figure 7.15 without the “Value” object. From the view of the mathematical<br />
model, such connections are not possible and lead to undefined connection equations because<br />
for the calculation of an output is an input used that is not yet available. In the domain frame<br />
work, for each existing input is a certain default / initial value defined to allow such data<br />
flows anyway. However, the mathematical model sugg<strong>es</strong>ts that it is in any case better to use<br />
intermediate oVariableStorage objects as “Value” and to model the initial value implicitly. A<br />
virtual storage object has always to be inserted to define connections between input and output<br />
in the mathematical model.<br />
7.7.2. State Machin<strong>es</strong><br />
The state machine typ<strong>es</strong> used in the openETCS meta model do not provide any direct outputs<br />
and accordingly can be called transition systems. Generally, such a transition system T is a<br />
tuple of a set of stat<strong>es</strong> S, an initial state s 0 , inputs alphabet Σ, a transition function δ, and a<br />
set of final stat<strong>es</strong> F :<br />
T = (S, s 0 , Σ, δ, F ) (7.29)<br />
with<br />
s 0 ∈ S ≡ {s h ; h = 1, 2, 3, . . . , n s } (7.30)<br />
F ⊂ {∅} ∪ S (7.31)<br />
δ : S × Σ → S (7.32)<br />
115