A.9 Syntax Example: Unidirectional Transportation, Modifier

\includegraphics[scale=0.5]{screenshots/screenshots/locations}
Figure 77: Locations of the model

The model shown in Table 5 has two locations, the parent location which is called $main$ and is a membrane, and the $child$ location which is a compartment enclosed by the membrane (see Figure 77). In the definition of location $child$, the $type$ is not declared as it defaults to compartment. The model contains two species $A$ and $B$. Species $A$ is originally located in membrane $main$ ($A@main$). Species $A$ is involved in the $\mathit{tr}$ reaction, which is a unidirectional transportation reaction ($\rightarrow $, ->) representing the movement of species $A$ from membrane $main$ to compartment $child$. It is governed by a kinetic parameter $r_{1}$, which controls the rate of the transportation. Parameter $r_{1}$ has been given the constant value of 0.01. The rate of $\mathit{tr}$ also depends on the quantity of $A$ available in $main$ ($A@main$). Moreover, species $A@child$ and $B$ are involved in the $\mathit{re}$ reaction, which takes plase in compartment $child$. The rate of $\mathit{re}$ is governed by kinetic parameter $r_{2}$ which has been given the constant value of 0.01. The rate of $\mathit{tr}$ also depends on the quantity of $A$ available in compartment $child$ ($A@child$). The quantity of species $B$ that is produced is located in $child$, where $\mathit{re}$ takes place.

As we can see, in the species components definition the general modifier operator ($\odot $, (.)) is used for transportation as, while the levels of species $A$ in the two locations change, the overall amount does not.

The Outline View of the model can be seen in Figure 78.

The Bio-PEPA syntax

//The Bio-PEPA plugin syntax

Locations:

//Locations

$L = [ child : 1 (nM)^{-1}, C;$

location child in main : size = 1;

$\; \; \; \;  \; \; \; \; main : 2 (nM)^{-1}, M;]$

location main : size = 2, type = membrane;

$ $

Parameter Definitions

//Parameter Definitions

$r_1 = 0.01;$

r1 = 0.01;

$r_2 = 0.01;$

r2 = 0.01;

$ $

 

//Variables for the species initial populations

 

Am = 100;

 

Ac = 0;

 

B = 0;

$ $

Functional Rates

//Functional Rates

$f_{tr} = [r_1 * A@main];$

tr = [r1 * A@main];

$f_{re} = [ r_2 * A@child];$

re = [ r2 * A@child];

$ $

Species Components

//Species Components

$A \rmdef (tr[main \rightarrow child], 1) \modifier A + (re, 1) \reactant A$

A = tr[main->child] (.) A + re << A@child;

$B \rmdef (re, 1) \product B $

B = re >>;

$ $

Model Component

//Model Component

$A@main[100] \sync{tr} A@child[0] \sync{re} B@child[0]$

A@main[Am]<tr>A@child[Ac]<re>B@child[B]

Table 5: Bio-PEPA mathematical syntax and Bio-PEPA Eclipse Plug-in syntax for the Unidirectional Transportation model
\includegraphics[scale=0.5]{screenshots/screenshots/unitranspoutline}
Figure 78: The Outline View of the Unidirectional Transportation model