The model shown in Table 6 has two locations, the parent location which is called and is a membrane, and the
location which is a compartment enclosed by the membrane (see Figure 77). In the definition of location
, the
is not declared as it defaults to compartment. The model contains two species
and
. Species
is originally located both in membrane
(
) and in compartment
(
). Species
is involved in the
reaction, which is a bidirectional transportation (
, <->) reaction representing the movement of species
from membrane
to compartment
and vice versa. The
reaction is described by mass-action kinetics (
), where
is a kinetic parameter that has been given the constant value of 0.01 (see section A.4 for more information on mass-action kinetics). Moreover, species
and
are involved in the
reaction, which takes plase in compartment
. The rate of
is governed by kinetic parameter
which has been given the constant value of 0.01. The rate of
also depends on the quantity of
available in compartment
(
). The quantity of species
that is produced is located in
, where
takes place.
In the species components definition, the general modifier operator (, (.)) is used for transportation as, while the levels of species
in the two locations change, the overall amount does not.
The Outline View of the model can be seen in Figure 79.
The Bio-PEPA syntax |
//The Bio-PEPA plugin syntax |
Locations: |
//Locations |
|
location child in main : size = 1; |
|
location main : size = 2, type = membrane; |
|
|
Parameter Definitions |
//Parameter Definitions |
|
r1 = 0.01; |
|
r2 = 0.01; |
|
|
//Variables for the species initial populations |
|
Am = 100; |
|
Ac = 100; |
|
B = 0; |
|
|
|
Functional Rates |
//Functional Rates |
|
tr = [fMA(r1)]; |
|
re = [ r2 * A@child]; |
|
|
Species Components |
//Species Components |
|
A = tr[main<->child] (.) A + re << A@child; |
|
B = re >>; |
|
|
Model Component |
//Model Component |
|
A@main[Am]<tr>A@child[Ac]<re>B@child[B] |