we ensure the reusability and the traceability of re-
quirements. During the simulation of our system, we
adopted a random scenario of execution. The number
of vehicles on each lane will be randomly generated
every five seconds. After these steps, we specified a
simulation time which must be greater than the WSN
desired lifetime in the order to analyze all the criti-
cal durations of time (minimal WSN lifetime). Oth-
erwise, after ”19.22” hours of the simulation, the re-
quirement that expresses the WSN desired lifetime is
violated.
6 CONCLUSIONS AND FUTURE
WORKS
This work illustrates an approach to design and to ver-
ify the WSN energy consumption property using the
MDA standard. This approach combines the bene-
fits of the SysML and the Modelica languages. We
proposed a model transformation from the SysML
model to the Modelica model taking into account the
static diagrams, dynamic diagrams and also the re-
quirement diagram of the SysML in order to spec-
ify the matching Modelica model. In addition, we
have done virtual verification and requirement trac-
ing. These operations are allowed by the mapping
between the SysML requirements and the Modelica
properties (constraints). We also indicate that our
methodology is implemented in the TopCased envi-
ronment.
The next phase of this work is to introduce sequence
and activity diagrams in the action descriptions of the
state machine. The purpose of this step is to pro-
vide opportunities for designers who do not master
the Modelica programming to work with our Frame-
work. Furthermore, we intend to validate our model
transformation from SysML to Modelica by unit test-
ing and/or formal proofs.
ACKNOWLEDGEMENTS
We would like to acknowledge the support of the Re-
gional Council of Franche-Comt´e with the SyVad
1
project.
REFERENCES
AP2 (2012). http://ap233.eurostep.com.
1
(http://syvad.univ-fcomte.fr)
Cheong, E., Lee, E. A., and Zhao, Y. (2006). ‘Joint
Modeling and Design of Wireless Networks and Sen-
sor Node Software. Technical Report UCB/EECS-
2006-150, EECS Department, University of Califor-
nia, Berkeley.
Fritzson, P. and Bunus, P. (2002). ‘Modelica-A Gen-
eral Object-Oriented Language for Continuous and
Discrete-Event System Modeling and Simulation.
Simulation Symposium, Annual, pages 0–365.
Halgamuge, M. N., Zukerman, M., Ramamohanarao, K.,
and Vu, H. L. (2009). ‘An Estimation of Sensor En-
ergy Consumption. Progress In Electromagnetics Re-
search B (PIERB), 12:259–295.
INCOSE (2012). http://www.incose.org.
Modelica (2009). Modelica Standard Library 3.1. http://
www.modelica.org/libraries/Modelica/.
Mozumdar, M. M. R., Gregoretti, F., Lavagno, L., Vanzago,
L., and Olivieri, S. (2008). A Framework for Mod-
eling, Simulation and Automatic Code Generation of
Sensor Network Application. In SECON, pages 515–
522.
Paredis, C. J., Bernard, Y., Burkhart, R. M., de Koning,
H.-P., Friedenthal, S., Fritzson, P., Rouquette, N. F.,
and Schamai, W. (2010). An Overview of the Sysml-
Modelica Transformation Specification. In 2010 IN-
COSE International Symposium.
Paredis, C. J. J. and Johnson, T. (2008). Using OMG’s
SysML to support simulation. In Proceedings of the
40th Conference on Winter Simulation, WSC ’08,
pages 2350–2352. Winter Simulation Conference.
S. Villa, D. Serna, J. A. (2011). Systemc Code Generation
from UML for Wireless Sensor Networks Design. In
International conference on modeling, simulation and
visualization methods, MSV ’11, pages 53–60.
Schamai, W., Helle, P., Fritzson, P., and Paredis, C. J. J.
(2011). Virtual Verification of System Designs against
system Requirements. In Proceedings of the 2010 in-
ternational conference on Models in software engi-
neering, MODELS’10, pages 75–89, Berlin, Heidel-
berg. Springer-Verlag.
SysML1.3 (2012). http://www.omg.org/spec/SysML/1.3/.
SysMLToModelica (2012). SysML-Modelica transforma-
tion(SyM) specification. http://www.omg.org/SyM/
1.0/.
UML2.4 (2011). http://www.omg.org/spec/UML/2.4.1/ In-
frastructure.
CombiningSysMLandModelicatoVerifytheWirelessSensorNetworksEnergyConsumption
201