A Software Tool For Federated Simulation of Wireless Sensor Networks and Mobile Ad Hoc Networks
A Software Tool For Federated Simulation of Wireless Sensor Networks and Mobile Ad Hoc Networks
A Software Tool For Federated Simulation of Wireless Sensor Networks and Mobile Ad Hoc Networks
1 Introduction
The ad hoc networking is a relatively new area of research that has become
extremely popular over the last decade and is rapidly increasing its advance into
different areas of technology. Two types of such networks can be distinguished:
Wireless Sensor Networks (WSNs) and Mobile Ad hoc Networks (MANETs).
Typical WSN consists of a large number of homogenous, stationary nodes, i.e.,
densely deployed sensor devices. Nodes networked through wireless must gather
local data and communicate with other nodes. MANET is formed through the
cooperation of an arbitrary set of independent nodes, i.e., mobile, heterogeneous
wireless devices. The nodes are free to move randomly and organize themselves.
The network’s wireless topology may change rapidly and unpredictably. There
is no prearrangement assumption about specific role each node should perform.
It makes its decision independently, based on the situation in the domain and
its knowledge about the network.
K. Jónasson (Ed.): PARA 2010, Part I, LNCS 7133, pp. 303–313, 2012.
c Springer-Verlag Berlin Heidelberg 2012
304 E. Niewiadomska-Szynkiewicz and A. Sikora
Ad hoc architecture has many benefits, however its flexibility come at a price.
Currently research effort is directed toward the specifics and constraints in ad
hoc networking, such as: limited transmission range, limited link bandwidth and
quality of transmission, constrained resources, mobility and multihop nature of
the network [1,3,17]. Design, development and evaluation of such networks are
non-trivial task. The complexity and scale of modern networks limit the applica-
bility of purely analytic approaches. In this paper, we discuss some guidelines re-
lated to wireless ad hoc networks modeling and simulation. We model WSN and
MANET simulators using discrete event systems methodology (DEVS) [2,18],
and address the challenges to design high-performance simulation of these sys-
tems. Next, we describe the integrated software framework MobASim for simu-
lation of ad hoc networks.
Java virtual machine. It should be pointed that most of presented open source
simulators are now professional tools that compete with commercial software.
consider signal strength. Many commonly used simulators do not model disloca-
tions of nodes (TOSSIM) or provide simple mobility models (ns-2, OPNET, Glo-
MoSim, QualNet, Castalia project in OMNeT++ : castalia.npc.nicta.com.au).
Usually they have only implemented a mobility pattern model – the user just
describes the destination point of a line segment (Castalia), and simple random
mobility models (NCTUns). The other reason for developing a new simulator
was the complicated architecture of available tools and limitations in results vi-
sualization and user-system interaction. In case of OPNET, OMNeT++ or ns-2
systems a user must read a large number of manuals to learn how to use the
tool. The source coding is usually specialized for a given simulator and it is not
easy to implement a given application and extend the system with the mod-
ules developed by the user (TOSSIM, OPNET, ns-2). Hence, we have decided
to build an open expandable, flexible and scalable simulator that can be used
for real-time simulation of self-organizing MANET and WSN. The focus was on
reliable signal propagation, nodes’ motion modeling and advanced programming
interface. We plan to use our tool to ad hoc networks design and on-line decision
support in operational management in real life applications (i.e., self-organizing
network for monitoring, design and support in rescue actions, etc.).
which leads to measure signals that are different than the average value cal-
culated by the long-distance model. In these models path loss is modeled as a
random variable with log-normal distribution.
The MobASim system provides the library of classes implementing the IEEE
802.15.4 standard for wireless communication. We have implemented physical
and MAC (Medium Access Control) layer protocols according to the specifica-
tion drawn up by the IEEE Computer Society, network and application layers
protocols according to the specification drawn up by ZigBee Standard Organi-
zation. The user can select one of three types of MAC protocols.
Modeling of node mobility plays the crucial role in MobASim. The real-life
movement patterns are very difficult to obtain, realistic models are usually very
complicated. Many mobility models have been introduced. The detailed survey
of these models is presented in [13]. In current version of MobASim each process
from the group MM implements one of the following models for mobility pattern
generation:
– The user describes the destination point of a line segment.
– The random waypoint model (two variants), i.e., random mobility model
with randomly generated destination point and velocity.
– The map-based model that is used for applications in which nodes are con-
strained to move within defined paths.
– Our novel model named PFM (Potential Function Model) that combines the
idea of potential function and particle-based mobility modeling. It calculates
a collision-free movement at a group of mobile devices, and is dedicated to
self-organizing network modeling.
In all mobility provided in MobASim the obstacles are included. The obsta-
cles are generated by the user or are loaded from a real map. It is assumed
that wireless signal is obstructed by the obstacles, too. All models utilize DEVS
methodology. The state of each mobile node is described by four variables: lo-
cation within the deployment region, orientation, velocity, and energy stored in
the node. It is possible to combine various mobility models in one simulator, i.e.,
the model of mobility can switch w.r.t. the current state of the node.
308 E. Niewiadomska-Szynkiewicz and A. Sikora
The system consists of two sets of components: MobASim Simulator and Mod-
eler, Fig. 2. The MobASim Modeler provides tools that allow to create the model
of the system to be simulated. The model can be generated using the MobASim
graphical editor or can be read from an XML file. The bidirectional interface to
XML file that uses ASimML language – XML Schema specification for building
XML file with description of parameterized system model is provided. A user
can perform various operations during the experiment, i.e., configure the net-
work system and manage the simulation. Hence, the MobASim Modeler consists
of the following set of components implementing models and standards presented
in section 3.1: communication models library – a collection of classes implement-
ing models of wireless transmission, wireless communication standards library –
a collection of classes implementing wireless communication standards, mobility
models library – a collection of classes implementing mobility models, GUI – the
graphical interface responsible for user-system interaction, MobASim database
that stores all geographical information – a map of a deployment area, and all
network nodes’ positions.
logical processes, events, event lists, messages passing, etc., runtime infrastruc-
ture – the library of classes that provide communication between the processes
and machines, synchronization protocols library – a collection of classes imple-
menting synchronization protocols reported in the next section.
4 Simulation Results
5 Conclusions
We described the MobASim software platform for ad hoc networks modeling and
simulation. MobASim can support researches and engineers in network design,
research, and network education. The system offers many unique advantages that
can not be easily achieved by commercial and common open source simulators.
MobASim is easy to use, and is especially useful in large scale applications in
which the speed of simulation is of essence, such as real time mobility ad hoc
network simulation. The federated approach to parallel simulation of networks,
A Software Tool for Federated Simulation of WSN and MANET Networks 313
provided functionality, easy usage and its extensibility to include other open
source modules or modules developed by a user, make our tool different from
the popular software systems for simulation. We plan to release our system for
research and education.
References
1. Aggelou, G.: Mobile Ad Hoc Networs. From Wireless LANs to 4G Networks.
McGraw-Hill, USA (2005)
2. Banks, J., Carson, J.S., Nelson, B.L., Nicol, D.M.: Discrete-Event System Simula-
tion, 5th edn. Pearson Education (2010)
3. Basagni, S., Conti, M., Giordano, S., Stojmenovic, I.: Mobile Ad Hoc Networking.
Wiley-Interscience, IEEE Press (2004)
4. Caro, G.D.: Analysis of Simulation Environments for Mobile Ad Hoc Networks.
Technical Report No IDSIA-24-03, IDSIA, Switzerland (2003)
5. Ferenci, S.L., Perumalla, K.S., Fujimoto, R.M.: An approach for federating paral-
lel simulators. In: Proceedings of the 14th Workshop on Parallel and Distributed
Simulation (PADS 2000), pp. 63–70 (2000)
6. Forouzan, B.: Data Communications and Networking. McGraw-Hill (2004)
7. Hogie, L., Bouvry, P., Guinand, F.: An Overview of MANETs Simulation. In:
Proc. of 1st Inter. Workshop on Methods and Tools for Coordinating Concurrent,
Distributed and Mobile Systems, pp. 81–101 (2005)
8. Kasch, W.T., Ward, J.R., Andrusenko, J.: Wireless Network Modeling and Sim-
ulation Tools for Designers and Developers. IEEE Communications Magazine 46,
120–127 (2008)
9. Mehta, S., Ullah, N., Kabir, H., Sultana, N., Kwak, K.S.: A Case Study of Networks
Simulation Tools for Wireless Networks. In: Proc. of the 3rd Asia International
Conference on Modelling & Simulation, pp. 661–666 (2009)
10. Misra, J.: Distributed Discrete-Event Simulation. Computing Surveys 18 (1986)
11. Nicol, D.M., Fujimoto, R.: Parallel Simulation Today. Annals of Operations Re-
search 53, 249–285 (1994)
12. Perrone, L.F., Yuan, Y., Nicol, D.M.: Simulation of large scale networks: Modeling
and simulation best practises for wireless ad hoc networks. In: Proceedings of the
35th Winter Simulation Conference, pp. 685–693 (2003)
13. Roy, R.R.: Hanbook of Mobile Ad Hoc Networks for Mobility Models. Springer,
USA (2010)
14. Sikora, A., Niewiadomska-Szynkiewicz, E.: A Federated Approach to Parallel and
Distributed Simulation of Complex Systems. International Journal of Applied
Mathematics and Computer Science 17, 99–106 (2007)
15. Singh, C.P., Vyas, O.P., Tiwari, M.K.: A Survey of Simulation in Sensor Networks.
In: Proceedings of the Inter. Conf. Computational Intelligence for Modelling Con-
trol and Automation, pp. 867–872 (2009)
16. Socol, L.M., Briscoe, D.P., Wieland, A.P.: Mtw: a strategy for scheduling discrete
simulation events for concurrent execution. In: Proceedings of the SCS Multicon-
ference on Distributed Simulation, pp. 34–42 (1988)
17. Verdone, R., Dardari, D., Mazzini, G., Conti, A.: Wireless Sensors and Actuator
Networks. Technologies, Analisis and Design. Elsevier (2008)
18. Zeigler, B.P., Praehofer, H., Kim, T.G.: Theory of Modeling and Simulation. Aca-
demic Press (2000)