09.08.2013 Views

Architecture Modeling - SPES 2020

Architecture Modeling - SPES 2020

Architecture Modeling - SPES 2020

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Pattern<br />

S9:<br />

failureCondition failureCondition is defined by: event does [not]<br />

occur [during interval | under condition condition]<br />

This pattern defines a failure condition by the occurrence (or absence) of an event during an interval<br />

or while a condition holds. Conditions and intervals can be used as described for the functional<br />

pattern.<br />

Natural Language Requirement:<br />

The failure “unintended inflation of airbag” happens if the crash signal gets emitted while<br />

both gravity sensors detect no crash.<br />

Pattern based RSL:<br />

failureCondition UnintendedInflationOfAirbag is defined by: crash<br />

does occur under condition (gravitySensor1.gnormal) gets violated<br />

Pattern<br />

S11:<br />

<strong>Architecture</strong> <strong>Modeling</strong><br />

failureCondition failureCondition is defined by: condition holds<br />

[longer|shorter] than timeunit<br />

This pattern defines a failure condition by the violation of interval a condition holds. Conditions can be<br />

written as described for the functional pattern.<br />

Natural Language Requirement:<br />

It is considered as a failure if the current of the engine control system is longer than 2 sec.<br />

above 2A.<br />

Pattern based RSL:<br />

failureCondition TooMuchEnergyConsumption is defined by:<br />

(consumption > 2) holds longer than 2s<br />

133/ 156

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

Saved successfully!

Ooh no, something went wrong!