XML File for MoBAN Configuration
This XML file provides the configuration options for the MOBAN model. The parameters that might be set in this file are as follows.
Initial posture of the WBAN optional
Initial position of the WBAN in the simulation areaoptional
Duration range for the postures(optional) A uniform random value is selected whenever a new stable posture is selected. If lower bound is equal to the upper
bound, the constant duration is always used. Note that the various length of different postures is implied in the Markov model which might be specified. This duration
determines the length of one state in the Markov Model.
A list of Markov transition matrices Any number of Markov transition matrices for posture selection can be separately defined. If no matrix is given,
a uniform random strategy is used for posture selection. If posture selection is done in the same way with no spatial or temporal correlation, just one matrix is
enough.
In the case that spatial or time correlation is required, several matrices can be defined among which one should have the Attribute 'type' with value "default".
The default matrix is firstly used for the positions or time instances that no specific matrix is set. Moreover, there is the possibility that a steady state is defined
instead of specifying the whole Markov transition matrix. In this case, MoBAN extract the closest Markov model to the default matrix which satisfies
the given steady vector. This is considered as a simpler way of assigning different posture patterns for different time and space domains.
Note that each markovMatrix in the input xml file should be either a square matrix with dimensions equal to the number of postures, or a vector with the
number of elements equal to the number of postures (steady state vector). It is clear that the default matrix cannot be a steady state vector and should be
a square matrix.
A unique name should be given to each matrix, which will be used for specifying the matrix for particular time or area domain.
A list of area types. It is necessary, if spatial correlation is required for posture selection. If so, any number of area type can be defined each with a unique name.
For each area type, a set of area boundaries can be set that determine the part of the simulation area that is of that area type. At the moment, just rectangular parts are supported.
A list of time domains. It is necessary, if temporal correlation is required for posture selection. If so, any number of time domains can be defined each with a unique name.
For each time domain, a set of time boundaries can be set that determine the time durations of the whole simulation run of that time domain.
A list of space nad/or time combinations. Using this tag in the XML file, we specify which matrix should be used for
each combination of the space and/or time. If in a combination, no time is specified, it means that it is the case for the whole simulation time. The
An XML schema shows the acceptable format of input XML file for posture specification. Download XML schema.
An example of xml file for posture specification is given here.