<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>STATISTICAL MODEL CHECKING of CSMA/CA in WSNs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zohra Hmidi</string-name>
          <email>hmidi@yahoo.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Laid Kahloul</string-name>
          <email>2kahloul2006@yahoo.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Saber Benhazrallah</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cherifa Othmane</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LINFI Laboratory, Computer Science Departement, Biskra University</institution>
          ,
          <country country="DZ">Algeria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>CSMA/CA (carrier sense multiple access with collision avoidance) reminds the basic method used in MAC level protocol in WSNs (wireless sensors network). Several extensions were proposed to enhance this method and to deal with speci c problems in WSNs as energy consumption. The complexity of this method and its criticality motivate the formal speci cation and veri cation of its basic algorithms. In the current work, we opt for a stochastic formal model which provides more realism because it provides probabilistic aspect that often dominates several random events: collisions on the transmission medium, frame loss, loss of acknowledgements, possible disconnections, and loss of nodes. Hence, it is not enough to analyse qualitative properties where the answer will be yes or no, it is more appropriate to investigate whether certain properties are safe under particular constraints and with what probability; so that one seeks to evaluate the system and its probabilistic performance. Indeed, we model the protocol using probabilistic timed automata, a formalism in which both non-deterministic and probabilistic choice can be represented. Then a qualitative and quantitative veri cation of this protocol is made using the statistical model checking in the UPPAAL tool.</p>
      </abstract>
      <kwd-group>
        <kwd>WSNs</kwd>
        <kwd>CSMA/CA</kwd>
        <kwd>Statistical Model Checking</kwd>
        <kwd>Probabilistic Automata</kwd>
        <kwd>UPPAAL</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        A Wireless Sensor Network (WSN) is a distributed system of cooperating
devices that perform distributed monitoring applications in a physical environment
over a self-organised wireless network topology
        <xref ref-type="bibr" rid="ref13">(Intana et al. 2014)</xref>
        <xref ref-type="bibr" rid="ref8">(Hai 2015)</xref>
        .
Unlike traditional networks, a WSN has its own design and resource constraints.
Resource constraints include a limited amount of energy, short communication
range, low bandwidth, and limited processing and storage in each node. Design
constraints are application dependent, so that the WSN design is inherent to
the monitored environment
        <xref ref-type="bibr" rid="ref25">(Yick et al. 2008)</xref>
        . Maximizing the network lifetime
is a common objective of sensor network researchers. The MAC protocols have
gained a lot of importance in the last few years because of their in uence on
the lifetime of sensor nodes of WSN. Major source of energy waste in WSN is
basically the collision. When a transmitted packet is corrupted due to
interference, it has to be discarded and the follow on retransmissions increase energy
consumption. Although collisions cannot always be prevented, randomized
exponential backo rules are used in the retransmission scheme of CSMA/CA to
minimize the likelihood of repeated collisions
        <xref ref-type="bibr" rid="ref23">(Patil et al. 2013)</xref>
        .
      </p>
      <p>
        In this paper, we illustrate a modelling approach tailored to the automatic
veri cation of CSMA/CA protocol for wireless sensor networks. Speci cally, we
use probabilistic timed automata to model the protocol; we then describe how
model analysis can be performed through SMC (statistical model checking)
implemented in the UPPAAL tool version 1.4.19
        <xref ref-type="bibr" rid="ref2">(Uppaal 2016)</xref>
        .
      </p>
      <p>The remainder of this paper is organised as follows: In the next section, we
report related work, in Section 3, we introduce the syntax and the semantics of
probabilistic timed automata. Section 4 explains the modelling formalism used in
UPPAAL SMC and the model checking queries. In section 5, we give an informal
description of the CSMA-CA contention resolution protocol. Section 6 presents
the modelling approach, the probabilistic timed automata of the protocol and
the probabilistic model checking results. Finally, section 7 concludes this paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Works</title>
      <p>
        To improve the reliability of WSNs protocols, proposed approaches include:
simulation, testing and formal veri cation. Even if simulation and testing can be
used to check large scale networks and discover errors; they can never
guarantee the detection of all the bugs in a system. In
        <xref ref-type="bibr" rid="ref6">(Elleuch et al. 2011)</xref>
        , several
works which are based on simulation are discussed. Formal modelling and veri
cation are used to model the behaviour of a system and to prove its correctness.
There have been several attempts to verify communication protocols for wireless
networks.
      </p>
      <p>
        For modelling and veri cation the MAC level protocols, the work presented in
        <xref ref-type="bibr" rid="ref11">(Ho et al. 1996)</xref>
        is one of the rst works that studied the IEEE 802.11 CSMA/CA
protocol
        <xref ref-type="bibr" rid="ref12">(IEEE 802.11,1995)</xref>
        . The authors of
        <xref ref-type="bibr" rid="ref11">(Ho et al. 1996)</xref>
        used the basic
scheme of the protocol where the IFS (Inter-frame space) are introduced: "IFS,
Random backo , Data, IFS, ACK". In this work, the authors used Markov chains
to compute the "throughput" and the "average delay". They made also a
performance analysis of the protocol where hidden terminals are considered. Hidden
terminals problem occurs when some nodes could not sense a neighbour node
even if it is in its scope. They de ne a speci c probability that a station does
not hear another station. The paper showed the improvement in the throughput
and the reduction of the delay when the CA (collision avoidance) is exploited in
the protocol.
      </p>
      <p>
        In
        <xref ref-type="bibr" rid="ref18">(Kwiatkowska et al. 2002)</xref>
        , the authors presented a formal study of a
"twoway handshake" sub-protocol of the IEEE 802.11 standard. The authors studied
a case where the net is composed of two sending stations and two destination
stations. They made three hypothesis: (i) there is not an EIFS (Extended
Interframe Space) parameter, (ii) there is no timing synchronisation function where
a speci c station sends periodically short frames to synchronise the clocks of
all the stations, (iii) and nally, the retry limits is supposed to be in nite. In
their paper
        <xref ref-type="bibr" rid="ref18">(Kwiatkowska et al. 2002)</xref>
        , UPPAAL is used to make qualitative
veri cation of some properties, then the PRISM tool is exploited to make a
performance evaluation of the protocol. The PRISM tool can be used to give
answer to several questions as: "what is the probability that a station sends
correctly a packet within certain deadline". In another study on performance
analysis of IEEE 802.11 CSMA/CA protocol in Wireless LANs,
        <xref ref-type="bibr" rid="ref27">(Zhai et al.
2004)</xref>
        , the authors studied two metrics: the "throughput" and the "delay" at
various tra c loads. Basically, each station is seen as a queuing system with a
packets-arrival process and a service time distribution (here, the service time is
the MAC layer service time, which can be computed as the di erence between
the time a packet starts to contend for transmission and the time that the
packet either is acknowledged for correct reception by the intended receiver or
is dropped. Hence, dropping of packet is possible here). In order to study this
queuing system, they model the "exponential backo process" as a Markov Chain
(more exactly a semi-Markov chain, where the service time is considered as the
sojourn time in each state). Through this modelling, the authors computed a
probability distribution for the time service. As a conclusion, they demonstrated
that the exponential distribution is a good model for the MAC layer service
time. In
        <xref ref-type="bibr" rid="ref28">(Zhang et al. 2013)</xref>
        , the authors used stochastic timed automaton in
the study of WSNs protocols. As a case study, they considered the Timing-sync
Protocol for Sensor Networks (TPSNs)
        <xref ref-type="bibr" rid="ref7">(Ganeriwal et al. 2003)</xref>
        .
      </p>
      <p>
        The authors, of
        <xref ref-type="bibr" rid="ref7">(Ganeriwal et al. 2003)</xref>
        , used timed automata to describe
the protocol in an ideal context where no messages can be lost and no node
will be in fail. Based on this speci cation, the authors used UPPAAL to verify
some qualitative properties of the TPSNs protocol. Then, the authors enrich
this speci cation by introducing stochastic transitions, either to model losing of
messages or to model damaged nodes. In (Ajith et al. 2014), the authors applied
Model Driven Software Engineering (MDSE) to develop protocols dedicated to
Wireless Sensors Actuators Networks. The use of MDSE aims to produce, in
a short time, reliable protocols code. The authors used CPN (Coloured Petri
Nets) and CPN-tool
        <xref ref-type="bibr" rid="ref14">(Jensen et al. 2007)</xref>
        to realise a rst model of the protocol
then they exploit an extension of the PetriCode
        <xref ref-type="bibr" rid="ref24">(Simonsen et al. 2013)</xref>
        tool
to generate the code. This last approach can be used to produce the code for
WSN platforms (TinyOS
        <xref ref-type="bibr" rid="ref20">(Levis et al. 2005)</xref>
        ) or to produce scripts for simulators
(TOSSIM (Lewis et al. 2003), MiXiM (Kopke et al. 2008)).
      </p>
      <p>
        In
        <xref ref-type="bibr" rid="ref3">(Ballarini et al. 2006)</xref>
        a comparative analysis of the IEEE 802.11 protocol
for wireless ad-hoc network and the S-MAC protocol is developed. In this work,
DTMC (Discrete Time Markov Chain) models referring to a speci c three-hop
topology are developed with PRISM
        <xref ref-type="bibr" rid="ref1">(Prism 2016)</xref>
        . The authors have used the
PCTL (Probabilistic Computation Tree Logic) logic to express relevant
properties: probabilistic reachability, time-bounded probabilistic reachability and
expected reachability properties are veri ed. In
        <xref ref-type="bibr" rid="ref22">(Marta et al. 2002)</xref>
        , the authors
studied the DCF (Distributed Coordination Function) protocol, in a xed
network topology consisting of two sending stations and two destination stations,
using probabilistic timed automata. The probabilistic choice, in this work, is
presented in the randomized backo procedure. The authors in
        <xref ref-type="bibr" rid="ref22">(Marta et al.
2002)</xref>
        used PRISM to automatically verify the probability of a station delivering
a packet before a deadline.
      </p>
      <p>
        Finally,
        <xref ref-type="bibr" rid="ref9">(Hammal et al. 2014)</xref>
        proposed a new variant of the CSMA/CA with
DCF mode. In this variant, each station has to disconnect whenever its
signal-tonoise ratio is lower than a speci c threshold. Such disconnections are intended
to reduce the number of collisions and to improve the transmission rate. The
authors in
        <xref ref-type="bibr" rid="ref9">(Hammal et al. 2014)</xref>
        used the timed automata in UPPAAL and they
analysed some safety and liveness properties, such as the absence of a deadlock
and the successful termination of a transmission. However, the model checking
shows a peculiar case where the protocol could not guarantee the successful
transmission of packets. Furthermore, no upper bound exists for the required
delay to successfully transmit a packet, and no performance evaluation was done.
      </p>
      <p>
        In our work, we are interested to the qualitative/quantitative veri cation of
IEEE 802.11 MAC protocol in particular, the variant proposed in
        <xref ref-type="bibr" rid="ref9">(Hammal et
al. 2014)</xref>
        . We consider stochastic events that can occur during the execution
of the protocol. These stochastic events concern failures to access the medium,
collisions, messages lose, the choice made by a station to send or to receive,
etc. In order to handle these stochastic aspects, Probabilistic Timed Automata
are used as a modelling formalism and UPPAAL is exploited to check and to
evaluate the protocol.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Probabilistic timed automata</title>
      <p>
        Probabilistic timed automata
        <xref ref-type="bibr" rid="ref19">(Kwiatkowska et al. 2001)</xref>
        are a modelling
formalism for distributed systems that support dense time, non-determinism, and
probabilistic choice. They represent an extension of timed automata, for which
discrete probability distributions range over the edges of the control graph.
3.1
      </p>
      <sec id="sec-3-1">
        <title>Clocks and Zones</title>
        <p>Let X be a nite set of variables called clocks, ranging over the time domain T
2 f R,Ng of either non-negative real or natural numbers. A function v : X ! T
is referred to as a clock valuation. For any v and t 2 T , the clock valuation v t
denotes the time increment for v with t. Let Zones(X ) be the set of zones over
X , which are conjunctions of atomic constraints of the form x c for x 2 X ,
2 f ,=, g , and c 2 N. The clock valuation v satis es the zone , written
v C , if and only if resolves to true after substituting each clock x 2 X with
the corresponding clock value from v.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Syntax of probabilistic timed automata</title>
        <p>A probabilistic timed automaton is a tuple (L,l,X , ,inv,prob) where:
{ L is a nite set of locations;
{ l 2 L is the initial location;
{ X is a nite set of clocks;
{ is a nite set of events, such that u are urgent;
{ inv: L ! Zones(X ) is the invariant function associated for each location;
{ prob L Zones(X ) Dist(2X L) is the probabilistic transition
relation.Dist(2X L) denotes the couple: (probability intensity over the
transition, the target location).
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Semantics of probabilistic timed automata</title>
        <p>A state of a probabilistic timed automaton is a pair (l; v) where l 2 L and
v 2 TjX j are such that v C inv(l) (i.e. v satis es inv(l)). The model starts
in the initial location l with all clocks set to 0, and hence the initial state is
(l,0). In each location, there is a nondeterministic choice between two types
of transitions: Delay transitions which correspond to the elapsing of time in a
location. They are permitted as long as the invariant condition is satis ed and no
urgent transitions are enabled. Discrete transition correspond to the execution
of probabilistic transitions (l; g; ; p) 2 prob. If the current location l satis es the
clock constraint g and the current event is , then p(X; l0) is the probability of
resetting all clocks in X(X X )to 0 and moving to the location l0 .
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>SMC in the UPPAAL tool</title>
      <p>
        Statistical Model Checking (SMC)
        <xref ref-type="bibr" rid="ref16">(Koushik et al. 2004)</xref>
        is an innovative
approach proposed as an alternative to avoid the exhaustive exploration of the
state-space of the model. SMC is a simulation-based solution, which is less time
and memory intensive than classical model checking. The idea behind SMC is to
generate enough sample execution paths for the system and then to use the
statistical hypothesis testing to decide whether the system satis es the given property
or not. Using SMC, one can verify qualitative properties (as in classical
modelchecking) and make quantitative evaluation too. UPPAAL SMC
        <xref ref-type="bibr" rid="ref4">(David et al.
2015)</xref>
        is an extension of UPPAAL, proposed to represent systems via networks
of priced timed automata
        <xref ref-type="bibr" rid="ref5">(David et al. 2011)</xref>
        whose behaviours may depend on
both stochastic and non-linear dynamical features. Each component of the
system is described with an automaton whose clocks can evolve with various rates.
Such rates can be speci ed with, e.g., ordinary di erential equations.
4.1
      </p>
      <sec id="sec-4-1">
        <title>Modelling</title>
        <p>The modelling formalism of UPPAAL SMC is based on probabilistic timed
automata. The stochastic interpretation replaces the non-deterministic choices
between multiple enabled transitions by probabilistic choices (that may or may
not be user-de ned). The non-deterministic choices of time-delays are re ned by
probability distributions, which at the component level are given either uniform
distributions in cases with time-bounded delays or exponential distributions in
cases of unbounded delays.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Query Language</title>
        <p>
          UPPAAL SMC supports ve di erent analysis methods. Below we use N to
denote natural number, M to denote number of simulations, P to denote a
probability, and exp to denote an expression:
- Statistical evaluation
          <xref ref-type="bibr" rid="ref10">(Herault et al. 2004)</xref>
          : SMC estimates the probability
of the state property being satis ed, using the following query:
        </p>
        <p>
          P r[&lt;= N ](" &lt;&gt; j[]"exp)
- Hypothesis testing
          <xref ref-type="bibr" rid="ref26">(Younes 2005)</xref>
          : SMC checks if the property is satis ed
within a certain probability, using the following query:
        </p>
        <p>P r[&lt;= N ](" &lt;&gt; j[]"exp)" &lt;= j &gt;= "P
- Statistical comparison: SMC compares the satisfaction possibilities over two
properties, using the following query:</p>
        <p>P r[&lt;= N 1](" &lt;&gt; j[]"exp1)" &lt;= j &gt;= "P r[&lt;= N 2](" &lt;&gt; j[]"exp2)
- Expected value: SMC computes the maximal or the minimal value of a
certain variable while checking the system, using the following query:
- Simulations: SMC simulates a system multiple times and computes
trajectories of speci ed expressions over time, using the following query:
E[&lt;= N ; M ]("minjmax" : exp)
simulate M [&lt;= N ]fexp1; exp2g
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>The Contention Resolution Protocol CSMA-CA</title>
      <p>After having presented the necessary formalisms, in the above paragraphs, the
current section aims to present informally the protocol IEEE 802.11 which will
be our case study.</p>
      <p>
        The primary MAC scheme of the standard IEEE 802.11 is called Distributed
Coordination Function (DCF)
        <xref ref-type="bibr" rid="ref3">(Ballarini et al. 2006)</xref>
        . It describes a decentralised
mechanism which allows network stations to coordinate for the use of a medium
in an attempt to avoid collision. Three time periods are considered: the DCF
InterFrame Space (DIFS), the Short InterFrame Space (SIFS) and the Extended
InterFrame Space (EIFS), where SIF S &lt; DIF S &lt; EIF S. A station can start
a transmission of data packets only after sensing the medium free for a DIFS.
On reception of a data packet, the destination station, after sensing the channel
free for SIFS, sends an acknowledgement packet (ACK) back to the sender. A
collision is recognised by the sending station if either: on termination of the
transmission the channel is sensed occupied by another station, or if an ACK
packet is not received within a given time. In order to avoid collisions, the MAC
protocol obliges the stations to enter in backo stage before sending if either
        <xref ref-type="bibr" rid="ref22">(Marta et al. 2002)</xref>
        :
- the channel is not sensed idle for a DIFS;
- the channel is sensed busy after the station nishes a data transmission;
- a positive acknowledgement of successful transmission is not received from
the destination station before a timeout;
- the station receives an acknowledgement and wishes to send another packet.
      </p>
      <p>As soon as a backo condition becomes true, the deferring station selects a
Backo Time composed of a random number backo value of slot times, where
each slot has size SlotT ime. This value indicates the number of time periods
which must be passed before the station can start transmitting. If the channel
is detected idle for a some SlotT ime, the backo value is decremented by 1. This
decrementing procedure is temporarily suspended if a transmission is detected
(the reduction of backo value is frozen) and is resumed only after the channel
is sensed free for DIFS time units. When the backo value reaches 0, the station
can start its transmission. The value of backo value is a pseudo-random integer
drawn from a uniform distribution over the interval [0, CW ], where CW is
the Contention Window which has initial value CW min and takes values of
ascending powers of 2 minus 1. Thus CW = (CW min + 1) 2bc 1 where
bc (the Backo Counter ) increases with the number of consecutive unsuccessful
transmissions. Note that the likelihood of a longer backo delay for repeatedly
detected collisions (where bc is large) is increased. The value of CW has an upper
bound of CW max. Once this value has been reached, CW will remain at this
value until it is reset.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Modelling using UPPAAL</title>
      <p>In this section, we present the formal model of the studied protocol. The model
is composed, basically, of three synchronised PTA (Probabilistic Timed
Automata): Wireless station (WS) model, Backo model, and Medium Model. In
the following, we present only the WS model and the Medium model.
6.1</p>
      <sec id="sec-6-1">
        <title>Model of wireless station and wireless medium</title>
        <p>
          When analysing the model presented in the previous work
          <xref ref-type="bibr" rid="ref9">(Hammal et al. 2014)</xref>
          ,
we have found several cases where the transmission operation fails forever. These
fails do not re ect real anomalies in the studied protocol, but they are due to
the modelling process:
1. A station may have f ail as a response of the medium forever. In the model of
the station, there is no mechanism that allows it to get out of this particular
case. The station can only retry continuously sending the PDU, and the
medium continues to meet fail. This is an unrealistic case, but the model
proposed may make it a possible case in the protocol. Indeed, this way of
simulating the fail causes the random simulations made by UPPAAL enter
in in nite loops choosing each time a transition fail.
2. A station can get in nitely in a loop (Disconnected,idle Connected) without
advancing the protocol. Another unrealistic behaviour but a possible path
in the model.
3. From the idle state, there are three possible transitions, one towards the
Disconnected state, the second towards the W aitingU ntilT ransmit state,
and the third towards the af ter begin receiveP DU state, but this last one
is not possible unless there is a synchronization (with the medium).
Following this modelling, the station can always take the transition towards
W aitingU ntilT ransmit and never take the third one; this leads to a
deadlock problem that will be explained in the next fourth point.
4. When the station st wants to send a PDU to the station st0, along st0
wants to send a PDU. Both stations are leaving their states Idle to the
state W aitingU ntilT ransmit. The two stations can not return to their Idle
states before the end of their transmissions. However, terminating the
transmission of the st PDU requires receiving an ACK from st0. The latter can
never send this ACK, because it can never return to its Idle state, for several
reasons (including those described in 1 and 2 as examples).
        </p>
        <p>The resolution of these de ciencies can be made in several ways. Indeed,
solving the problems mentioned in 1, 2 and 3 can be achieved by making the
model more realistic by introducing stochastic factors to reduce unrealistic
nondeterminism in the model. Disconnections, failures and collisions must happen
with probabilities (rare events under normal conditions). We can also assign
two di erent probabilities for a station, one for transmitting and one for
receiving. This allows for a more realistic model. However, the problem cited
in the fourth point requires the updating of the model structure in order to
avoid this deadlock. Hence, the station st can return to its Idle state from the
W aitingU ntilT ransmit state after passing a time limit without having access
to the medium. Indeed, if st returns to its Idle state it will unlock other stations
waiting its ACK.</p>
        <p>The following gures (Figures 1 and 2) show the probabilistic models
after consideration of probabilities on some transitions (fail in the model of the
medium and disconnected, transmitted and received in the model of the station).
In these models, we have associated a probability of 1/10 for a fail event and a
probability of 2/10 for a disconnect event. For the transmission and reception
we will discuss the di erent values.
6.2</p>
      </sec>
      <sec id="sec-6-2">
        <title>Model veri cation</title>
        <p>The statistical model-checker associated with UPPAAL 4.1.19 required to make
all channels "broadcast channels" and to de ne the probability laws governing
elapsing time for all locations with output transitions. In our model, we have
associated a rate = 1 for all locations without invariants on clocks. In this work,
we are interested to verify qualitative and quantitative properties using the
UPPAAL SMC.</p>
        <p>Fig. 1: Probabilistic model of wireless station
Veri cation of qualitative properties. Qualitative properties can be
classied into reachability, safety, liveness, and fairness.
- Reachability Properties: they are the simplest form of properties. They ask
whether a given state formula, , possibly can be satis ed by any reachable
state. We express that "a state satisfying " is reachable by the use of the
path formula, E &lt;&gt; . For example, the formula E &lt;&gt; ws0:W aitingF orAck
determines whether the protocol makes it possible for the sender ws0 to send
a message, and therefore it will pass to the "waiting acknowledgement" state.</p>
        <p>The gure 3.a below shows that this formula is satis ed.
- Safety Properties: they are of the form: " something bad will never
happen". For example, the formula A[]notdeadlock determines that the model
is deadlock-free. The gure 3.b shows that this formula is not satis ed (it
was discussed in Section 6.1 ).
- Liveness Properties: These properties are of the form:"Something will
eventually happen". In the model of the communication protocol, any message
that has been sent should eventually be received. In its simplest form, the
liveness is expressed using the path formula A &lt;&gt; , meaning that is
always eventually satis ed. For example, the station ws0 always reaches the
state where it will expect an ACK. The gure 3.c shows that the formula
A &lt;&gt; ws0:BRAck is not satis ed. This means that the station can pass into
collision paths and never reach this state.</p>
        <p>(a) Reachability Properties</p>
        <p>(b) Safety Properties
(c) Liveness Properties
Veri cation of quantitative properties. In this case, the question is to
estimate the probability that a certain property will be satis ed by the system
prior to the violation of some constraint. In other words, we are not interested
here in whether a station reaches a state or not, but to know with what rate
this station will reach this state. To check the model, we added to the model of
the station, a probability to be the sender and another to be the receiver. Here
after, we will show the results in two di erent cases:
- Both probabilities are equal: we assigned a probability of 4/10 for both
transitions, and we will make a set of queries as following:</p>
        <p>The query: P r[&lt;= 1000](&lt;&gt; ws0:W aitingF orAck), which allows to
know the probability that the station reaches a state where it has nished
its transmission and waits for an ACK before 1000 units of time during
the run of the protocol. Figure 4.a shows the response of UPPAAL to
this request.</p>
        <p>The query: P r[&lt;= 1200](&lt;&gt; ws0:BR Ack), which allows to know the
probability that the station reaches a state where it started receiving an
ACK before 1200 units of time during the run of the protocol. Figure
4.b shows the response of UPPAAL to this request.</p>
        <p>The query: P r[&lt;= 1000](&lt;&gt; ws0:Collision), which allows to know the
probability that the station reaches a collision state before 1000 units
of time during the run of the protocol. Figure 4.c shows the probability
interval.</p>
        <p>(a) sending PDU
(b) receiving ACK</p>
        <p>(c) collision
- The two probabilities are di erent: in the case of two stations, we assigned
to each one two di erent probabilities. For example, for station ws0, we
assigned a probability of 4/14 to be the receiver and a probability of 8/14 to
be the sender. Rather, for the station ws1, we assigned a probability of 4/8
to be the receiver and a probability of 2/8 to be the sender. We will presente
some queries to compare the results with the rst case. Figures 5.a, 5.b and</p>
        <p>(a) sending PDU
(b) receiving ACK</p>
        <p>(c) collision</p>
        <p>If we make a comparison, we will notice that the rates have changed
considerably. The rate of sending a pdu will be 66% instead of 51%, the rate of
receiving of an ACK will be 50% instead of 36% and nally the collision rate
will be 39% instead of 40%. Finally, 75% of sent packets are received correctly,
unfortunately, the collision rate remains high.</p>
        <p>It is also possible to plot the characteristic function of probability using the
tool UPPAAL, as shown in gure 6. Based on these charts, we see that the
probability of sending for ws0 is the largest, and the collision probability is the
smallest (of course, using the current parameters). In addition, the ws1 station
is less likely to perform the transmission rst.
7</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>Conclusion</title>
      <p>
        In this paper, we have described the use of statistical model checking to analyse
and evaluate the WSN MAC protocol. We have modelled stochastic uncertainties
which are quite common in WSN systems behaviour, like disconnections and
failures using probabilistic timed automata. Besides of checking the correctness
of the protocol, we have used statistical model checking, in the UPPAAL tool,
to evaluate the performance of the protocol numerically as well. In a rst step
of performance evaluation, we have detected that there is some anomalies in the
proposed model, inspired from the work
        <xref ref-type="bibr" rid="ref9">(Hammal et al 2014)</xref>
        . In a next work,
we plan to make more evaluation of the protocol model, to detect all anomalies
in the proposed model, to correct and update the model and then to make a
complete veri cation process.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Prism</surname>
          </string-name>
          . Available (seen in 2016) at: http://www.prismmodelchecker.org/
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Uppaal</surname>
          </string-name>
          . Available (seen in 2016) at: http://www.uppaal.org/
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Ballarini</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Model checking medium access control for sensor networks</article-title>
          .
          <source>In: Leveraging Applications of Formal Methods, Veri cation and Validation</source>
          ,
          <year>2006</year>
          .
          <article-title>ISoLA 2006</article-title>
          . Second International Symposium on. pp.
          <volume>255</volume>
          {
          <fpage>262</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>David</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Larsen</surname>
            ,
            <given-names>K.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Legay</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mikucionis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poulsen</surname>
            ,
            <given-names>D.B.</given-names>
          </string-name>
          :
          <article-title>Uppaal smc tutorial</article-title>
          .
          <source>International Journal on Software Tools for Technology Transfer</source>
          <volume>17</volume>
          (
          <issue>4</issue>
          ),
          <volume>397</volume>
          {
          <fpage>415</fpage>
          (
          <year>August 2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>David</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Larsen</surname>
            ,
            <given-names>K.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Legay</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mikucionis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poulsen</surname>
          </string-name>
          , D.B.,
          <string-name>
            <surname>Van Vliet</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          :
          <article-title>Statistical model checking for networks of priced timed automata</article-title>
          .
          <source>In: Formal Modeling and Analysis of Timed Systems</source>
          . p.
          <fpage>8096</fpage>
          . Springer Berlin Heidelberg (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Elleuch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tahar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abid</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Formal analysis of mac protocols for wsns: a review</article-title>
          .
          <source>Tech. rep. (May</source>
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Ganeriwal</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Srivastava</surname>
            ,
            <given-names>M.B.</given-names>
          </string-name>
          :
          <article-title>Timing-sync protocol for sensor networks</article-title>
          .
          <source>In: Proceedings of the 1st international conference on Embedded networked sensor systems</source>
          . pp.
          <volume>138</volume>
          {
          <issue>149</issue>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Hai</surname>
            ,
            <given-names>N.V.</given-names>
          </string-name>
          :
          <article-title>Formal veri cation of a distributed routing protocol for wireless sensor networks wire on a large scale (</article-title>
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Hammal</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ben-Othman</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mokdad</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abdelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Formal modeling and veri cation of an enhanced variant of the ieee 802</article-title>
          .11 csma/ca protocol.
          <source>Communications and networks 16(4)</source>
          ,
          <volume>385</volume>
          {
          <fpage>396</fpage>
          (
          <year>August 2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Herault</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lassaigne</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Magniette</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peyronnet</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Approximate probabilistic model checking</article-title>
          . In: International Workshop on Veri cation,
          <source>Model Checking, and Abstract Interpretation</source>
          . pp.
          <volume>73</volume>
          {
          <fpage>84</fpage>
          . Springer (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Ho</surname>
            ,
            <given-names>T.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>K.C.</given-names>
          </string-name>
          :
          <article-title>Performance analysis of ieee 802.11 csma/ca medium access control protocol</article-title>
          .
          <source>In: Proceedings of PIMRC 96 - 7th International Symposium on Personal, Indoor, and Mobile Communications</source>
          . vol.
          <volume>2</volume>
          , pp.
          <volume>407</volume>
          {
          <issue>411</issue>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>IEEE organisation: Wireless LAN Medium Access</surname>
          </string-name>
          <article-title>Control (MAC) and Physical Layer (PHY) Speci cations</article-title>
          .
          <source>(July</source>
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Intana</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poppleton</surname>
            ,
            <given-names>M.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Merrett</surname>
            ,
            <given-names>G.V.</given-names>
          </string-name>
          :
          <article-title>A formal co-simulation approach for wireless sensor network development</article-title>
          .
          <source>In: Proceedings of the 14th International Workshop on Automated Veri cation of Critical Systems (AVoCS</source>
          <year>2014</year>
          ). vol.
          <volume>70</volume>
          .
          <article-title>Electronic Communications of the EASST (</article-title>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kristensen</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wells</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Coloured petri nets and cpn tools for modelling and validation of concurrent systems</article-title>
          .
          <source>International Journal on Software Tools for Technology Transfer</source>
          <volume>9</volume>
          ,
          <issue>213</issue>
          {
          <fpage>254</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <article-title>Kopke,</article-title>
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Swigulski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Wessel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Willkomm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Haneveld</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.T.K.</given-names>
            ,
            <surname>Parker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.E.V.</given-names>
            ,
            <surname>Visser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.W.</given-names>
            ,
            <surname>Lichte</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.S.</given-names>
            ,
            <surname>Valentin</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          :
          <article-title>Simulating wireless and mobile networks in omnet++ the mixim vision</article-title>
          .
          <source>In: Proceedings of the 1st international conference on Simulation tools and techniques for communications, networks and systems &amp; workshops (Simutools)</source>
          . vol.
          <volume>71</volume>
          , p.
          <volume>18</volume>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Koushik</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mahesh</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gul</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Statistical model checking of black-box probabilistic systems</article-title>
          . In: Computer Aided Veri cation. pp.
          <volume>202</volume>
          {
          <fpage>215</fpage>
          . Springer (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simonsen</surname>
            ,
            <given-names>K.I.</given-names>
          </string-name>
          :
          <article-title>Towards a model-based development approach for wireless sensor-actuator network protocols</article-title>
          .
          <source>In: Proceedings of the 4th ACM SIGBED International Workshop on Design, Modeling</source>
          , and
          <article-title>Evaluation of Cyber-Physical Systems</article-title>
          . pp.
          <volume>35</volume>
          {
          <issue>39</issue>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>Kwiatkowska</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Norman</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sproston</surname>
            ,
            <given-names>J.: Process</given-names>
          </string-name>
          <string-name>
            <surname>Algebra</surname>
          </string-name>
          and
          <article-title>Probabilistic Methods: Performance Modeling and Veri cation</article-title>
          , vol.
          <volume>2399</volume>
          . Berlin, Heidelberg: Springer Berlin Heidelberg (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <surname>Kwiatkowska</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Norman</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sproston</surname>
          </string-name>
          , J.:
          <article-title>Symbolic computation of maximal probabilisti reachability</article-title>
          .
          <source>In: International Conference on Concurrency Theory</source>
          . pp.
          <volume>169</volume>
          {
          <fpage>183</fpage>
          . Springer (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <surname>Levis</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Madden</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polastre</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Szewczyk</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Whitehouse</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gay</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hill</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welsh</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brewer</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tinyos</surname>
            ,
            <given-names>D.C.</given-names>
          </string-name>
          :
          <article-title>An operating system for sensor networks</article-title>
          .
          <source>In: Ambient Intelligence</source>
          . p.
          <fpage>115148</fpage>
          . Springer Berlin Heidelberg (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          <string-name>
            <surname>Lewis</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          :
          <article-title>TOSSIM: A Simulator for TinyOS Networks</article-title>
          .
          <source>TinyOS documentation</source>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <surname>Marta</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gethin</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jeremy</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <source>Probabilistic Model Checking of the IEEE 802.11 Wireless Local Area Network Protocol</source>
          , vol.
          <volume>2399</volume>
          , chap.
          <source>Lecture Notes in Computer Science</source>
          , pp.
          <volume>169</volume>
          {
          <fpage>187</fpage>
          . Springer-Verlag Berlin Heidelberg (
          <year>July 2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <surname>Patil</surname>
            ,
            <given-names>U.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Modi</surname>
            ,
            <given-names>S.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suma</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>A survey: Mac layer protocol for wireless sensor networks</article-title>
          .
          <source>International Journal of Emerging Technology and Advanced Engineering</source>
          <volume>3</volume>
          (
          <issue>9</issue>
          ),
          <volume>203</volume>
          {211 (
          <year>September 2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <surname>Simonsen</surname>
            ,
            <given-names>K.I.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kristensen</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kindler</surname>
          </string-name>
          , E.:
          <article-title>Generating protocol software from cpn models annotated with pragmatics</article-title>
          .
          <source>In: In Formal Methods: Foundations and Applications</source>
          . vol.
          <volume>8195</volume>
          , pp.
          <volume>227</volume>
          {
          <fpage>242</fpage>
          . Springer Berlin Heidelberg (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <surname>Yick</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mukherjee</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghosal</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Wireless sensor network survey</article-title>
          .
          <source>Computer Networks</source>
          <volume>52</volume>
          (
          <issue>12</issue>
          ),
          <volume>2292</volume>
          {
          <fpage>2330</fpage>
          (
          <year>August 2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <string-name>
            <surname>Younes</surname>
            ,
            <given-names>H.L.</given-names>
          </string-name>
          :
          <article-title>Veri cation and planning for stochastic processes with asynchronous events</article-title>
          .
          <source>Tech. rep., DTIC Document</source>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <surname>Zhai</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kwon</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Performance analysis of ieee 802.11 mac protocols in wireless lans</article-title>
          .
          <source>In: Wirel. Commun. Mob. Comput</source>
          . vol.
          <volume>4</volume>
          (
          <year>December 2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bu</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <surname>X.</surname>
          </string-name>
          :
          <article-title>Modeling and evaluation of wireless sensor network protocols by stochastic timed automata</article-title>
          .
          <source>In: Electron. Notes Theor. Computer Science</source>
          . vol.
          <volume>296</volume>
          , pp.
          <volume>261</volume>
          {
          <issue>277</issue>
          (
          <year>August 2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>