<!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>Discrete-Time Leap Method for Stochastic Simulation</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Brandenburg University of Technology Cottbus-Senftenberg, Chair of Data Structures and Software Dependability</institution>
          ,
          <addr-line>Postbox 10 13 44, D-03013 Cottbus</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>362</fpage>
      <lpage>376</lpage>
      <abstract>
        <p>In this paper, we present an approach to improve the efficiency of stochastic simulation for large and dense networks. We are using stochastic Petri nets as modelling framework. The underlying continuoustime Markov chain (CTMC) is converted to an equivalent discrete-time Markov chain (DTMC), this itself gains no efficiency. We improve the efficiency via discrete-time leaps, even though this results in an approximate method. The discrete-time leaps are done by applying the maximum firing rule, this reduces drastically the number of steps. The presented algorithm is implemented in our modelling and simulation tool Snoopy, as well as in our advanced analysis and model checking tool MARCIE. We demonstrate the approach on models of different sizes and complexities.</p>
      </abstract>
      <kwd-group>
        <kwd>discrete-time leap method</kwd>
        <kwd>stochastic Petri net</kwd>
        <kwd>approximate stochastic simulation</kwd>
        <kwd>maximum firing rule</kwd>
        <kwd>binomial distribution</kwd>
        <kwd>weighted random shuffle</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Throughout the past decades typical biological models increased in their size and
complexity, because of advances in systems and molecular biology, in particular
through the high-throughput omic technologies. This progress gained momentum
for the arise of multi-scale modelling [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Furthermore, Smallbone and Mendes
raised issues of large-scale metabolic models that simulation methods have to take
care of [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]: “. . . the inherent stiffness of genome-scale models. Since cells need to
produce some metabolites (such as ATP) at a much higher rate than others (such
as zymosterol), metabolic processes will necessarily be taking place at different
timescales. As such, systems biology tools are needed that can robustly simulate
models of this size and with these numerical instabilities.” This all together
demands for faster and more efficient simulation algorithms, even at the expense
of greater approximation.
      </p>
      <p>We present an approach to improve the efficiency of stochastic simulation
for large and dense networks. We are using stochastic Petri nets as modelling
framework, because of the well defined mathematical background and the nice
graphical representation. The underlying continuous-time Markov chain (CTMC)
is converted to an equivalent discrete-time Markov chain (DTMC), this itself gains
no efficiency. We improve the efficiency via discrete-time leaps. The discrete-time
leaps are done by applying the maximum firing rule, this reduces drastically the
needed number of steps. The algorithm is called discrete-time leap method for
the simulation of stochastic Petri nets.</p>
      <p>We start by giving the mandatory definitions and continue with the
presentation of the discrete-time leap method. Afterwards we demonstrate our approach
on some case-studies of different sizes and complexities.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>A Petri net is a 4-tuple PN = (P, T, f, m0) with a finite set of places P =
{ p1, p2, . . . , pm} , defining the state of the net and a finite set of transitions
T = { t1, t2, . . . , tn} , defining the state changes in the net. The sets of places
and transitions are disjoint and not empty. Places and transitions are
connected via directed arcs and defined by the arc weight (multiplicity)
function f : ((P × T ) ∪ (T × P )) → N. We define any marking m as a mapping
m : P → N0. It maps the set of places onto the set of natural numbers, where
m(p) defines the number of tokens in place p ∈ P . If appropriate and the context
precludes confusion, we treat a place like a variable and write simply p instead of
m(p). An initial marking is denoted by m0. The set of pre-places (input places)
of transition t is defined as • t = { p ∈ P | f (p, t) &gt; 0} . The set of post-places
(output places) of transition t is defined as t• = { p ∈ P | f (t, p) &gt; 0} .</p>
      <p>A transition t ∈ T is called enabled in marking m, if ∀ p ∈ • t : m(p) ≥ f (p, t).
If a transition t ∈ T is enabled in m, it may fire. The firing of a transition t
occurs in two parts. First, the transition removes the amount of tokens f (p, t)
from each of its pre-places • t. Second, it adds the amount of tokens f (t, p) to
each of its post-places t• . The change in the marking induced by firing transition
t is denoted by
Δt
= { p ∈ • t ∪ t• : Δt (p) = f (t, p) − f (p, t)} .
(1)
When t in m fires, a new marking m0 = m + Δt is reached. This is denoted by
m→− − t m0. The firing itself does not consume any time and takes place atomically.
This defines the standard firing rule .</p>
      <p>A transition t may still be enabled after firing once, i.e., it is possible to fire
transition t in a sequence like this m→− − t m→ 0− − t m→00− − t . .→ .− − t mn until it
is not enabled any more. The number of occurrences of transition t in such a
sequence starting in marking m is named enabledness (concurrency) degree and
is defined as
edt = minp∈ • t
m(p)
f (p, t)
.</p>
      <p>The standard firing rule given above can be extended by the enabledness degree
in the following way
m0 = m + Δt · edt(m).
(2)
Usually referred to as maximum (auto-concurrency) firing rule.</p>
      <p>A stochastic Petri net (SPN ) builds on PN , but transitions have an
exponentially distributed firing delay, characterised by the firing rate λ . A transition
may lose its enabledness while waiting for the delay to expire. The firing itself
does not consume time and follows the standard Petri net firing rule. The firing
rates are typically transition-specific and marking-dependent. They are defined
by stochastic firing rate functions, also known as propensity or hazard functions.
The mapping V : T → H, where H is the set of hazard functions, associates
to each transition a function ht from H. The sum of all transition rates in a
marking m is denoted by E(m) = Pt∈ T ht(m).</p>
      <p>The semantics of a SPN is a continuous time Markov chain (CTMC). It
is a stochastic process with an exponential probability distribution that has the
Markov property. That means, its future behaviour depends only on its current
state and not on former behaviour. The denfiition of a CTMC is comparable
with the reachability graph, except that the arcs are labelled with the stochastic
firing rate of the transition. A CTMC of a SPN is a tuple CTMCSPN =
(RSP N (m0), Q, m0) with RSP N (m0) denoting the state space of the underlying
net, the transition rate matrix Q = RSP N (m0) × R SP N (m0) → R0+ and m0 the
initial state. Now, the probability of a transition t enabled in state m to fire
(which results in state m0) within τ time units is
1 − e− Q(m,m0)· τ .
(4)</p>
      <p>
        When working with biological systems modelled as SPN , stochastic
simulation is a suitable analysis technique. Although in principle known a long time
before, Gillespie was the first who developed a supporting theory for stochastic
simulation of chemical kinetics [
        <xref ref-type="bibr" rid="ref7 ref8">8,7</xref>
        ]. He presented the stochastic simulation
algorithm (SSA). Basically, it performs the following steps:
      </p>
      <p>Starting from the initial marking m0, one has to repeatedly fire transitions.
In order to fire a transition, one must answer two questions:
1. When will the next transition fire?
2. Which transition will fire next?
The enabled transitions in the net compete in a race condition. The fastest one
determines the next marking and the simulation time elapses. In the new marking,
the race condition starts anew.</p>
      <p>The SSA creates a sequence of discrete random variables X(τ ). The discrete
random variable Xp(τ ) describes the number of tokens on place p ∈ P at time τ .
The system state (marking) at time τ is thus a discrete n-dimensional random
vector X(τ ) = (Xp1 (τ ), . . . , Xpn (τ )) ∈ X . The time Δτ to the next transition is
an exponentially distributed random variable with mean 1/E(m); the probability
density function (pdf) is</p>
      <p>The next transition to fire is a discrete random variable with probability mass
function (pmf):</p>
      <p>P (Δτ</p>
      <p>| m) = E(m) · e− E(m)· Δτ .</p>
      <p>P (t | m) = ht(m)/E(m).
(5)</p>
      <p>Given the system is in state X(τ ), the probability that a transition t ∈ T will
occur in the time interval [τ, τ + Δτ ) is given by:</p>
      <p>P (Δτ, t
| m) = E(m) · e− E(m)· Δτ</p>
      <p>· ht(m)/E(m)
= ht(m) · e− E(m)· Δτ .
3</p>
    </sec>
    <sec id="sec-3">
      <title>Discrete-time Leap Method</title>
      <p>The discrete-time leap method (δ -leaping for short) aims at the simulation of
stochastic Petri nets used for modelling biochemical reaction networks. In an
attempt to decrease the time complexity of the simulation algorithm, we exploit
the uniformization of the underlying CTMC in combination with the maximum
firing rule.</p>
      <p>
        The idea of converting a CTMC into a DTMC goes back to [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Similar
methods are known as uniformization or randomization, see [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. The DTMC
is defined stochastically identical to the CTMC, i.e., the original CTMC is
represented by a DTMC where the times are implicitly driven by a Poisson
process. It can be shown that this DTMC behaves equivalently to the CTMC [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
      </p>
      <p>Generating paths through the DTMC is as expensive as for the CTMC and
we would not gain any efficiency by doing it in an exact way. That’s why, we
are leaping over several states. That means, all enabled transitions that are not
mutually exclusive, are forced to fire within one leap. When the net is filled up
with tokens, every transition will fire within every leap. Furthermore, we embody
the maximum firing rule and let each transition fire concurrently to itself.
(7)
(8)
(9)
3.1</p>
      <sec id="sec-3-1">
        <title>Transition firing</title>
        <p>How often a transition is allowed to fire concurrently depends on its enabledness
degree and is determined randomly at each step.</p>
        <p>firing rate u random[0, enablness degree]</p>
        <p>The construction of the DTMC induces that the times between transitions
are all exponentially distributed. Hence, these times are randomized by a Poisson
process. Since for the uniformized DTMC the number of transitions in any
time interval of length δ has a Poisson distribution with rate λ . The Poisson
distribution with rate λ is an approximation of the bounded discrete binomial
distribution with two parameters k and pr according to the Poisson limit theorem:
λ = k · pr.</p>
        <p>The binomial distribution is used to model the number of successes in a
sequence of k independent yes/no experiments with a probability pr to succeed. In
our case, the enabledness degree corresponds to the sequence’s length k = edt. The
success probability pr is deduced from equation (4), because of the exponentially
distributed times between transitions. Given out of edt maximum firings and a
firing rate ht, we compute the probability pr for transition t in marking m for δ
units of time as follows
pr =
(1 − e− ehdtt((mm)) · δ
0
edt(m) &gt; 0
otherwise.</p>
        <p>(10)</p>
        <p>
          This leads us to a good approximation of the stochastic simulation results.
We compare the simulation results of δ -leaping, with δ = 0.1, against the direct
method [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] on the most common reaction types in biochemical reaction networks,
i.e., first and second order reactions. The first order reaction P 1 → P 2 is shown in
Fig. 1. It uses mass-action kinetics with rate constant 1. The results of δ -leaping
match the results of the direct method.
        </p>
        <p>P1
P2</p>
        <p>P1</p>
        <p>P2
P1
P3
P2</p>
        <p>P1
P3
P2
2</p>
        <p>The second order reaction P 1 + P 2 → P 3 uses mass-action kinetics with rate
constant 0.1. The results shown in Fig. 2 are quite as good as in Fig. 1.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Dependent Subnets</title>
        <p>We discussed the firing of single and independent transitions, but a typical model
consists of much more than that. There are two types of subnets that need some
attention: conflicts and sequences.</p>
        <p>A conflict exists inside a Petri net, if two or more transitions share a pre-place,
see Fig. 3. If the amount of tokens on this place is just as much as the arc
weights, one has to determine, which transition will fire. This is not an issue
in the stochastic simulation algorithm. In an exact stochastic simulation only
one transition is selected at a time and there is no need for further conflict
resolution. As in the standard coniflct resolution for Petri nets, we have to choose
a transition non-deterministically. The standard conflict resolution proposes a
non-deterministic selection according to a uniform distribution on the number of
affected transitions. But this is not the best solution for us, because this does not
pay attention to the firing rates of the transitions. We are aiming at a weighted
non-deterministic selection, which accounts for the firing rates of transitions as
well.</p>
        <p>P1
P2
P3</p>
        <p>P1
P2</p>
        <p>P3
100
80
60</p>
        <p>The handling of transition sequences, see Fig. 4, is closely related to the conflict
resolution. We embody the maximum firing rule and force every transition to
fire (if enabled) in one time step. We shuffle the transitions and let them fire (if
enabled) sequentially to approximate the stochastic behaviour.</p>
        <p>
          Luckily, we can treat both issues, transitions in conflict or in sequence, in
one solution. We generate a weighted random sequence of all transitions t ∈ T in
each step and let them fire (if enabled) sequentially. The serial firing precludes
additional attempts to solve conflicts. Our algorithm is based on the modern
version of the Fisher–Yates shuffle [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] introduced in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. Algorithm 1 incorporates
Bernoulli sampling to realize a shuffling in accordance to transition weights. The
weight computation in equation (11) is inspired by the mass-action kinetics and
approximates the expected firing rate, if the transition would be enabled. It is a
P1
T1
        </p>
        <p>P2
heuristic method, but it provided the best results in our experiments.
wt =</p>
        <p>X f (p, t)f(p,t)
p∈ • t</p>
        <p>We get quite meaningful results using our weighted random shuffle algorithm
for the simulation of conflicts (Fig. 3) and sequences (Fig. 4). The results are
very close to stochastic simulation. The heuristic method, used to compute the
transition weights, needs further attention in future work for non mass-action
kinetics.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Algorithm</title>
        <p>So far, we discussed the essential steps of the discrete-time leap method. Here, we
integrate the various steps in one algorithm, which is given in detail in Algorithm 2.
Each simulation run starts with the initialization phase (Algorithm 2, line 2–4),
where the simulation time, the marking, and the transition sequence are set. The</p>
        <sec id="sec-3-3-1">
          <title>Algorithm 1 Weighted random shuffle</title>
          <p>Require: transition sequence T , transition weights W , | T | = | W | = n
Ensure: shuffled transition sequence
1: procedure weightedRandomShuffle(transitions T , weights W )
2: for i = n; i &gt; 1; i ← i − 1 do
3: r ← uniformRandomInteger([1, i − 1])
4: t1 ← Tn− i, t2 ← Tn− i+r
5: w ← Wt2 /(Wt1 + Wt2 )
6: if bernoulliSampling(w) = 1 then
7: swap(Tn− i, Tn− i+r)
8: end if
9: end for
10: return T
11: end procedure</p>
        </sec>
        <sec id="sec-3-3-2">
          <title>Algorithm 2 δ -leaping algorithm</title>
          <p>next step is the generation of the weighted random sequence of transitions using
the weightedRandomShuffle algorithm (Algorithm 2, line 6). After that for each
transition the following steps are done (Algorithm 2, line 7–14), compute the
enabledness degree k, the firing rate h, and pick a random number f according
to the binomial distribution defined by k and equation (10), finally the transition
fires f -times. The simulation time is elapsed by δ time unit. All these steps are
performed until the end of the simulation time interval τ max is reached. Just like
for stochastic simulation, one has to do several simulation runs, in order to get
reasonable results. The overall result is the mean of all runs.
The presented results of the discrete-time leap method approximate the stochastic
simulation algorithm quite well. This might not be true for all kinds of biological
mechanisms in a stochastic Petri net model, as it is the case for, e.g., a simplified
birth-death process, shown in Fig. 5. The result of the stochastic simulation
using mass-action kinetics with a rate constant of 1 shows a steady state of P1
at the initial marking. Transitions T1 and T2 are both likely to fire and thus,
fire alternately in average. The token consumed by T1 is produced by T2 and
vice versa.</p>
          <p>Due to the maximum rfiing rule, the result of the discrete-time leap method
differs. Let us assume an initial marking of 100 tokens in P1 and each transition
consumes 50% of the tokens in each firing for the purpose of demonstration.
There exist two possible firing sequences S1 = [T1 , T2 ] and S2 = [T2 , T1 ]. The
T1
P1</p>
          <p>T2
2
(a) PN
100
80
60
execution of S1 results in the following path m0(10 0→)−− − T1 m1(5 0→)−− − T2 m2(75)
and S2 generates m0(10 0→)−− − T2 m1(15 0→)−− − T1 m2(75). Both sequences decrease
the amount of tokens on P1. So P1 approaches zero tokens in the long term in
any case. This contradicts the exact stochastic simulation results. Equal results
can be obtained by adapting the rate constant of the stochastic transition, i.e.,
setting the rate constant of T2 to 0.5.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Case Studies</title>
      <p>
        In this section, we demonstrate our approach on models of the RKIP inhibited
ERK pathway and the mitogen-activated protein kinase, and on two genome scale
metabolic models of E.coli K-12. All Petri nets were modelled with Snoopy [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
and analysed with MARCIE [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. The experiments were carried out on a MacPro
with 2× Intelr Xeonr @ 2.26GHz and 32GB RAM running Mac OSX 10.11.
      </p>
      <p>
        We compared the discrete-time leap method using δ = 1 with stochastic
simulation using Gillespie’s direct method [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
4.1
      </p>
      <sec id="sec-4-1">
        <title>RKIP inhibited ERK pathway</title>
        <p>
          This model shows the influence of the raf kinase inhibitor protein (RKIP) on
the extracellular signal regulated kinase (ERK) signalling pathway. A model of
non-linear ordinary differential equations was originally published in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Later on,
it was discussed as qualitative and continuous Petri nets in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], and as stochastic
Petri net in [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. The Petri net PN ERK comprises 11 places and 11 transitions
connected by 34 arcs.
        </p>
        <p>
          The model is scalable by the initial amount of tokens N in the places RKIP,
MEKpp, ERK and RP. All transition rate functions of SPN ERK use mass action
kinetics with rate constants taken from [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
        </p>
        <p>We performed experiments with different values of N = { 10, 100, 1000} . The
simulation results are given in Fig. 6 and the run-times are provided in Table 1.</p>
        <p>
          Raf1Star
RKIP
Raf1Star_RKIP
ERKPP
MEKPP_ERK
Raf1Star_RKIP_ERKPP
RKIPP_RP
MEKPP
ERK
RKIPP
RP
Raf1Star
RKIP
Raf1Star_RKIP
ERKPP
MEKPP_ERK
Raf1Star_RKIP_ERKPP
RKIPP_RP
MEKPP
ERK
RKIPP
RP
20 40 Time 60 80 100
For all instances of N the results of direct method and δ -leaping match quite
well. For N = 10 the simulation run-time for 100 000 simulation runs for direct
method is lower than for δ -leaping. The simulation run-time increases for both
algorithms with N = 100, but the discrete-time leap method is a little faster now.
For N = 1000 the results follow the ones before, the run-time for direct method
increases by a factor of 10, whereas the run-time for δ -leaping increases by only
30%.
The mitogen-activated protein kinase (MAPK) is the core of the ERK/MAPK
pathway that can, for example, carry cell division and differentiation signals from
the cell membrane to the nucleus. The model was published in [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] and later on,
discussed as stochastic Petri net in [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
        </p>
        <p>
          The Petri net SPN MAP K comprises 22 places and 30 transitions connected
by 90 arcs. The model is scalable by the initial amount of tokens in six places.
All transition rate functions of SPN MAP K use mass action kinetics with rate
constants taken from [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
        </p>
        <p>
          We performed experiments with the following 3 different values of N =
{ 1, 10, 100} . The simulation results for all three instances of N are given in Fig. 7.
They match quite well for the given places, as well as for the others. The run-time
behaviour for this model develops in a comparable way to SP NERK , see Table 1.
The run-time of the direct method in the rfist instance N = 1 is lower than for
δ -leaping, but it increases much faster in the other instances of N .
20 40 Time 60 80 100
This reduced model has been developed to illustrate the basic structure of the
whole genome metabolism of E.coli K-12. The reduction was originally done by
hand [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] and subsequently used for comparison with the results of an automated
procedure [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. The used version of the model is currently part of investigations
concerning structural issues and was provided by [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <p>The Petri net comprises 93 places and 172 transitions connected by 589 arcs.
The model is scalable by the initial amount of tokens in 12 places belonging to
a place invariant. It has some places with a high connectivity (Fig. 9(a)), e.g.,
M_h_c(52), M_h2o_c(27) and M_h_e(26). These places are involved in many
reactions and changing their values leads to many updates of transition rates.
This has a strong influence on the overall speed of the stochastic simulation.</p>
        <p>We performed experiments with the following 3 different values of N =
{ 50, 100, 500} . The simulation results in Fig. 8 and the run-times in Table 1
are quite interesting. The trajectories of M_adp_c, M_amp_c and M_atp_c
correlate quite well in the direct method and δ -leaping. The traces of M_accoa_c,
M_coa_c and M_succoa_c show some similarities, but M_accoa_c reaches a
non zero steady state for N = 500 in direct method, whereas it goes to zero in
δ -leaping. The reason for this, might be the different firing rules. The plots of
M_q8_c and M_q8h2_c differ the most.</p>
        <p>
          The model is still under investigation for its structural correctness and there
are no kinetic rate constants available; so divergent simulation results have
been expected, as well as the run-time variations differing in several orders of
magnitude, which speak for themselves. Here, the direct method is clearly out of
race.
2000
4000
6000
substrain MG1655, and is one of the 55 GEM models published by Monk et al. [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
We have chosen this strain as an example, because it was the first strain of
E.coli
to be sequenced; it is considered to be the best curated model and thus it has
been used as the basis for reconstructing the models of the other strains of E.coli .
The used version of the model is currently part of investigations concerning
structural issues and was provided by [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <p>160
140
120
100
eokn 80
T
60
40
20
00
160
140
120
100
eokn 80
T
60
40
20
00
102
ity
v
itc
e
n
n
co
eam101
s
h
it
w
s
ce
a
l
p
f
o
#
100
genome scale metabolic model (b).</p>
        <p>The Petri net comprises 2046 places and 3703 transitions connected by 13001
arcs. The model is scalable by the initial amount of tokens in 101 of 2046 places.
The model is supposed to be rather dense. This is confirmed by looking at the
place connectivity in Fig. 9(b). The top six places at the connectivity ranking
are M_h_c with 1198 arcs, M_h2o_c with 617 arcs, M_atp_c with 402 arcs,
M_h_p with 369 arcs, M_pi_c with 339 arcs and M_adp_c with 314 arcs. Places
with such high connectivity have a large impact on the performance of stochastic
simulation, because the greater connectivity of a place, the more transitions
change the number of tokens on this place and the more transition rates have to
be evaluated each time this happens.</p>
        <p>We performed experiments with the following 3 different values of N =
{ 50, 100, 500} . The simulation results given in Fig. 10, as well as the run-times
nT11116024600000 MMMMM_____ttttsttdhuddemfccbAmeacCapdpPp___c__cccc
eok80
40
20
00 2000 4000 Time 6000 8000 10000
in Table 1 are quite interesting. The plots of the randomly chosen places are
comparable to some extent, but others differ a lot. This is not surprising, because
the model is under investigation and there are no kinetic parameters available.
We were not able to finish one stochastic simulation run within 40 days for
N = 500. The simulation run-times for δ -leaping are moderate for such a big
and dense model. The scaling parameter N has little influence on the simulation
run-time of δ -leaping.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>We presented the discrete-time leap method for the simulation of stochastic Petri
nets. It converts the underlying CTMC into a stochastically equivalent DTMC.
Generating paths through the DTMC is as expensive as for the CTMC and we
would not gain any efficiency by doing it in an exact way. That’s why, we are
leaping over several states. The discrete time model and the maximum firing
rule in combination with binomial sampling and weighted random shuffling of
the transitions make an efficient simulation algorithm, that leads to comparable
results. The weighted random shuffle is in need for further improvements to
obtain even better approximations of the stochastic simulation.</p>
      <p>We can conclude that the discrete-time leap method computes reasonable
results and it has a very good run-time performance especially for larger and
dense networks. It is less sensitive to higher number of tokens and thus higher
transition rates than stochastic simulation algorithms in terms of run-time. This
recommends δ -leaping for models, which stochastic simulation is not capable of
simulating in reasonable time, e.g., genome scale metabolic models. Furthermore,
it is suitable for in silico experiments, where the differences between modified
models are of interest, such as knock-out scenarios of certain species or reactions.
For particular models it might be necessary to adapt the kinetic rate constants
in order to obtain similar results, see Section 3.4. Here, further investigations are
needed if we can compute the required adaptations from the net structure.</p>
      <p>
        The discrete-time leap method is implemented in our tools Snoopy [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and
MARCIE [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Both are free available for non-commercial use on our web page.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Cho</surname>
            ,
            <given-names>K.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shin</surname>
            ,
            <given-names>S.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>H.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolkenhauer</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McFerran</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolch</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Mathematical modeling of the influence of RKIP on the ERK signaling pathway</article-title>
          .
          <source>In: Proc. CMSB</source>
          <year>2003</year>
          . pp.
          <fpage>127</fpage>
          -
          <lpage>141</lpage>
          . LNCS 2602, Springer (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Durstenfeld</surname>
          </string-name>
          , R.:
          <source>Algorithm</source>
          <volume>235</volume>
          :
          <article-title>Random permutation</article-title>
          .
          <source>Commun. ACM</source>
          <volume>7</volume>
          (
          <issue>7</issue>
          ),
          <fpage>420</fpage>
          -
          <lpage>(</lpage>
          Jul
          <year>1964</year>
          ), http://doi.acm.
          <source>org/10</source>
          .1145/364520.364540
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Erdrich</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Steuer</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klamt</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>An algorithm for the reduction of genome-scale metabolic network models to meaningful core models</article-title>
          .
          <source>BMC systems biology 9(1)</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Fisher,
          <string-name>
            <given-names>R.A.</given-names>
            ,
            <surname>Yates</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          , et al.:
          <article-title>Statistical tables for biological, agricultural and medical research</article-title>
          .
          <source>Oliver and Boyd</source>
          , Edinburgh, 6th edn. (
          <year>1963</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Gilbert</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>From Petri nets to differential equations - an integrative approach for biochemical network analysis</article-title>
          .
          <source>In: Proc. ICATPN</source>
          <year>2006</year>
          . pp.
          <fpage>181</fpage>
          -
          <lpage>200</lpage>
          . LNCS 4024, Springer (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Gilbert</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>: personal communication (</article-title>
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Gillespie</surname>
          </string-name>
          , D.T.:
          <article-title>Exact stochastic simulation of coupled chemical reactions</article-title>
          .
          <source>J Phys Chem</source>
          <volume>81</volume>
          (
          <issue>25</issue>
          ),
          <fpage>2340</fpage>
          -
          <lpage>2361</lpage>
          (
          <year>December 1977</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Gillespie</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>A General Method for Numerically Simulating the Stochastic Time Evolution of Coupled Chemical Species</article-title>
          .
          <source>J Comput Phys</source>
          <volume>22</volume>
          ,
          <fpage>403</fpage>
          -
          <lpage>434</lpage>
          (
          <year>1976</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Donaldson</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gilbert</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Petri Nets for Systems Biology</article-title>
          , in Iyengar, M.S. (ed.),
          <source>Symbolic Systems Biology: Theory and Methods</source>
          . Jones and Bartlett Publishers, Inc. (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gilbert</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Biomodel engineering for multiscale systems biology</article-title>
          .
          <source>Progress in Biophysics and Molecular Biology</source>
          <volume>111</volume>
          (
          <issue>2-3</issue>
          ),
          <fpage>119</fpage>
          -
          <lpage>128</lpage>
          (
          <year>April 2013</year>
          ), http://www.sciencedirect.com/science/article/pii/ S0079610712001071?v=s5
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gilbert</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Donaldson</surname>
          </string-name>
          , R.:
          <article-title>Petri nets in systems and synthetic biology</article-title>
          .
          <source>In: SFM</source>
          . pp.
          <fpage>215</fpage>
          -
          <lpage>264</lpage>
          . LNCS 5016, Springer (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Herajy</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rohr</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schwarick</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Snoopy - a unifying Petri net tool</article-title>
          .
          <source>In: Proc. PETRI NETS 2012. LNCS</source>
          , vol.
          <volume>7347</volume>
          , pp.
          <fpage>398</fpage>
          -
          <lpage>407</lpage>
          . Springer (
          <year>June 2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Heiner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rohr</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schwarick</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>MARCIE - Model checking And Reachability analysis done effiCIEntly</article-title>
          . In: Colom,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Desel</surname>
          </string-name>
          ,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (eds.)
          <source>Proc. PETRI NETS 2013. LNCS</source>
          , vol.
          <volume>7927</volume>
          , pp.
          <fpage>389</fpage>
          -
          <lpage>399</lpage>
          . Springer (
          <year>June 2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Markoff chains as an aid in the study of markoff processes</article-title>
          .
          <source>Scandinavian Actuarial Journal 1953(sup1)</source>
          ,
          <fpage>87</fpage>
          -
          <lpage>91</lpage>
          (
          <year>1953</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Levchenko</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bruck</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sternberg</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Scaffold proteins may biphasically affect the levels of mitogen-activated protein kinase signaling and reduce its threshold properties</article-title>
          .
          <source>Proc Natl Acad Sci USA</source>
          <volume>97</volume>
          (
          <issue>11</issue>
          ),
          <fpage>5818</fpage>
          -
          <lpage>5823</lpage>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Monk</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Charusanti</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Azizb</surname>
            ,
            <given-names>R.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lermand</surname>
            ,
            <given-names>J.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Premyodhinb</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orth</surname>
            ,
            <given-names>J.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Feist</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palsson</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Ø</surname>
          </string-name>
          .:
          <article-title>Genome-scale metabolic reconstructions of multiple Escherichia coli strains highlight strain-specific adaptations to nutritional environments</article-title>
          .
          <source>PNAS</source>
          <volume>110</volume>
          (
          <issue>50</issue>
          ),
          <fpage>20338</fpage>
          -
          <lpage>20343</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Orth</surname>
            ,
            <given-names>J.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fleming</surname>
            ,
            <given-names>R.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palsson</surname>
            ,
            <given-names>B.Ø.</given-names>
          </string-name>
          :
          <article-title>Reconstruction and use of microbial metabolic networks: the core Escherichia coli metabolic model as an educational guide</article-title>
          .
          <source>EcoSal Plus</source>
          <volume>4</volume>
          (
          <issue>1</issue>
          ) (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Sandmann</surname>
          </string-name>
          , W.: Brief Communication:
          <article-title>Discrete-time stochastic modeling and simulation of biochemical networks</article-title>
          .
          <source>Comput. Biol. Chem</source>
          .
          <volume>32</volume>
          ,
          <fpage>292</fpage>
          -
          <lpage>297</lpage>
          (
          <year>August 2008</year>
          ), http://dl.acm.org/citation.cfm?id=
          <volume>1385698</volume>
          .
          <fpage>1385866</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Smallbone</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mendes</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Large-scale metabolic models: From reconstruction to differential equations</article-title>
          .
          <source>Industrial Biotechnology</source>
          <volume>9</volume>
          (
          <issue>4</issue>
          ),
          <fpage>179</fpage>
          -
          <lpage>184</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Stewart</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Introduction to the Numerical Solution of Markov Chains</article-title>
          . Princeton Univ. Press (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>