Architecture Modeling - SPES 2020
Architecture Modeling - SPES 2020
Architecture Modeling - SPES 2020
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Architecture</strong> <strong>Modeling</strong><br />
Figure 5.14: Example for proving Allocation by Virtual Integration Test<br />
the ports meterControl and meterValveStatus of the logical perspective are mapped<br />
to the ports meterValve and valveStatus of the technical perspective. The components<br />
of the technical perspective have a satisfy-link to the contracts C2.1-T1, C2.1-T2, C2.1-T3 and<br />
C2.1.2-T3 where C2.1-T1 is relevant for MeterValveControl, C2.1-T2 for Channel and<br />
both C2.1-T3 and C2.1.2-T3 for MeterValveActuator. The composition of these four<br />
contracts has an entailment link to the contract C2.1 of the logical perspective that has to be<br />
ensured.<br />
To prove an allocation-link a virtual integration test may be performed as introduced in Section<br />
4.2 consisting of the two steps of assuring compatibility and refinement.<br />
Compatibility For the scenario from Figure 5.14, we start with the validation of the compatibility<br />
of the three neighbouring components in the technical perspective or, to be more precise,<br />
the compatibility of their annotated contracts. For this, we have to analyze their strong assumptions<br />
and guarantees. Note, that the weak asspumptions do not constrain the compatibility of<br />
systems. In this example, the second part of the guarantee of C2.1-T1 is compatible to the<br />
second part of the strong assumption of C2.1-T2. The same holds for C2.1-T2 and C2.1-T3.<br />
Further, in this example the assumption parts about the temperature do not influence the validity<br />
of the composition of these three components because they are parts of interfaces to other<br />
components.<br />
Refinement As a further step, the entailment-link between the contract on the logical perspective<br />
and the composition of the four contracts on the technical perspective has to be proven<br />
to be a valid refinement. Checking the refinement for this example results in a falsification,<br />
as the strong assumptions of the contracts C2.1-T2 and C2.1-T3 are stronger than the parent<br />
contract C2.1. To be more precise, the assumptions about the temperature cannot be assured<br />
by C2.1. To solve this situation there are at least two possible scenarios. One solution would<br />
83/ 156