Figure 9: Error State Food Observer Simulation Interface.
gent Fridge doesn’t function properly. The Alarm
function of the Fridge is strictly linked to its Food
process and the Alarm is raised only if the total num-
ber of consumed calories is strictly superior than the
maximum allowed; condition which doesn’t satisfy
the request that the Alarm is raised as soon as pos-
sible. The correction consists in raising the Alarm in
case the total number of consumed calories is equal
to the maximum allowed threshold. Once this error is
corrected the verification succeeds.
Figure 10: Model checking successful.
Fig. 10 shows the result of the model-checker on
the correct model.
7 CONCLUSIONS
We have modeled the structural and behavioral parts
of an AAL (Ambient Assisted Living) system. The
modeling is done using Rational Rhapsody 7.5.2 with
OMEGA2 profile which is used for specification and
verification of dynamic properties of models through
observers. Observers are special classes/blocks mon-
itoring run-time state and events. They are defined by
classes/blocks stereotyped with <<observer>>. For
the verification and simulation part, we have used
IFx which is a toolset used for the simulation of
OMEGA2 models and the verification of properties
defined on these models. We have verified two prop-
erties of the AAL system using the IFx toolset. At
first, the verification results in errors which can then
be simulated through the interactive simulation inter-
face of the IFx toolset in order to identify the source
of the error and then subsequently correct it in the
model. After correcting the error in the model, the
verification results in the fulfillment of all the two
properties.
The future work is centered around the use of
formal methods in the context of our integrated ap-
proach (Bruel et al., 2009). In (Ahmad et al., 2012),
we have investigated the use of goal oriented con-
cepts in combination with RELAX for modeling the
requirements of ambient systems. We have found a
link between RELAX and SYSML/KAOS (Gnaho and
Semmak, 2010), which is a goal oriented approach
based on KAOS and which extends the SYSML meta-
model with goal concepts. Based on that, we have
concluded that these two approaches are complemen-
tary with each other and RELAX can benefit from the
ContributionNature and ContributionType con-
cepts of SYSML/KAOS.
This work motivated us to take benefit from
the OMEGA2/IFx. In our integrated approach,
we are interested in RELAX-ed requirement which
we obtain by using the RELAX process. We
then refine the RELAX-ed requirement with the
ContributionType and ContributionNature con-
cepts of SYSML/KAOS, the reader is referred to (Ah-
mad et al., 2012) for an insight on our work on RE-
LAX and SYSML/KAOS. The RELAX requirement is
then verified by a test case and then the test case can
be refined by observer and then observer is allocated
to a state machine diagram. This whole sequence of
steps constitute our process.
REFERENCES
Ahmad, M., Bruel, J. M., Laleau, R., and Gnaho, C. (2012).
Using relax, sysml and kaos for ambient systems re-
quirements modeling. In The 3rd International Con-
ference on Ambient Systems, Networks and Technolo-
gies (ANT ’12). Elsevier Procedia Computer Science,
Volume 10, Pages 474 - 481.
Ahmad, M. and Dragomir, I. (2013). Ambient assisted liv-
ing system properties modeling and verification us-
ing omega2/ifx, internal report university of toulouse
france.
Apvrille, L., de Saqui-Sannes, P., and Khendek, F. (2006).
Turtle-p: a uml profile for the formal validation of crit-
ical and distributed systems. In Software and Systems
Modeling (SSM ’06). Springer, Volume 5, Issue 4, pp
449-466.
Benghazi, K., Hurtado, M. V., Rodr
´
ıguez, M. L., and
Noguera, M. (2009). Applying formal verification
techniques to ambient assisted living systems. In
OnTheMove Workshop (OTM ’09). Springer-Verlag
Berlin Heidelberg 2009.
Bornot, S. and Sifakis, J. (2000). An algebraic framework
for urgency. In Information and Computation (IC
’00). Elsevier, Volume 163, Issue 1, Pages 172202.
Bozga, M., Graf, S., Ober, I., Ober, I., and Sifakis, J.
(2004). The if toolset. In Formal Methods for the De-
sign of Real-Time Systems (FMDRTS ’04). Springer
Berlin/Heidelberg.
EarlyAnalysisofAmbientSystemsSYSMLPropertiesusingOMEGA2-IFx
153