Each location must encode an identifier, the parent location, the size of the location (), the type the location represents and the step-size (
) for the location [14].
The concrete syntax, as accepted by the plug-in is as follows (angular brackets (
) denote optional parts in the definition):
The keyword labels the purpose of this definition. The keyword must be proceeded by the
for this new location. If the model defines multiple locations, the spatial location can be specified by adding the keyword
and the
for the parent. The size is the only required property in the location definition (where
), while the type is optional as it defaults to
. The step-size (
) is only required if performing analysis of a Bio-PEPA model with levels (for more details see [11]). If no locations are defined the default location is used, which is a compartment labelled main with size equal to one [14]. As an example, in sections A.8 - A.10, in the Unidireactional and Bidirectional Transportation examples, there are two locations specified:
location main |
: |
size = 2, type = membrane; |
location child in main |
: |
size = 1; |
The first location is a membrane of size 2 with main and the second is a compartment with
child and size equal to 1. In the second definition, the
is not declared as it defaults to compartment.