31.01.2014 Views

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 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 11. openETCS Simulation<br />

The simulation itself is modelled by UML state charts [64] while the source code is generated by<br />

the RT-T<strong>es</strong>ter [72] application. The corr<strong>es</strong>ponding generation procedure is shown in Figure 11.2.<br />

libopenETCSPSMSIM is used to provide the nec<strong>es</strong>sary platform specific adaptations by the<br />

UML Case Tool<br />

State Machine XMI<br />

RT-T<strong>es</strong>ter<br />

Makefile<br />

Source Code<br />

make<br />

C++ Compiler (g++)<br />

libopenETCSPSMSIM<br />

Object Code<br />

Linker (ld)<br />

Simulation Binary<br />

(rtt-t<strong>es</strong>t-case)<br />

Figure 11.2.: Generators and artefacts for the simulation development<br />

corr<strong>es</strong>ponding D-Bus adaptors, which is explained in detail by the simulation deployment in<br />

Subsection 11.2.2.<br />

Both simulation state machin<strong>es</strong> are executed together in one thread and share memory for<br />

data exchange. The one modelling ETCS Mod<strong>es</strong> and Application Levels should be created<br />

directly from the ETCS specification [23].<br />

The idea is to proof the concept of the model based tool chain for openETCS by showing that<br />

a simulation repr<strong>es</strong>enting the ETCS specification for Mod<strong>es</strong> and transitions stimulating the<br />

EVC binary, which was generated by a model based on the ETCS specification, produc<strong>es</strong> the<br />

same trac<strong>es</strong> of mod<strong>es</strong> and transitions as the EVC binary. In other words, if a Mode transition<br />

within the generated binary is executed, this should be also found in the simulation and vice<br />

versa. The data flow of the trace generation is shown in Figure 11.3.<br />

11.2. Platform Specific Model for the Simulation<br />

According to Figure 8.15, the adaptations needed for simulation purpos<strong>es</strong> must be realised as a<br />

PSM for an openETCS CIM or rather PIM. The special requirements for this PSM for the<br />

simulation are defined in the following:<br />

Req.13: transparent integration into the existing openETCS domain framework<br />

212

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!